The following list shows all the API calls used in the various code samples on my web site.
API Name | Ansi/Unicode API Name | Library | Component | ||
AddAccessAllowedAce |
AddAccessAllowedAce |
advapi32 |
|||
AddAce |
AddAce |
advapi32 |
|||
AdjustTokenPrivileges |
AdjustTokenPrivileges |
advapi32 |
|||
AllocateAndInitializeSid |
AllocateAndInitializeSid |
advapi32 |
|||
apiBeep |
Beep |
kernel32 |
|||
ChangeServiceConfig |
ChangeServiceConfigA |
advapi32 |
|||
CloseEventLog |
CloseEventLog |
advapi32 |
|||
CloseHandle |
CloseHandle |
kernel32 |
|||
CloseHandle |
Call32 |
CALL32 |
|||
CloseServiceHandle |
CloseServiceHandle |
advapi32 |
|||
ControlService |
ControlService |
advapi32 |
|||
CopyMem |
RtlMoveMemory |
kernel32 |
|||
CreateFile |
CreateFileA |
kernel32 |
|||
CreateFileMapping |
CreateFileMappingA |
kernel32 |
|||
CreateHardLink |
CreateHardLinkA |
kernel32 |
|||
CreateService |
CreateServiceA |
advapi32 |
|||
Declare32 |
Declare32 |
CALL32 |
|||
DecryptFile |
DecryptFileA |
advapi32 |
|||
DeleteFile |
DeleteFileA |
kernel32 |
|||
DeleteService |
DeleteService |
advapi32 |
|||
DeregisterEventSource |
DeregisterEventSource |
advapi32 |
|||
DestroyWindow |
DestroyWindow |
user32 |
|||
DeviceIoControl |
DeviceIoControl |
kernel32 |
|||
DsGetDcName |
DsGetDcNameW |
netapi32 |
|||
EmptyWorkingSet |
EmptyWorkingSet |
PSAPI |
|||
EncryptFile |
EncryptFileA |
advapi32 |
|||
EnumDependentServices |
EnumDependentServicesA |
advapi32 |
|||
EnumDeviceDrivers |
EnumDeviceDrivers |
PSAPI |
|||
EnumProcesses |
EnumProcesses |
PSAPI |
|||
EnumProcessModules |
EnumProcessModules |
PSAPI |
|||
EnumServicesStatus |
EnumServicesStatusA |
advapi32 |
|||
EqualSid |
EqualSid |
advapi32 |
|||
ExitWindowsEx |
ExitWindowsEx |
user32 |
|||
ExpandEnvironmentStrings |
ExpandEnvironmentStringsA |
kernel32 |
|||
FileEncryptionStatus |
FileEncryptionStatusA |
advapi32 |
|||
FileTimeToDosDateTime |
Call32 |
CALL32 |
|||
FileTimeToLocalFileTime |
Call32 |
CALL32 |
|||
FileTimeToSystemTime |
FileTimeToSystemTime |
kernel32 |
|||
FileTimeToSystemTime |
Call32 |
CALL32 |
|||
FindClose |
Call32 |
CALL32 |
|||
FindFirstFileA |
Call32 |
CALL32 |
|||
FindNextFileA |
Call32 |
CALL32 |
|||
FindWindow |
FindWindowA |
user32 |
|||
FlushViewOfFile |
FlushViewOfFile |
kernel32 |
|||
FormatMessage |
FormatMessageA |
kernel32 |
|||
FreeLibrary |
FreeLibrary |
kernel32 |
|||
GetAce |
GetAce |
advapi32 |
|||
GetAclInformation |
GetAclInformation |
advapi32 |
|||
GetACP |
GetACP |
kernel32 |
|||
GetBinaryType |
GetBinaryTypeA |
kernel32 |
|||
GetComputerName |
GetComputerNameA |
kernel32 |
|||
GetConsoleCursorInfo |
GetConsoleCursorInfo |
kernel32 |
|||
GetConsoleMode |
GetConsoleMode |
kernel32 |
|||
GetConsoleOutputCP |
GetConsoleOutputCP |
kernel32 |
|||
GetConsoleScreenBufferInfo |
GetConsoleScreenBufferInfo |
kernel32 |
|||
GetConsoleTitle |
GetConsoleTitleA |
kernel32 |
|||
GetCPInfo |
GetCPInfo |
kernel32 |
|||
GetCurrentProcess |
GetCurrentProcess |
kernel32 |
|||
GetCursorPos |
GetCursorPos |
user32 |
|||
GetDesktopWindow |
GetDesktopWindow |
user32 |
|||
GetDeviceCaps |
GetDeviceCaps |
gdi32 |
|||
GetDeviceDriverBaseName |
GetDeviceDriverBaseNameA |
PSAPI |
|||
GetDeviceDriverFileName |
GetDeviceDriverFileNameA |
PSAPI |
|||
GetDiskFreeSpace |
Call32 |
CALL32 |
|||
GetDriveType |
Call32 |
CALL32 |
|||
GetDriveType |
GetDriveTypeA |
kernel32 |
|||
GetExitCodeProcess |
GetExitCodeProcess |
kernel32 |
|||
GetExplicitEntriesFromAcl |
GetExplicitEntriesFromAclA |
advapi32 |
|||
GetFileAttributes |
GetFileAttributesA |
kernel32 |
|||
GetFileInformationByHandle |
GetFileInformationByHandle |
kernel32 |
|||
GetFileSecurity |
GetFileSecurityA |
advapi32 |
|||
GetFileSecurityN |
GetFileSecurityA |
advapi32 |
|||
GetFileTime |
Call32 |
CALL32 |
|||
GetFileVersionInfo |
GetFileVersionInfoA |
version |
|||
GetFileVersionInfoSize |
GetFileVersionInfoSizeA |
version |
|||
GetKeyboardLayoutName |
GetKeyboardLayoutNameA |
user32 |
|||
GetLastError |
Call32 |
CALL32 |
|||
GetLengthSid |
GetLengthSid |
advapi32 |
|||
GetLocaleInfo |
GetLocaleInfoA |
kernel32 |
|||
GetMappedFileNameA |
GetMappedFileNameA |
PSAPI |
|||
GetModuleBaseName |
GetModuleBaseNameA |
PSAPI |
|||
GetModuleFileNameEx |
GetModuleFileNameExA |
PSAPI |
|||
GetModuleInformation |
GetModuleInformation |
PSAPI |
|||
GetNamedSecurityInfo |
GetNamedSecurityInfoA |
advapi32 |
|||
GetNumberOfConsoleInputEvents |
GetNumberOfConsoleInputEvents |
kernel32 |
|||
GetNumberOfEventLogRecords |
GetNumberOfEventLogRecords |
advapi32 |
|||
GetOEMCP |
GetOEMCP |
kernel32 |
|||
GetParent |
GetParent |
user32 |
|||
GetProcessMemoryInfo |
GetProcessMemoryInfo |
PSAPI |
|||
GetProcessTimes |
GetProcessTimes |
kernel32 |
|||
GetSecurityDescriptorDacl |
GetSecurityDescriptorDacl |
advapi32 |
|||
GetSecurityDescriptorOwner |
GetSecurityDescriptorOwner |
advapi32 |
|||
GetSecurityDescriptorSacl |
GetSecurityDescriptorSacl |
advapi32 |
|||
GetServiceDisplayName |
GetServiceDisplayNameA |
advapi32 |
|||
GetServiceKeyName |
GetServiceKeyNameA |
advapi32 |
|||
GetShortPathName |
GetShortPathNameA |
kernel32 |
|||
GetSidIdentifierAuthority | GetSidIdentifierAuthority | advapi32 | |||
GetSidSubAuthority | GetSidSubAuthority | advapi32 | |||
GetSidSubAuthorityCount | GetSidSubAuthorityCount | advapi32 | |||
GetStdHandle |
GetStdHandle |
kernel32 |
|||
GetSystemDirectory |
GetSystemDirectoryA |
kernel32 |
|||
GetSystemInfo |
GetSystemInfo |
kernel32 |
|||
GetTempFileName |
GetTempFileNameA |
kernel32 |
|||
GetTempPath |
GetTempPathA |
kernel32 |
|||
GetTimeZoneInformation |
GetTimeZoneInformation |
kernel32 |
|||
GetTokenInformation |
GetTokenInformation |
advapi32 |
|||
GetUserName |
GetUserNameA |
advapi32 |
|||
GetVersionEx |
GetVersionExA |
kernel32 |
|||
GetVolumeInformation |
GetVolumeInformationA |
kernel32 |
|||
GetVolumeInformationA |
Call32 |
CALL32 |
|||
GetWindow |
GetWindow |
user32 |
|||
GetWindowsDirectory |
GetWindowsDirectoryA |
kernel32 |
|||
GetWindowText |
GetWindowTextA |
user32 |
|||
GetWindowThreadProcessId |
GetWindowThreadProcessId |
user32 |
|||
GetWsChanges |
GetWsChanges |
PSAPI |
|||
GlobalAlloc | GlobalAlloc | kernel32 | Network Calls NT & Win9x | ||
GlobalFree |
GlobalFree |
kernel32 |
|||
GlobalMemoryStatus |
GlobalMemoryStatus |
kernel32 |
|||
InitializeAcl |
InitializeAcl |
advapi32 |
|||
InitializeProcessForWsWatch |
InitializeProcessForWsWatch |
PSAPI |
|||
InitializeSecurityDescriptor |
InitializeSecurityDescriptor |
advapi32 |
|||
IsTextUnicode |
IsTextUnicode |
advapi32 |
|||
IsValidSid |
IsValidSid |
advapi32 |
|||
IsWindow |
IsWindow |
user32 |
|||
LoadLibrary |
LoadLibraryA |
kernel32 |
|||
LoadLibraryEx |
LoadLibraryExA |
kernel32 |
|||
LocalFree |
LocalFree |
kernel32 |
|||
LockServiceDatabase |
LockServiceDatabase |
advapi32 |
|||
LookupAccountName |
LookupAccountNameA |
advapi32 |
|||
LookupAccountSid |
LookupAccountSidA |
advapi32 |
|||
LookupPrivilegeValue |
LookupPrivilegeValueA |
advapi32 |
|||
lstrcpy | lstrcpyW | kernel32 | |||
lstrcpy | lstrcpyA | kernel32 | |||
lstrlen | lstrlenW | kernel32 | |||
MapViewOfFile |
MapViewOfFile |
kernel32 |
|||
MessageBeep |
MessageBeep |
user32 |
|||
MessageBox |
MessageBoxA |
user32 |
|||
MoveMem |
RtlMoveMemory |
kernel32 |
|||
MultiByteToWideChar | MultiByteToWideChar | kernel32 | Network Calls NT & Win9x | ||
NetAPIBufferFree |
NetApiBufferFree |
netapi32 |
|||
NetConnectionEnum |
NetConnectionEnum |
netapi32 |
|||
NetConnectionEnum95 | NetConnectionEnum | svrapi | Network Calls NT & Win9x | ||
NetDfsAddFtRoot |
NetDfsAddFtRoot |
netapi32 |
|||
NetDfsAddStdRoot |
NetDfsAddStdRoot |
netapi32 |
|||
NetFileClose |
NetFileClose |
netapi32 |
|||
NetFileClose2 | NetFileClose2 | svrapi | Network Calls NT & Win9x | ||
NetFileEnum |
NetFileEnum |
netapi32 |
|||
NetFileEnum95 | NetFileEnum | svrapi | Network Calls NT & Win9x | ||
NetGetAnyDCName |
NetGetAnyDCName |
netapi32 |
|||
NetGetDCName |
NetGetDCName |
netapi32 |
|||
NetGroupEnum |
NetGroupEnum |
netapi32 |
|||
NetGroupGetUsers |
NetGroupGetUsers |
netapi32 |
|||
NetLocalGroupEnum |
NetLocalGroupEnum |
netapi32 |
|||
NetLocalGroupGetMembers |
NetLocalGroupGetMembers |
netapi32 |
|||
NetQueryDisplayInformation |
NetQueryDisplayInformation |
netapi32 |
|||
NetRemoteTOD | NetRemoteTOD | netapi32 | |||
NetServerEnum |
NetServerEnum |
netapi32 |
|||
NetServerGetInfo |
NetServerGetInfo |
netapi32 |
|||
NetServerGetInfo95 | NetServerGetInfo | svrapi | Network Calls NT & Win9x | ||
NetServerSetInfo |
NetServerSetInfo |
netapi32 |
|||
NetSessionDel |
NetSessionDel |
netapi32 |
|||
NetSessionDel95 | NetSessionDel | svrapi | Network Calls NT & Win9x | ||
NetSessionEnum |
NetSessionEnum |
netapi32 |
|||
NetSessionEnum95 | NetSessionEnum | svrapi | Network Calls NT & Win9x | ||
NetSessionGetInfo | NetSessionGetInfo |
netapi32 |
Network Calls NT & Win9x | ||
NetSessionGetInfo95 | NetSessionGetInfo | svrapi | Network Calls NT & Win9x | ||
NetShareAdd | NetShareAdd |
netapi32 |
Network Calls NT & Win9x | ||
NetShareAdd95 | NetShareAdd | svrapi | Network Calls NT & Win9x | ||
NetShareDel |
NetShareDel |
netapi32 |
|||
NetShareDel95 | NetShareDel | svrapi | Network Calls NT & Win9x | ||
NetShareEnum |
NetShareEnum |
netapi32 |
|||
NetShareEnum95 | NetShareEnum | svrapi | Network Calls NT & Win9x | ||
NetShareGetInfo | NetShareGetInfo |
netapi32 |
Network Calls NT & Win9x | ||
NetShareGetInfo95 | NetShareGetInfo | svrapi | Network Calls NT & Win9x | ||
NetShareSetInfo | NetShareSetInfo |
netapi32 |
Network Calls NT & Win9x | ||
NetShareSetInfo95 | NetShareSetInfo | svrapi | Network Calls NT & Win9x | ||
NetUserGetGroups |
NetUserGetGroups |
netapi32 |
|||
NetUserGetInfo |
NetUserGetInfo |
netapi32 |
|||
NetUserModalsGet | NetUserModalsGet | netapi32 | |||
NetWkrstaGetInfo | NetWkstaGetInfo | netapi32 | |||
NotifyBootConfigStatus |
NotifyBootConfigStatus |
advapi32 |
|||
OpenBackupEventLog | OpenBackupEventLogA | advapi32 | |||
OpenEventLog |
OpenEventLogA |
advapi32 |
|||
OpenFile |
OpenFile |
kernel32 |
|||
OpenFileMapping |
OpenFileMappingA |
kernel32 |
|||
OpenProcess |
OpenProcess |
kernel32 |
|||
OpenProcessToken |
OpenProcessToken |
advapi32 |
|||
OpenSCManager |
OpenSCManagerA |
advapi32 |
|||
OpenService |
OpenServiceA |
advapi32 |
|||
PdhAddCounter |
PdhVbAddCounter |
Pdh |
|||
PdhAddCounterC |
PdhAddCounterA |
Pdh |
|||
PdhCloseQuery |
PdhCloseQuery |
Pdh |
|||
PdhCloseQueryC |
PdhCloseQuery |
Pdh |
|||
PdhCollectQueryData |
PdhCollectQueryData |
Pdh |
|||
PdhCollectQueryDataC |
PdhCollectQueryData |
Pdh |
|||
PdhCreateCounterPathList |
PdhVbCreateCounterPathList |
Pdh |
|||
PdhExpandCounterPath |
PdhExpandCounterPathA |
Pdh |
|||
PdhExpandWildCardPath |
PdhExpandWildCardPathA |
Pdh |
|||
PdhGetCounterPathElements |
PdhVbGetCounterPathElements |
Pdh |
|||
PdhGetCounterPathFromList |
PdhVbGetCounterPathFromList |
Pdh |
|||
|
|
Pdh |
|||
PdhGetFormattedCounterValueC |
PdhGetFormattedCounterValue |
Pdh |
|||
PdhGetOneCounterPath |
PdhVbGetOneCounterPath |
Pdh |
|||
PdhGetRawCounterValueC |
PdhGetRawCounterValue |
Pdh |
|||
PdhIsGoodStatus |
PdhVbIsGoodStatus |
Pdh |
|||
PdhOpenQuery |
PdhVbOpenQuery |
Pdh |
|||
PdhOpenQueryC |
PdhOpenQuery |
Pdh |
|||
PdhRemoveCounter |
PdhRemoveCounter |
Pdh |
|||
Pdx_PdhVbGetDoubleCounterValue |
PdhVbGetDoubleCounterValue |
Pdh |
|||
PeekConsoleInput |
PeekConsoleInputA |
kernel32 |
|||
PostMessage | PostMessageA | user32 | |||
QueryServiceConfig |
QueryServiceConfigA |
advapi32 |
|||
QueryServiceLockStatus |
QueryServiceLockStatusA |
advapi32 |
|||
QueryServiceObjectSecurity |
QueryServiceObjectSecurity |
advapi32 |
|||
QueryServiceStatus |
QueryServiceStatus |
advapi32 |
|||
QueryWorkingSet |
QueryWorkingSet |
PSAPI |
|||
ReadConsole |
ReadConsoleA |
kernel32 |
|||
ReadConsoleOutputCharacter |
ReadConsoleOutputCharacterA |
kernel32 |
|||
ReadEventLog |
ReadEventLogA |
advapi32 |
|||
ReadFile |
ReadFile |
kernel32 |
|||
RegCloseKey |
RegCloseKey |
advapi32 |
|||
RegConnectRegistry | RegConnectRegistryA | advapi32 | |||
RegCreateKeyEx |
RegCreateKeyExA |
advapi32 |
|||
RegDeleteKey |
RegDeleteKeyA |
advapi32 |
|||
RegEnumKey |
RegEnumKeyA |
advapi32 |
|||
RegEnumKeyEx |
RegEnumKeyExA |
advapi32 |
|||
RegFlushKey |
RegFlushKey |
advapi32 |
|||
RegisterEventSource |
RegisterEventSourceA |
advapi32 |
|||
RegisterServiceCtrlHandler |
RegisterServiceCtrlHandlerA |
advapi32 |
|||
RegOpenKeyEx |
RegOpenKeyExA |
advapi32 |
|||
RegQueryValueEx |
RegQueryValueExA |
advapi32 |
|||
RegSetValueEx |
RegSetValueExA |
advapi32 |
|||
ReportEvent |
ReportEventA |
advapi32 |
|||
RtlMoveMemory |
RtlMoveMemory |
kernel32 |
|||
SendMessage |
SendMessage |
User |
|||
SendMessage |
SendMessageA |
user32 |
|||
SendNotifyMessage | SendNotifyMessageA | user32 | |||
SetConsoleCtrlHandler |
SetConsoleCtrlHandler |
kernel32 |
|||
SetConsoleCursorInfo |
SetConsoleCursorInfo |
kernel32 |
|||
SetConsoleMode |
SetConsoleMode |
kernel32 |
|||
SetConsoleOutputCP |
SetConsoleOutputCP |
kernel32 |
|||
SetConsoleTextAttribute |
SetConsoleTextAttribute |
kernel32 |
|||
SetConsoleTitle |
SetConsoleTitleA |
kernel32 |
|||
SetCurrentDirectory |
SetCurrentDirectoryA |
kernel32 |
|||
SetFileSecurity |
SetFileSecurityA |
advapi32 |
|||
SetSecurityDescriptorDacl |
SetSecurityDescriptorDacl |
advapi32 |
|||
SetSecurityDescriptorGroup |
SetSecurityDescriptorGroup |
advapi32 |
|||
SetSecurityDescriptorOwner |
SetSecurityDescriptorOwner |
advapi32 |
|||
SetServiceObjectSecurity |
SetServiceObjectSecurity |
advapi32 |
|||
SetServiceStatus |
SetServiceStatus |
advapi32 |
|||
SetSystemTime | SetSystemTime | kernel32 | |||
SetStdHandle |
SetStdHandle |
kernel32 |
|||
SetVolumeLabelA |
Call32 |
CALL32 |
|||
SetWindowPos |
SetWindowPos |
user32 |
|||
SHBrowseForFolder |
SHBrowseForFolder |
shell32 |
|||
SHGetPathFromIDList |
SHGetPathFromIDList |
shell32 |
|||
SHGetSpecialFolderLocation |
SHGetSpecialFolderLocation |
shell32 |
|||
Sleep |
Sleep |
kernel32 |
|||
StartService |
StartServiceA |
advapi32 |
|||
StartServiceCtrlDispatcher |
StartServiceCtrlDispatcherA |
advapi32 |
|||
StrCopyA |
lstrcpyA |
kernel32 |
|||
StrCopyW |
lstrcpyW |
kernel32 |
|||
StrLenA |
lstrlenA |
kernel32 |
|||
StrLenW |
lstrlenW |
kernel32 |
|||
SystemTimeToFileTime | SystemTimeToFileTime | kernel32 | |||
SystemTimeToVariantTime | SystemTimeToVariantTime | oleaut32 | |||
TerminateProcess |
TerminateProcess |
kernel32 |
|||
UnlockServiceDatabase |
UnlockServiceDatabase |
advapi32 |
|||
UnmapViewOfFile |
UnmapViewOfFile |
kernel32 |
|||
VariantTimeToSystemTime | VariantTimeToSystemTime | oleaut32 | |||
VerLanguageName |
VerLanguageNameA |
version |
|||
VerQueryValue |
VerQueryValueA |
version |
|||
WideCharToMultiByte | WideCharToMultiByte | kernel32 | Network Calls NT & Win9x | ||
WriteConsole |
WriteConsoleA |
kernel32 |
|||
WriteConsoleOutputCharacter |
WriteConsoleOutputCharacterA |
kernel32 |
|||
WriteFile |
WriteFile |
kernel32 |
|||
WritePrivateProfileString |
WritePrivateProfileStringA |
kernel32 |
|||
ZeroMem |
RtlZeroMemory |
kernel32 |
Last Updated On: Tuesday June 10, 2003 05:46:00 PM