ZenWINX Logo ZenWINX

Architecture - Reference Manual - Guides

Privileges

Functions

int __stdcall winx_enable_privilege (unsigned long luid)
 Enables a user privilege for the current process.

Function Documentation

int __stdcall winx_enable_privilege ( unsigned long  luid  ) 

Enables a user privilege for the current process.

Parameters:
[in] luid identifier of the requested privilege, ntndk.h file contains definitions of various privileges.
Returns:
Zero for success, negative value otherwise.
Example:
 winx_enable_privilege(SE_SHUTDOWN_PRIVILEGE);

Definition at line 41 of file privilege.c.

Referenced by winx_reboot(), and winx_shutdown().


Generated on Sat May 29 23:06:45 2010 for ZenWINX by doxygen 1.6.2