FILE_FLAG_SESSION_AWARE top-level constant

int const FILE_FLAG_SESSION_AWARE

The file or device is being opened with session awareness. If this flag is not specified, then per-session devices (such as a device using RemoteFX USB Redirection) cannot be opened by processes running in session 0. This flag has no effect for callers not in session 0. This flag is supported only on server editions of Windows.

Implementation

const FILE_FLAG_SESSION_AWARE = 0x00800000;