Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains basic user-interface restrictions for a job object.
typedef struct _JOBOBJECT_BASIC_UI_RESTRICTIONS {
DWORD UIRestrictionsClass;
} JOBOBJECT_BASIC_UI_RESTRICTIONS, *PJOBOBJECT_BASIC_UI_RESTRICTIONS;
UIRestrictionsClass
The restriction class for the user interface. This member can be one or more of the following values.
Value | Meaning |
---|---|
|
Prevents processes associated with the job from creating desktops and switching desktops using the CreateDesktop and SwitchDesktop functions. |
|
Prevents processes associated with the job from calling the ChangeDisplaySettings function. |
|
Prevents processes associated with the job from calling the ExitWindows or ExitWindowsEx function. |
|
Prevents processes associated with the job from accessing global atoms. When this flag is used, each job has its own atom table. |
|
Prevents processes associated with the job from using USER handles owned by processes not associated with the same job. |
|
Prevents processes associated with the job from reading data from the clipboard. |
|
Prevents processes associated with the job from changing system parameters by using the SystemParametersInfo function. |
|
Prevents processes associated with the job from writing data to the clipboard. |
If you specify the JOB_OBJECT_UILIMIT_HANDLES flag, when a process associated with the job broadcasts messages, they are only sent to top-level windows owned by processes associated with the same job. In addition, hooks can be installed only on threads belonging to processes associated with the job.
To grant access to a User handle to a job that has a user-interface restriction, use the UserHandleGrantAccess function.
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | winnt.h (include Windows.h) |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!