Value |
Meaning |
ATOM |
Atom. For more information, seeAtoms. |
BOOL |
Boolean variable (should be TRUE or FALSE). |
BOOLEAN |
Boolean variable (should be TRUE or FALSE). |
BYTE |
Byte (8 bits). |
CALLBACK |
Calling convention for callback functions. |
CHAR |
8-bit Windows (ANSI) character. For more information, seeCharacter Sets Used By Fonts. |
COLORREF |
Red, green, blue (RGB) color value (32 bits). SeeCOLORREFfor information on this type. |
CONST |
Variable whose value is to remain constant during execution. |
CRITICAL_SECTION |
Critical-section object. For more information, seeCritical Section Objects. |
DWORD |
32-bit unsigned integer. |
DWORD_PTR |
Unsigned long type for pointer precision. Use when casting a pointer to a long type to perform pointer arithmetic. (Also commonly used for general 32-bit parameters that have been extended to 64 bits in 64-bit Windows. ) |
DWORD32 |
32-bit unsigned integer. |
DWORD64 |
64-bit unsigned integer. |
FLOAT |
Floating-point variable. |
HACCEL |
Handle to anaccelerator table. |
HANDLE |
Handle to an object. |
HBITMAP |
Handle to abitmap. |
HBRUSH |
Handle to abrush. |
HCONV |
Handle to a dynamic data exchange (DDE) conversation. |
HCONVLIST |
Handle to a DDE conversation list. |
HCURSOR |
Handle to acursor. |
HDC |
Handle to adevice context(DC). |
HDDEDATA |
Handle to DDE data. |
HDESK |
Handle to adesktop. |
HDROP |
Handle to an internal drop structure. |
HDWP |
Handle to a deferred window position structure. |
HENHMETAFILE |
Handle to anenhanced metafile. |
HFILE |
Handle to a file opened byOpenFile, notCreateFile. |
HFONT |
Handle to afont. |
HGDIOBJ |
Handle to a GDI object. |
HGLOBAL |
Handle to a global memory block. |
HHOOK |
Handle to ahook. |
HICON |
Handle to anicon. |
HIMAGELIST |
Handle to an image list. |
HIMC |
Handle to input context. |
HINSTANCE |
Handle to an instance. |
HKEY |
Handle to a registry key. |
HKL |
Input locale identifier. |
HLOCAL |
Handle to a local memory block. |
HMENU |
Handle to amenu. |
HMETAFILE |
Handle to ametafile. |
HMODULE |
Handle to a module. The value is the base address of the module. |
HMONITOR |
Handle to a display monitor. |
HPALETTE |
Handle to apalette. |
HPEN |
Handle to apen. |
HRGN |
Handle to aregion. |
HRSRC |
Handle to a resource. |
HSZ |
Handle to a DDE string. |
HWINSTA |
Handle to awindow station. |
HWND |
Handle to awindow. |
INT |
32-bit signed integer. |
INT_PTR |
Signed integral type for pointer precision. Use when casting a pointer to an integer to perform pointer arithmetic. |
INT32 |
32-bit signed integer. |
INT64 |
64-bit signed integer. |
LANGID |
Language identifier. For more information, seeLocales. |
LCID |
Locale identifier. For more information, seeLocales. |
LCTYPE |
Locale information type. For a list, seeLocale and Language Information. |
LONG |
32-bit signed integer. |
LONG_PTR |
Signed long type for pointer precision. Use when casting a pointer to a long to perform pointer arithmetic. |
LONG32 |
32-bit signed integer. |
LONG64 |
64-bit signed integer. |
LONGLONG |
64-bit signed integer. |
LPARAM |
Message parameter. |
LPBOOL |
Pointer to aBOOL. |
LPBYTE |
Pointer to aBYTE. |
LPCOLORREF |
Pointer to aCOLORREFvalue. |
LPCRITICAL_SECTION |
Pointer to aCRITICAL_SECTION. |
LPCSTR |
Pointer to a constant null-terminated string of 8-bit Windows (ANSI) characters. For more information, seeCharacter Sets Used By Fonts. |
LPCTSTR |
AnLPCWSTRifUNICODEis defined, anLPCTSTRotherwise. |
LPCVOID |
Pointer to a constant of any type. |
LPCWSTR |
Pointer to a constant null-terminated string of 16-bit Unicode characters. For more information, seeCharacter Sets Used By Fonts. |
LPDWORD |
Pointer to aDWORD. |
LPHANDLE |
Pointer to aHANDLE. |
LPINT |
Pointer to anINT. |
LPLONG |
Pointer to aLONG. |
LPSTR |
Pointer to a null-terminated string of 8-bit Windows (ANSI) characters. For more information, seeCharacter Sets Used By Fonts. |
LPTSTR |
AnLPWSTRifUNICODEis defined, anLPSTRotherwise. |
LPVOID |
Pointer to any type. |
LPWORD |
Pointer to aWORD. |
LPWSTR |
Pointer to a null-terminated string of 16-bit Unicode characters. For more information, seeCharacter Sets Used By Fonts. |
LRESULT |
Signed result of message processing. |
LUID |
Locally unique identifier. |
PBOOL |
Pointer to aBOOL. |
PBOOLEAN |
Pointer to aBOOL. |
PBYTE |
Pointer to aBYTE. |
PCHAR |
Pointer to aCHAR. |
PCRITICAL_SECTION |
Pointer to aCRITICAL_SECTION. |
PCSTR |
Pointer to a constant null-terminated string of 8-bit Windows (ANSI) characters. For more information, seeCharacter Sets Used By Fonts. |
PCTSTR |
APCWSTRifUNICODEis defined, aPCSTRotherwise. |
PCWCH |
Pointer to a constantWCHAR. |
PCWSTR |
Pointer to a constant null-terminated string of 16-bit Unicode characters. For more information, seeCharacter Sets Used By Fonts. |
PDWORD |
Pointer to aDWORD. |
PFLOAT |
Pointer to aFLOAT. |
PHANDLE |
Pointer to aHANDLE. |
PHKEY |
Pointer to anHKEY. |
PINT |
Pointer to anINT. |
PLCID |
Pointer to anLCID. |
PLONG |
Pointer to aLONG. |
PLUID |
Pointer to aLUID. |
POINTER_32 |
32-bit pointer. On a 32-bit system, this is a native pointer. On a 64-bit system, this is a truncated 64-bit pointer. |
POINTER_64 |
64-bit pointer. On a 64-bit system, this is a native pointer. On a 32-bit system, this is a sign-extended 32-bit pointer. |
PSHORT |
Pointer to aSHORT. |
PSTR |
Pointer to a null-terminated string of 8-bit Windows (ANSI) characters. For more information, seeCharacter Sets Used By Fonts. |
PTBYTE |
Pointer to aTBYTE. |
PTCHAR |
Pointer to aTCHAR. |
PTSTR |
PWSTRifUNICODEis defined, aPSTRotherwise. |
PTBYTE |
Pointer to aTBYTE. |
PTCHAR |
Pointer to aTCHAR. |
PTSTR |
APWSTRifUNICODEis defined, aPSTRotherwise. |
PUCHAR |
Pointer to aUCHAR. |
PUINT |
Pointer to aUINT. |
PULONG |
Pointer to aULONG. |
PUSHORT |
Pointer to aUSHORT. |
PVOID |
Pointer to any type. |
PWCHAR |
Pointer to aWCHAR. |
PWORD |
Pointer to aWORD. |
PWSTR |
Pointer to a null-terminated string of 16-bit Unicode characters. For more information, seeCharacter Sets Used By Fonts. |
REGSAM |
Security access mask for registry key. |
SC_HANDLE |
Handle to a service control manager database. For more information, seeSCM Handles. |
SC_LOCK |
Handle to a service control manager database lock. For more information, seeSCM Handles. |
SERVICE_STATUS_HANDLE |
Handle to a service status value. For more information, seeSCM Handles. |
SHORT |
Short integer (16 bits). |
SIZE_T |
The maximum number of bytes to which a pointer can point. Use for a count that must span the full range of a pointer. |
SSIZE_ T |
SignedSIZE_T. |
TBYTE |
AWCHARifUNICODEis defined, aCHARotherwise. |
TCHAR |
AWCHARifUNICODEis defined, aCHARotherwise. |
UCHAR |
UnsignedCHAR. |
UINT |
UnsignedINT. |
UINT_PTR |
UnsignedINT_PTR. |
UINT32 |
UnsignedINT32. |
UINT64 |
UnsignedINT64. |
ULONG |
UnsignedLONG. |
ULONG_PTR |
UnsignedLONG_PTR. |
ULONG32 |
UnsignedLONG32. |
ULONG64 |
UnsignedLONG64. |
ULONGLONG |
64-bit unsigned integer. |
UNSIGNED |
Unsigned attribute. |
USHORT |
UnsignedSHORT. |
VOID |
Any type. |
WCHAR |
16-bit Unicode character. For more information, seeCharacter Sets Used By Fonts. |
WINAPI |
Calling convention for system functions. |
WORD |
16-bit unsigned integer. |
WPARAM |
Message parameter. |