Useful ADVAPI32.DLL API Calls
Here is a list of API calls available in ADVAPI32.DLL, with links to relevant functions or more information
API |
Used In |
AbortSystemShutdownA |
Initiates a shutdown and optional restart of the specified computer |
AdjustTokenPrivileges |
Log off the current user, ShutDown or Restart Windows |
CloseServiceHandle |
Start, Stop, Pause and get status of NT Services
Class and module that enumerates the services on Windows |
ControlService |
Start, Stop, Pause and get status of NT Services |
EnumServicesStatus |
Class and module that enumerates the services on Windows |
GetUserNameA |
How to Obtain the name of the current user logged on |
InitiateSystemShutdownA |
Initiates a shutdown and optional restart of the specified computer |
LookupPrivilegeValueA |
Log off the current user, ShutDown or Restart Windows |
OpenProcessToken |
Log off the current user, ShutDown or Restart Windows |
OpenSCManager |
Class and module that enumerates the services on Windows |
OpenSCManagerA |
Start, Stop, Pause and get status of NT Services |
OpenServiceA |
Start, Stop, Pause and get status of NT Services |
QueryServiceStatus |
Start, Stop, Pause and get status of NT Services |
RegCloseKey |
Source Code Module to manage the Registry
Source Code Module to manage the Registry (Part 2)
Read remote registry |
RegConnectRegistryA |
Source Code Module to manage the Registry (Part 2)
Read remote registry |
RegCreateKeyExA |
Source Code Module to manage the Registry
Source Code Module to manage the Registry (Part 2)
Read remote registry |
RegDeleteKeyA |
Source Code Module to manage the Registry
Source Code Module to manage the Registry (Part 2)
Read remote registry |
RegDeleteValueA |
Source Code Module to manage the Registry
Source Code Module to manage the Registry (Part 2)
Read remote registry |
RegEnumKeyExA |
Source Code Module to manage the Registry (Part 2) |
RegEnumValueA |
Source Code Module to manage the Registry (Part 2) |
RegFlushKey |
Source Code Module to manage the Registry (Part 2) |
RegGetKeySecurity |
Source Code Module to manage the Registry (Part 2) |
RegNotifyChangeKeyValue |
Source Code Module to manage the Registry (Part 2) |
RegOpenKeyExA |
Source Code Module to manage the Registry
Source Code Module to manage the Registry (Part 2)
Read remote registry |
RegQueryInfoKeyA |
Source Code Module to manage the Registry (Part 2) |
RegQueryValueExA |
Source Code Module to manage the Registry
Source Code Module to manage the Registry (Part 2)
Read remote registry |
RegRestoreKeyA |
Source Code Module to manage the Registry (Part 2) |
RegSetKeySecurity |
Source Code Module to manage the Registry (Part 2) |
RegSetValueExA |
Source Code Module to manage the Registry
Source Code Module to manage the Registry (Part 2)
Read remote registry |
StartServiceA |
Start, Stop, Pause and get status of NT Services |
Special Instructions
This code originally appeared on AndreaVB.com, and has been republished here with the permission of Andrea Tincani.
Comments
No comments have been added for this post.
You must be logged in to make a comment.