USEROBJECTFLAGS structure (winuser.h)

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.

Value Meaning
WSF_VISIBLE
0x0001L
Window station has visible display surfaces.
 

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

Value Meaning
DF_ALLOWOTHERACCOUNTHOOK
0x0001L
Allows processes running in other accounts on the desktop to set hooks in this process.

Requirements

Requirement Value
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