diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-08-26 08:58:03 -0700 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-08-26 12:56:33 -0700 |
commit | 85311d5df03e104dc9118956b0833da89530c652 (patch) | |
tree | 80edfc1f56f356f694555c691a81cedbf63827ca /lib/mixlib/shellout/windows/core_ext.rb | |
parent | ef897f804c57ffde6206daa0625f3d10fa9fbfed (diff) | |
download | mixlib-shellout-85311d5df03e104dc9118956b0833da89530c652.tar.gz |
Remove dependency on windows-prjdm/no-windows-pr
windows-pr includes everything under the sun.
This is means it does not work no nanoserver
Diffstat (limited to 'lib/mixlib/shellout/windows/core_ext.rb')
-rw-r--r-- | lib/mixlib/shellout/windows/core_ext.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/mixlib/shellout/windows/core_ext.rb b/lib/mixlib/shellout/windows/core_ext.rb index 73b848f..6dfed2f 100644 --- a/lib/mixlib/shellout/windows/core_ext.rb +++ b/lib/mixlib/shellout/windows/core_ext.rb @@ -24,7 +24,13 @@ module Process::Constants LOGON32_LOGON_INTERACTIVE = 0x00000002 LOGON32_PROVIDER_DEFAULT = 0x00000000 UOI_NAME = 0x00000002 -end + + WAIT_OBJECT_0 = 0 + WAIT_TIMEOUT = 0x102 + WAIT_ABANDONED = 128 + WAIT_ABANDONED_0 = WAIT_ABANDONED + WAIT_FAILED = 0xFFFFFFFF +end # Define the functions needed to check with Service windows station module Process::Functions |