EnablePrivilege3w
Usage
BOOL EnablePrivilege
(
LPCWSTR lpPrivilegeName,
BOOL bEnable
)
Overview
Enables or disables one of the current users privileges.
Params
lpPrivilegeName [In] Name of the privilege to be changed.
bEnable [In] TRUE: Enables the privilege FALSE: Disables the privilege.
Returns
Success: TRUE
Failure: FALSE
Implementation
Declared in "setupapi.h".
Implemented in "dlls/setupapi/misc.c".
Debug channel "setupapi".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.