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". https://source.winehq.org/source/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 Apr 2024.