Skip to main content

windows_flags

Function windows_flags 

Source
fn windows_flags(answer: &[u8]) -> Option<i32>
Expand description

The flags of WTSSessionInfoEx’s answer, as Windows lays it out (WTSINFOEXW): its level (a DWORD, 1), then, 8-aligned for the times that follow, its session’s id, state and flags (each 4 bytes): the flags at byte 16. None for another level, or an answer too short to hold them.