EnablePrivilege(3w)

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.