Skip to content

Latest commit

 

History

History
195 lines (159 loc) · 6.95 KB

ns-winnt-jobobject_basic_ui_restrictions.md

File metadata and controls

195 lines (159 loc) · 6.95 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:winnt._JOBOBJECT_BASIC_UI_RESTRICTIONS
JOBOBJECT_BASIC_UI_RESTRICTIONS (winnt.h)
Contains basic user-interface restrictions for a job object.
*PJOBOBJECT_BASIC_UI_RESTRICTIONS
JOBOBJECT_BASIC_UI_RESTRICTIONS
JOBOBJECT_BASIC_UI_RESTRICTIONS structure
JOB_OBJECT_UILIMIT_DESKTOP
JOB_OBJECT_UILIMIT_DISPLAYSETTINGS
JOB_OBJECT_UILIMIT_EXITWINDOWS
JOB_OBJECT_UILIMIT_GLOBALATOMS
JOB_OBJECT_UILIMIT_HANDLES
JOB_OBJECT_UILIMIT_READCLIPBOARD
JOB_OBJECT_UILIMIT_SYSTEMPARAMETERS
JOB_OBJECT_UILIMIT_WRITECLIPBOARD
PJOBOBJECT_BASIC_UI_RESTRICTIONS
PJOBOBJECT_BASIC_UI_RESTRICTIONS structure pointer
_JOBOBJECT_BASIC_UI_RESTRICTIONS
_win32_jobobject_basic_ui_restrictions_str
base.jobobject_basic_ui_restrictions_str
winnt/JOBOBJECT_BASIC_UI_RESTRICTIONS
winnt/PJOBOBJECT_BASIC_UI_RESTRICTIONS
base\jobobject_basic_ui_restrictions_str.htm
backup
69ce908c-fb15-40ba-8bd3-3dae3ee1539a
12/05/2018
*PJOBOBJECT_BASIC_UI_RESTRICTIONS, JOBOBJECT_BASIC_UI_RESTRICTIONS, JOBOBJECT_BASIC_UI_RESTRICTIONS structure, JOB_OBJECT_UILIMIT_DESKTOP, JOB_OBJECT_UILIMIT_DISPLAYSETTINGS, JOB_OBJECT_UILIMIT_EXITWINDOWS, JOB_OBJECT_UILIMIT_GLOBALATOMS, JOB_OBJECT_UILIMIT_HANDLES, JOB_OBJECT_UILIMIT_READCLIPBOARD, JOB_OBJECT_UILIMIT_SYSTEMPARAMETERS, JOB_OBJECT_UILIMIT_WRITECLIPBOARD, PJOBOBJECT_BASIC_UI_RESTRICTIONS, PJOBOBJECT_BASIC_UI_RESTRICTIONS structure pointer, _JOBOBJECT_BASIC_UI_RESTRICTIONS, _win32_jobobject_basic_ui_restrictions_str, base.jobobject_basic_ui_restrictions_str, winnt/JOBOBJECT_BASIC_UI_RESTRICTIONS, winnt/PJOBOBJECT_BASIC_UI_RESTRICTIONS
winnt.h
Windows.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
JOBOBJECT_BASIC_UI_RESTRICTIONS, *PJOBOBJECT_BASIC_UI_RESTRICTIONS
19H1
_JOBOBJECT_BASIC_UI_RESTRICTIONS
winnt/_JOBOBJECT_BASIC_UI_RESTRICTIONS
PJOBOBJECT_BASIC_UI_RESTRICTIONS
winnt/PJOBOBJECT_BASIC_UI_RESTRICTIONS
JOBOBJECT_BASIC_UI_RESTRICTIONS
winnt/JOBOBJECT_BASIC_UI_RESTRICTIONS
c++
APIRef
kbSyntax
HeaderDef
WinNT.h
JOBOBJECT_BASIC_UI_RESTRICTIONS

JOBOBJECT_BASIC_UI_RESTRICTIONS structure

-description

Contains basic user-interface restrictions for a job object.

-struct-fields

-field UIRestrictionsClass

The restriction class for the user interface. This member can be one or more of the following values.

Value Meaning
JOB_OBJECT_UILIMIT_DESKTOP
0x00000040
Prevents processes associated with the job from creating desktops and switching desktops using the CreateDesktop and SwitchDesktop functions.
JOB_OBJECT_UILIMIT_DISPLAYSETTINGS
0x00000010
Prevents processes associated with the job from calling the ChangeDisplaySettings function.
JOB_OBJECT_UILIMIT_EXITWINDOWS
0x00000080
Prevents processes associated with the job from calling the ExitWindows or ExitWindowsEx function.
JOB_OBJECT_UILIMIT_GLOBALATOMS
0x00000020
Prevents processes associated with the job from accessing global atoms. When this flag is used, each job has its own atom table.
JOB_OBJECT_UILIMIT_HANDLES
0x00000001
Prevents processes associated with the job from using USER handles owned by processes not associated with the same job.
JOB_OBJECT_UILIMIT_READCLIPBOARD
0x00000002
Prevents processes associated with the job from reading data from the clipboard.
JOB_OBJECT_UILIMIT_SYSTEMPARAMETERS
0x00000008
Prevents processes associated with the job from changing system parameters by using the SystemParametersInfo function.
JOB_OBJECT_UILIMIT_WRITECLIPBOARD
0x00000004
Prevents processes associated with the job from writing data to the clipboard.

-remarks

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.

-see-also

ExitWindows

ExitWindowsEx

QueryInformationJobObject

SetInformationJobObject

SystemParametersInfo

UserHandleGrantAccess