Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

USEROBJECTFLAGS structure

Contains information about a window station or desktop handle.

Syntax


typedef struct tagUSEROBJECTFLAGS {
  BOOL  fInherit;
  BOOL  fReserved;
  DWORD dwFlags;
} USEROBJECTFLAGS, *PUSEROBJECTFLAGS;

Members

fInherit

If this member is TRUE, new processes inherit the handle. Otherwise, the handle is not inherited.

fReserved

Reserved for future use. This member must be FALSE.

dwFlags

For window stations, this member can contain the following window station attribute.

ValueMeaning
WSF_VISIBLE
0x0001L

Window station has visible display surfaces.

 

For desktops, the dwFlags member can contain the following value.

ValueMeaning
DF_ALLOWOTHERACCOUNTHOOK
0x0001L

Allows processes running in other accounts on the desktop to set hooks in this process.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

CreateDesktop
GetUserObjectInformation
OpenDesktop
OpenInputDesktop
SetUserObjectInformation

 

 

Community Additions

ADD
Show:
© 2015 Microsoft