summaryrefslogtreecommitdiff
path: root/lib/chef/win32/api/net.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/win32/api/net.rb')
-rw-r--r--lib/chef/win32/api/net.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/chef/win32/api/net.rb b/lib/chef/win32/api/net.rb
index d2a05523ed..66059fc3eb 100644
--- a/lib/chef/win32/api/net.rb
+++ b/lib/chef/win32/api/net.rb
@@ -148,6 +148,12 @@ class Chef
#);
safe_attach_function :NetLocalGroupAdd, [ :LPCWSTR, :DWORD, :LPBYTE, :LPDWORD], :DWORD
+#NET_API_STATUS NetLocalGroupDel(
+ #_In_ LPCWSTR servername,
+ #_In_ LPCWSTR groupname
+#);
+ safe_attach_function :NetLocalGroupDel, [ :LPCWSTR, :LPCWSTR], :DWORD
+
# NET_API_STATUS NetUserEnum(
# _In_ LPCWSTR servername,
# _In_ DWORD level,