diff options
Diffstat (limited to 'src/win_privileges.h')
-rw-r--r-- | src/win_privileges.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/win_privileges.h b/src/win_privileges.h new file mode 100644 index 0000000..5e308c7 --- /dev/null +++ b/src/win_privileges.h @@ -0,0 +1,13 @@ +#ifndef __WIN_PRIVILEGES_H__
+#define __WIN_PRIVILEGES_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <windows.h>
+BOOL win_setprivilege(const TCHAR * privilege, BOOL bEnable, HANDLE hToken);
+
+#ifdef __cplusplus
+}
+#endif
+#endif //__WIN_PRIVILEGES_H__
\ No newline at end of file |