Windows API category
Helper
Process, file, handle, string and console helpers. On their own they carry almost no signal; they matter as part of a chain or when arguments are suspicious (temp paths, encoded strings, hidden windows).
General-purpose Win32 plumbing used by nearly every program. This category contains 219 APIs.
Open Helper in the interactive atlasHelper APIs
Last reviewed or generated: .
-
AllocateAndInitializeSid
Builds a security identifier from components, used with well-known SIDs.
-
AllocConsole
Allocates a console for a GUI process.
-
AttachConsole
Attaches the process to another process console.
-
BCryptCloseAlgorithmProvider
Closes a CNG algorithm provider handle.
-
BCryptDestroyHash
Destroys a CNG hash object.
-
BCryptDestroyKey
Destroys a CNG key object.
-
Beep
Generates a simple tone on the speaker.
-
CallNextHookEx
Passes the current hook notification to the next procedure in the hook chain.
-
CertCloseStore
Closes a certificate store handle.
-
CertFreeCertificateContext
Frees a certificate context.
-
CloseClipboard
Closes the clipboard.
-
CloseHandle
Closes an open object handle.
-
closesocket
Closes a socket.
-
CLSIDFromProgID
Converts a ProgID such as "WScript.Shell" to a CLSID.
-
CLSIDFromString
Parses a CLSID string into a GUID.
-
CoCreateInstance
Creates a COM object for a class identifier.
-
CoCreateInstanceEx
Creates a COM object on a local or remote machine.
-
CoGetClassObject
Retrieves the class factory for a COM class.
-
CoGetObject
Binds to a COM object by display name; used in UAC bypasses to activate auto-elevated objects.
-
CoInitialize
Legacy COM initialisation for a thread.
-
CoInitializeEx
Initialises the COM library for the calling thread with a concurrency model.
-
CoInitializeSecurity
Sets process-wide COM security defaults, sometimes weakened to allow remote activation.
-
CommandLineToArgvW
Parses a command line into an argument array.
-
CopyFileExW
Copies a file with progress callback and cancellation support.
-
CopyFileW
Copies an existing file to a new location.
-
CoSetProxyBlanket
Sets authentication information for a COM proxy, used in remote WMI and DCOM abuse.
-
CoTaskMemAlloc
Allocates COM task memory.
-
CoTaskMemFree
Frees COM task memory.
-
CoUninitialize
Closes the COM library for the calling thread.
-
CreateDirectoryW
Creates a new directory.
-
CreateEventW
Creates or opens a named or unnamed event object.
-
CreateFileA
ANSI variant of CreateFile.
-
CreateFileMappingW
Creates or opens a named file mapping object backed by a file or the pagefile.
-
CreateFileW
Creates or opens a file, directory, device or named pipe.
-
CreateHardLinkW
Creates a hard link to an existing file.
-
CreateMutexW
Creates or opens a mutex, frequently used as a single-instance infection marker.
-
CreatePipe
Creates an anonymous pipe and returns read and write handles for connecting child process I/O.
-
CreateProcessA
ANSI variant of CreateProcess.
-
CreateProcessW
Creates a new process and its primary thread, optionally suspended.
-
CreateSemaphoreW
Creates or opens a named semaphore.
-
CreateThread
Creates a thread in the calling process.
-
CreateTimerQueue
Creates a pool of timers that can run callbacks on worker threads.
-
CreateTimerQueueTimer
Schedules a callback on a timer queue, used for delayed execution.
-
CreateWellKnownSid
Creates a well-known SID such as the local Administrators group.
-
CreateWindowExW
Creates a window, sometimes with zero size or hidden style to conceal UI.
-
CredFree
Frees a buffer allocated by a credential management API.
-
CryptBinaryToStringW
Encodes binary data as Base64 or hex text.
-
CryptDestroyHash
Destroys a hash object.
-
CryptDestroyKey
Destroys a cryptographic key handle.
-
CryptMsgClose
Closes a cryptographic message handle.
-
CryptReleaseContext
Releases a cryptographic provider context.
-
CryptStringToBinaryW
Decodes Base64 or hex text into binary data.
-
DefWindowProcW
Provides default processing for unhandled window messages.
-
DeleteCriticalSection
Releases all resources used by a critical section object.
-
DeleteDC
Deletes a device context.
-
DeleteFileW
Deletes a file.
-
DeleteObject
Deletes a GDI object and frees its resources.
-
DeleteProcThreadAttributeList
Frees a process/thread attribute list.
-
DestroyWindow
Destroys a window and its children.
-
DeviceIoControl
Sends a control code directly to a device driver.
-
DispatchMessageW
Dispatches a message to the window procedure.
-
DnsRecordListFree
Frees a DNS record list returned by DnsQuery.
-
EnterCriticalSection
Waits for ownership of a critical section.
-
ExitProcess
Terminates the calling process and all its threads.
-
ExitThread
Terminates the calling thread.
-
ExpandEnvironmentStringsW
Expands %VAR% references inside a string.
-
FindClose
Closes a search handle opened by FindFirstFile or FindFirstFileEx.
-
freeaddrinfo
Frees an addrinfo list returned by getaddrinfo.
-
FreeConsole
Detaches the process from its console.
-
FreeEnvironmentStringsW
Frees an environment block.
-
FreeLibrary
Decrements a loaded module reference count.
-
FreeSid
Frees a SID allocated by AllocateAndInitializeSid.
-
GetCommandLineW
Returns the full command line of the current process.
-
GetConsoleWindow
Returns the window handle of the console associated with the calling process, or NULL if there is none.
-
GetCurrentDirectoryW
Returns the current directory of the process.
-
GetCurrentProcess
Returns a pseudo-handle for the calling process.
-
GetCurrentProcessId
Returns the process identifier of the calling process.
-
GetCurrentThread
Returns a pseudo-handle for the calling thread.
-
GetCurrentThreadId
Returns the thread identifier of the calling thread.
-
GetEnvironmentStringsW
Returns the environment block of the current process.
-
GetEnvironmentVariableW
Reads an environment variable such as TEMP, APPDATA or USERPROFILE.
-
GetExitCodeProcess
Returns the termination status of a process.
-
GetFileAttributesW
Returns attributes of a file or directory.
-
GetFileSizeEx
Returns the size of a file as a 64-bit value.
-
GetFullPathNameW
Resolves a relative path to a full path.
-
GetHandleInformation
Reports flags of an object handle.
-
GetLastError
Returns the last error code set for the calling thread.
-
GetMessageW
Retrieves messages from the calling thread message queue.
-
GetModuleFileNameA
ANSI variant of GetModuleFileName.
-
GetModuleFileNameW
Returns the full path of a module loaded in the calling process.
-
GetModuleHandleExW
Retrieves a module handle with reference-counting options.
-
GetModuleHandleW
Returns the base address of a loaded module without incrementing its reference count.
-
GetProcAddress
Resolves an exported function address by name or ordinal; central to dynamic API resolution.
-
GetProcessHeap
Returns a handle to the default heap of the calling process.
-
GetProcessId
Returns the process ID that owns a handle.
-
GetStartupInfoW
Returns the STARTUPINFO passed to the process at creation.
-
GetStdHandle
Returns a standard input, output or error handle.
-
GetSystemDirectoryW
Returns the Windows system directory path.
-
GetSystemTime
Returns the current UTC time.
-
GetSystemTimeAsFileTime
Returns the current UTC time as a FILETIME structure.
-
GetSystemTimePreciseAsFileTime
Returns a high-precision UTC timestamp.
-
GetTempFileNameW
Creates a unique temporary file name.
-
GetTempPathW
Returns the path of the directory used for temporary files.
-
GetThreadId
Returns the thread ID that owns a handle.
-
GetTickCount
Returns 32-bit milliseconds since system start; wraparound and comparison tricks are used in timing checks.
-
GetWindowLongPtrW
Retrieves window attributes including the original window procedure.
-
GetWindowsDirectoryW
Returns the Windows installation directory path.
-
GlobalAlloc
Allocates memory from the process heap using legacy GMEM flags.
-
GlobalFree
Frees global memory.
-
GlobalLock
Locks global memory and returns a pointer.
-
GlobalUnlock
Unlocks global memory.
-
HeapFree
Frees a block allocated from a heap.
-
htonl
Converts a 32-bit value from host to network byte order.
-
htons
Converts a 16-bit value from host to network byte order.
-
IcmpCloseHandle
Closes an ICMP handle.
-
InitializeCriticalSection
Initialises a critical section object.
-
InitializeProcThreadAttributeList
Allocates a process/thread attribute list.
-
InternetCloseHandle
Closes a WinINet handle.
-
IsWindow
Tests whether a handle identifies an existing window.
-
KillTimer
Destroys a timer created with SetTimer.
-
LdrGetProcedureAddress
Resolves an exported routine in a loaded module by name or ordinal.
-
LdrRegisterDllNotification
Registers a callback invoked whenever a DLL is loaded or unloaded.
-
LdrUnloadDll
Native module unload.
-
LeaveCriticalSection
Releases ownership of a critical section.
-
LoadLibraryA
ANSI variant of LoadLibrary.
-
LoadLibraryExW
Loads a module with flags controlling search paths and data-file loading.
-
LoadLibraryW
Loads a DLL into the calling process and returns its module handle.
-
LocalAlloc
Allocates local heap memory.
-
LocalFree
Frees local heap memory.
-
LsaClose
Closes an LSA policy handle.
-
LsaFreeReturnBuffer
Frees buffers returned by LSA APIs.
-
MapVirtualKeyW
Translates between virtual-key codes, scan codes and characters.
-
MessageBeep
Plays a system sound.
-
MessageBoxW
Displays a modal message box with the given text, caption and buttons.
-
MoveFileExW
Moves or renames a file, optionally across volumes and on reboot.
-
MoveWindow
Moves and resizes a window.
-
NCryptFreeObject
Frees a CNG key storage object.
-
NetApiBufferFree
Frees buffers allocated by network management functions.
-
NtClose
Closes a handle to a kernel object.
-
NtCreateFile
Creates or opens a file, directory or device object and returns a handle.
-
NtDeleteFile
Native file deletion.
-
ntohl
Converts a 32-bit value from network to host byte order.
-
ntohs
Converts a 16-bit value from network to host byte order.
-
NtOpenFile
Native file open with option flags.
-
NtReadFile
Native file read.
-
NtWriteFile
Native file write.
-
OleInitialize
Initialises OLE compound document support.
-
OleUninitialize
Releases OLE support.
-
OpenEventW
Opens an existing named event object.
-
OpenFileMappingW
Opens an existing named file-mapping object and returns a handle.
-
OpenMutexW
Opens an existing named mutex.
-
PathCombineW
Joins two path components.
-
PathFileExistsW
Checks whether a path exists.
-
PathFindFileNameW
Returns a pointer to the filename portion of a path.
-
PathRemoveFileSpecW
Removes the filename from a path.
-
PeekMessageW
Checks the message queue without blocking.
-
PostMessageW
Posts a message to a window message queue without waiting.
-
PostThreadMessageW
Posts a message directly to a thread message queue.
-
ProgIDFromCLSID
Converts a CLSID to its ProgID.
-
QueryPerformanceFrequency
Returns the frequency of the performance counter.
-
ReadFile
Reads data from a file or device, including named pipe and memory file inputs.
-
RegCloseKey
Closes a registry key handle.
-
RegisterClassExW
Registers a window class before creating windows.
-
RegisterClipboardFormatW
Registers a custom clipboard format.
-
RegisterWindowMessageW
Defines a new system-wide window message.
-
ReleaseDC
Releases a device context obtained with GetDC or GetWindowDC.
-
ReleaseMutex
Releases ownership of a mutex.
-
ReleaseSemaphore
Increases the count of a semaphore.
-
RemoveDirectoryW
Deletes an empty directory.
-
RemoveVectoredExceptionHandler
Unregisters a vectored exception handler.
-
ResetEvent
Sets an event object to the non-signalled state.
-
RtlImageDirectoryEntryToData
Resolves a PE data directory such as the import or relocation table.
-
RtlImageNtHeader
Locates the PE NT headers in a mapped image.
-
SelectObject
Selects a GDI object into a device context.
-
SendInput
Synthesises keyboard and mouse input at the system level.
-
SendMessageW
Sends a message to a window procedure and waits for it to return.
-
SetConsoleTitleW
Changes the console window title to impersonate legitimate tools.
-
SetCurrentDirectoryW
Changes the current working directory.
-
SetEndOfFile
Sets the physical end of a file at the current file pointer.
-
SetEnvironmentVariableW
Creates, changes or deletes an environment variable.
-
SetEvent
Sets an event object to the signalled state.
-
SetFilePointer
Moves a file pointer, the basis of partial overwrites.
-
SetHandleInformation
Changes flags such as inheritability or protection on an object handle.
-
SetLastError
Sets the last error code for the calling thread.
-
SetStdHandle
Redirects a standard device handle, used when piping shell I/O.
-
SetTimer
Creates a window timer that fires WM_TIMER messages.
-
ShellExecuteA
ANSI variant of ShellExecute.
-
ShellExecuteExW
Executes or opens a file with an optional runas verb to request elevation.
-
ShellExecuteW
Opens or executes a file, URL or document through the shell.
-
SHFileOperationA
ANSI variant of SHFileOperation.
-
SHFileOperationW
Copies, moves, renames or deletes files with shell semantics.
-
SHGetFolderPathW
Returns the path of a shell folder such as Startup or AppData.
-
SHGetKnownFolderPath
Resolves a KNOWNFOLDERID to its current path.
-
SHGetSpecialFolderPathW
Legacy helper for special folder paths such as the Startup folder.
-
Sleep
Suspends the current thread for a number of milliseconds.
-
SleepEx
Suspends execution and allows APC delivery while waiting.
-
StringFromCLSID
Formats a CLSID as a string.
-
SwitchToThread
Yields execution to another ready thread, used as a cheap timing delay.
-
TranslateMessage
Translates virtual-key messages into character messages.
-
UnhookWindowsHookEx
Removes a hook procedure installed by SetWindowsHookEx.
-
UnhookWinEvent
Removes an event hook installed by SetWinEventHook.
-
UnregisterDeviceNotification
Removes an ETW notification registration.
-
UnregisterHotKey
Unregisters a hotkey.
-
WaitForMultipleObjects
Waits for one or more synchronisation objects.
-
WaitForSingleObject
Waits for an object such as an event or process to become signalled.
-
WaitForSingleObjectEx
Waits for an object with alertable APC delivery.
-
WinExec
Legacy function that runs a program; superseded by CreateProcess.
-
WinHttpCloseHandle
Closes a WinHTTP handle.
-
WNetCloseEnum
Closes a network enumeration handle.
-
WNetGetUniversalNameW
Converts a drive path to its UNC form.
-
WriteConsoleW
Writes characters to a console screen buffer.
-
WriteFile
Writes data to a file or device.
-
WSACleanup
Releases Winsock resources.
-
WSACloseEvent
Closes a Winsock event object.
-
WSACreateEvent
Creates a Winsock event object.
-
WSAGetLastError
Returns the last Winsock error for the calling thread.
-
WSAResetEvent
Resets a Winsock event object.
-
WSASetEvent
Sets a Winsock event object to signalled.
-
WSASetLastError
Sets the Winsock error value for the calling thread.