Module: Process::Constants

Included in:
Mixlib::ShellOut::Windows
Defined in:
lib/mixlib/shellout/windows/core_ext.rb

Overview

Add new constants for Logon

Constant Summary collapse

LOGON32_LOGON_INTERACTIVE =
0x00000002
LOGON32_LOGON_BATCH =
0x00000004
LOGON32_PROVIDER_DEFAULT =
0x00000000
UOI_NAME =
0x00000002
WAIT_OBJECT_0 =
0
WAIT_TIMEOUT =
0x102
WAIT_ABANDONED =
128
WAIT_ABANDONED_0 =
WAIT_ABANDONED
WAIT_FAILED =
0xFFFFFFFF
ERROR_PRIVILEGE_NOT_HELD =
1314
ERROR_LOGON_TYPE_NOT_GRANTED =
0x569
WIN32_PROFILETYPE_LOCAL =

Only documented in Userenv.h ???

  • ZERO (type Local) is assumed, no docs found

0x00
WIN32_PROFILETYPE_PT_TEMPORARY =
0x01
WIN32_PROFILETYPE_PT_ROAMING =
0x02
WIN32_PROFILETYPE_PT_MANDATORY =
0x04
WIN32_PROFILETYPE_PT_ROAMING_PREEXISTING =
0x08
ENVIRONMENT_BLOCK_ENDS =

The environment block list ends with two nulls (00).

"\0\0".freeze