Windows API Reference
Welcome to the comprehensive reference for the Windows API. This section provides detailed documentation for the interfaces and functions that allow you to develop applications for the Microsoft Windows operating system.
Featured API Groups
- Kernel Services: Explore functions for managing processes, threads, memory, and system objects.
- Graphics Device Interface (GDI): Learn how to draw graphics, text, and manage device contexts for rendering.
- Win32 API: The core set of functions for building Windows applications, covering windows, messages, controls, and more.
- Winsock: Documentation for the Windows Sockets API, enabling network programming.
Popular Functions
CreateProcess
Creates a new process and its primary thread. The new process runs in the same address space of the calling process or in a separate address space.
BOOL CreateProcess(
LPCSTR lpApplicationName,
LPSTR lpCommandLine,
LPSECURITY_ATTRIBUTES lpProcessAttributes,
LPSECURITY_ATTRIBUTES lpThreadAttributes,
BOOL bInheritHandles,
DWORD dwCreationFlags,
LPVOID lpEnvironment,
LPCSTR lpCurrentDirectory,
LPSTARTUPINFO lpStartupInfo,
LPPROCESS_INFORMATION lpProcessInformation
);
For more details, see the official documentation for CreateProcess
.
CreateWindowEx
Creates an overlapped, pop-up, or child window. It includes extra-detailed window creation parameters.
HWND CreateWindowEx(
DWORD dwExStyle,
LPCTSTR lpClassName,
LPCTSTR lpWindowName,
DWORD dwStyle,
int x,
int y,
int nWidth,
int nHeight,
HWND hWndParent,
HMENU hMenu,
HINSTANCE hInstance,
LPVOID lpParam
);
Find comprehensive usage examples in the CreateWindowEx
API details.
Browse through the categories on the left or use the search bar to find the specific API functions, structures, and concepts you need.