Scroll to navigation

EnablePrivilege(3w) Wine API EnablePrivilege(3w)

NAME

EnablePrivilege (SETUPAPI.@)

SYNOPSIS

BOOL EnablePrivilege
(
LPCWSTR lpPrivilegeName,
BOOL bEnable
)
 

DESCRIPTION

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".
Oct 2012 Wine API