Windows API Reference – Terms

Common Windows API Terms

HANDLE

A generic pointer to an opaque object used by the Windows operating system to reference resources such as files, windows, or processes.

LPARAM

Long pointer to a value passed as a message parameter. In 64‑bit builds it is a 64‑bit integer.

LRESULT

The result of a window procedure call; typically a signed integer used to convey status or data back to the system.

DWORD

Double word – a 32‑bit unsigned integer. Frequently used for flags, sizes, and identifiers.

HRESULT

A 32‑bit value used to indicate success or failure of COM and Win32 functions. The highest bit denotes failure (1) or success (0).

SC_HANDLE

A service control manager handle used with the Service Control API to manage Windows services.

PEB

Process Environment Block – a data structure in user mode that contains information about a process.

PE

Portable Executable – the file format for executables, DLLs, and other binary modules in Windows.

CLS​ID

Class Identifier – a GUID that uniquely identifies a COM class object.

© 2025 Microsoft. All rights reserved.