diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-02-11 14:27:12 -0800 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2015-02-17 09:24:44 -0500 |
commit | 9fbb05e449ba74fd35df40ddbea32efbdeb3f50e (patch) | |
tree | 4b61480795e60d9ecea58e9924f2adc046e1d195 /lib/chef/win32/api | |
parent | a0e367d816e869bb13513a8cb95e90ae85899a4f (diff) | |
download | chef-9fbb05e449ba74fd35df40ddbea32efbdeb3f50e.tar.gz |
Added GetFileSecurity
Diffstat (limited to 'lib/chef/win32/api')
-rw-r--r-- | lib/chef/win32/api/security.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/win32/api/security.rb b/lib/chef/win32/api/security.rb index a813c36bdd..f76e39c7e2 100644 --- a/lib/chef/win32/api/security.rb +++ b/lib/chef/win32/api/security.rb @@ -361,6 +361,7 @@ class Chef safe_attach_function :EqualSid, [ :pointer, :pointer ], :BOOL safe_attach_function :FreeSid, [ :pointer ], :pointer safe_attach_function :GetAce, [ :pointer, :DWORD, :pointer ], :BOOL + safe_attach_function :GetFileSecurityW, [:LPCWSTR, :DWORD, :pointer, :DWORD, :pointer], :BOOL safe_attach_function :GetLengthSid, [ :pointer ], :DWORD safe_attach_function :GetNamedSecurityInfoW, [ :LPWSTR, :SE_OBJECT_TYPE, :DWORD, :pointer, :pointer, :pointer, :pointer, :pointer ], :DWORD safe_attach_function :GetSecurityDescriptorControl, [ :pointer, :PWORD, :LPDWORD], :BOOL |