Privileges AdjustTokenPrivileges Method (IntPtr, Int32, TOKEN_PRIVILEGES , Int32, Int32, Int32) 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, _
	DisableAllPriv As Integer, _
	ByRef NewState As TOKEN_PRIVILEGES, _
	BufferLength As Integer, _
	PreviousState As Integer, _
	ReturnLength As Integer _
) As Integer
See Also