summaryrefslogtreecommitdiff
path: root/lib/chef/win32/api.rb
diff options
context:
space:
mode:
authorMatt Wrock <matt@mattwrock.com>2015-12-17 18:32:56 -0800
committerMatt Wrock <matt@mattwrock.com>2015-12-17 18:32:56 -0800
commit3bb52c0682797e716b7030ef0af6cb885e68cf25 (patch)
tree63dc36a77e563d4b743deef7c099de60932997b3 /lib/chef/win32/api.rb
parentb027f4b9cebda8314118a0839f93d812e1b6fcfa (diff)
downloadchef-service_user.tar.gz
fixes #3521 correcting format of user name passed to policy apis and does not clobber existing service rights of other usersservice_user
Diffstat (limited to 'lib/chef/win32/api.rb')
-rw-r--r--lib/chef/win32/api.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/win32/api.rb b/lib/chef/win32/api.rb
index 4786222bd4..acc3980f81 100644
--- a/lib/chef/win32/api.rb
+++ b/lib/chef/win32/api.rb
@@ -147,6 +147,7 @@ class Chef
host.typedef :long, :LRESULT # Signed result of message processing. WinDef.h: host.typedef LONG_PTR LRESULT;
host.typedef :pointer, :LPWIN32_FIND_DATA # Pointer to WIN32_FIND_DATA struct
host.typedef :pointer, :LPBY_HANDLE_FILE_INFORMATION # Point to a BY_HANDLE_FILE_INFORMATION struct
+ host.typedef :ulong, :NTSTATUS # An NTSTATUS code returned by an LSA function call.
host.typedef :pointer, :PBOOL # Pointer to a BOOL.
host.typedef :pointer, :PBOOLEAN # Pointer to a BOOL.
host.typedef :pointer, :PBYTE # Pointer to a BYTE.