Privileges AdjustTokenPrivileges Method (IntPtr, Boolean, TOKEN_PRIVILEGES , UInt32, IntPtr, IntPtr) FormX
Windows Forms eXtensions

Namespace: System.Windows.API
Assembly: Windows.Forms.Extensions (in Windows.Forms.Extensions.dll) Version: 0.2.4510.21587 (0.2.*)
Syntax

Public Shared Function AdjustTokenPrivileges ( _
	TokenHandle As IntPtr, _
	DisableAllPrivileges As Boolean, _
	ByRef NewState As TOKEN_PRIVILEGES, _
	BufferLength As UInteger, _
	PreviousState As IntPtr, _
	ReturnLength As IntPtr _
) As Boolean
See Also