Windows API Reference
System Functions
System Functions
This section provides detailed documentation for Windows API functions related to system operations, including process management, service control, registry access, security, and system information retrieval.
Processes
Functions for creating, managing, and terminating processes.
| Function Name | Description |
|---|---|
CreateProcess |
Creates a new process and its primary thread. |
TerminateProcess |
Terminates the specified process. |
OpenProcess |
Opens an existing process object. |
GetProcessId |
Retrieves the process identifier of the calling process. |
Services
Functions for managing Windows services.
| Function Name | Description |
|---|---|
OpenSCManager |
Establishes a connection to the service control manager. |
CreateService |
Creates a service entry in the specified service control manager database. |
StartService |
Starts a specified service. |
ControlService |
Sends a control code to a service. |
Registry
Functions for accessing and manipulating the Windows Registry.
| Function Name | Description |
|---|---|
RegOpenKeyEx |
Opens the specified key in the registry. |
RegQueryValueEx |
Retrieves the type and data for a specified registry value. |
RegSetValueEx |
Sets the data and extended information for a specified registry value. |
RegCloseKey |
Closes an opened registry key. |
Security
Functions related to security descriptors, access tokens, and permissions.
| Function Name | Description |
|---|---|
GetSecurityInfo |
Retrieves security descriptor information for a specified object. |
SetSecurityInfo |
Sets security descriptor information for a specified object. |
OpenProcessToken |
Opens the access token associated with a process. |
System Information
Functions for retrieving detailed information about the system.
| Function Name | Description |
|---|---|
GetSystemInfo |
Fills the specified structure with information about the current system. |
GetComputerName |
Retrieves the name of the computer. |
GetUserName |
Retrieves the name of the user currently logged on to the local computer. |
GlobalMemoryStatusEx |
Fills the MEMORYSTATUSEX structure with information about the current memory utilization for the computer. |