AdjustTokenPrivileges method
int
AdjustTokenPrivileges(
- Pointer<
Void> TokenHandle, - int DisableAllPrivileges,
- Pointer<
PTOKEN_PRIVILEGES> NewState, - int BufferLength,
- Pointer<
PTOKEN_PRIVILEGES> PreviousState, - Pointer<
Uint64> ReturnLength,
Implementation
int AdjustTokenPrivileges(
ffi.Pointer<ffi.Void> TokenHandle,
int DisableAllPrivileges,
ffi.Pointer<PTOKEN_PRIVILEGES> NewState,
int BufferLength,
ffi.Pointer<PTOKEN_PRIVILEGES> PreviousState,
ffi.Pointer<ffi.Uint64> ReturnLength,
) {
return (_AdjustTokenPrivileges ??= _dylib.lookupFunction<
_c_AdjustTokenPrivileges,
_dart_AdjustTokenPrivileges>('AdjustTokenPrivileges'))(
TokenHandle,
DisableAllPrivileges,
NewState,
BufferLength,
PreviousState,
ReturnLength,
);
}