RDPSRAPI_WND_FLAGS enumeration (rdpencomapi.h)

Defines values for the type of window. These flags can be retrieved from the IRDPSRAPIWindow interface that represents each Win32 window.

The list of windows on the sharing user session can be retrieved on both the sharer and the viewer through the IRDPSRAPIApplicationFilter interface by calling the get_Windows method.

Syntax

typedef enum __MIDL___MIDL_itf_rdpencomapi_0000_0000_0007 {
  WND_FLAG_PRIVILEGED = 1
} RDPSRAPI_WND_FLAGS;

Constants

 
WND_FLAG_PRIVILEGED
Value: 1
The window is part of an application that runs at a higher level than the current process. This flag indicates that the window cannot be shared. Applications can use this flag to prevent the user from sharing it either by disabling the entry for the window in the user interface or by not showing the entry.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Header rdpencomapi.h

See also

Windows Desktop Sharing Enumerations