GetAndSetDebugPrivilege

The GetAndSetDebugPrivilege function set the status of the debug privilege and retruns the old state.

function GetAndSetDebugPrivilege(
  dwFlag: DWord;
  var dwFlagOld: DWord
): Boolean; stdcall;

Parameters

dwFlag
[in] Status which is set.
dwFlagOld
[in] Previous statush.
 

Remarks

-

Return Values

If the function succeeds, the return value is true.

If the function fails, the return value is false.

 

Requirements

Client Requires Windows XP, Windows 2000 Professional, Windows NT Workstation
Header

Declared in uallKernel.pas