diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-02-11 15:15:20 -0800 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2015-02-17 09:24:45 -0500 |
commit | e1457ff7b4aa01ac44615718583875a33e51bcb0 (patch) | |
tree | bc7e364f729013cd0a7ea92baa4312600199b0f5 | |
parent | 20f7ff64a3feed20c47797d769e905a0f2a44cdb (diff) | |
download | chef-e1457ff7b4aa01ac44615718583875a33e51bcb0.tar.gz |
Added MapGenericMask
-rw-r--r-- | lib/chef/win32/api.rb | 1 | ||||
-rw-r--r-- | lib/chef/win32/api/security.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/win32/api.rb b/lib/chef/win32/api.rb index 0330810b3b..8b81947c9b 100644 --- a/lib/chef/win32/api.rb +++ b/lib/chef/win32/api.rb @@ -159,6 +159,7 @@ class Chef host.typedef :pointer, :PDWORD32 # Pointer to a DWORD32. host.typedef :pointer, :PDWORD64 # Pointer to a DWORD64. host.typedef :pointer, :PFLOAT # Pointer to a FLOAT. + host.typedef :pointer, :PGENERICMAPPING #Pointer to GENERIC_MAPPING host.typedef :pointer, :PHALF_PTR # Pointer to a HALF_PTR. host.typedef :pointer, :PHANDLE # Pointer to a HANDLE. host.typedef :pointer, :PHKEY # Pointer to an HKEY. diff --git a/lib/chef/win32/api/security.rb b/lib/chef/win32/api/security.rb index 162ee2c2b6..a632f74b09 100644 --- a/lib/chef/win32/api/security.rb +++ b/lib/chef/win32/api/security.rb @@ -386,6 +386,7 @@ class Chef safe_attach_function :LookupPrivilegeDisplayNameW, [ :LPCWSTR, :LPCWSTR, :LPWSTR, :LPDWORD, :LPDWORD ], :BOOL safe_attach_function :LookupPrivilegeValueW, [ :LPCWSTR, :LPCWSTR, :PLUID ], :BOOL safe_attach_function :MakeAbsoluteSD, [ :pointer, :pointer, :LPDWORD, :pointer, :LPDWORD, :pointer, :LPDWORD, :pointer, :LPDWORD, :pointer, :LPDWORD], :BOOL + safe_attach_function :MapGenericMask, [ :PDWORD, :PGENERICMAPPING ], :void safe_attach_function :OpenProcessToken, [ :HANDLE, :DWORD, :PHANDLE ], :BOOL safe_attach_function :QuerySecurityAccessMask, [ :DWORD, :LPDWORD ], :void safe_attach_function :SetFileSecurityW, [ :LPWSTR, :DWORD, :pointer ], :BOOL |