summaryrefslogtreecommitdiff
path: root/lib/chef/win32/api
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-02-11 15:15:20 -0800
committerBryan McLellan <btm@opscode.com>2015-02-17 09:24:45 -0500
commite1457ff7b4aa01ac44615718583875a33e51bcb0 (patch)
treebc7e364f729013cd0a7ea92baa4312600199b0f5 /lib/chef/win32/api
parent20f7ff64a3feed20c47797d769e905a0f2a44cdb (diff)
downloadchef-e1457ff7b4aa01ac44615718583875a33e51bcb0.tar.gz
Added MapGenericMask
Diffstat (limited to 'lib/chef/win32/api')
-rw-r--r--lib/chef/win32/api/security.rb1
1 files changed, 1 insertions, 0 deletions
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