summaryrefslogtreecommitdiffhomepage
path: root/include/ntapi/nt_token.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-24 02:22:21 -0400
committermidipix <writeonce@midipix.org>2016-06-24 03:32:46 -0400
commit5f1999c6f77e9abb827d61e4e89fa42841caaa9a (patch)
treebaa85523a11f4c0a5b9f049910e931144e49b9f0 /include/ntapi/nt_token.h
parenta3e9aaed1633e5ca5426758719486e001931eddd (diff)
downloadntapi-5f1999c6f77e9abb827d61e4e89fa42841caaa9a.tar.bz2
ntapi-5f1999c6f77e9abb827d61e4e89fa42841caaa9a.tar.xz
process tokens: added __ntapi_tt_[enable/disable]_token_privilege().
Diffstat (limited to 'include/ntapi/nt_token.h')
-rw-r--r--include/ntapi/nt_token.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/ntapi/nt_token.h b/include/ntapi/nt_token.h
index a0c7c2e..dfb221e 100644
--- a/include/ntapi/nt_token.h
+++ b/include/ntapi/nt_token.h
@@ -201,4 +201,15 @@ typedef int32_t __stdcall ntapi_zw_set_information_token(
__in void * token_info,
__in size_t token_info_length);
+
+/* extension functions */
+typedef int32_t __stdcall ntapi_tt_enable_token_privilege(
+ __in void * htoken,
+ __in uint32_t privilege);
+
+
+typedef int32_t __stdcall ntapi_tt_disable_token_privilege(
+ __in void * htoken,
+ __in uint32_t privilege);
+
#endif