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

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/setupapi/misc.c". gitlab.winehq.org/wine/wine/blob/master/dlls/setupapi/misc.c

Debug channel "setupapi".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.