Handle, Windows data type

Source: Internet
Author: User

word:16 bit unsigned integer datadword:32 bit unsigned integer data (DWORD32)dword64:64 bit unsigned integer dataint:32-bit signed integer data typeINT_PTR: pointer type pointing to INT data typeint32:32 bit symbol integral typeint64:64 bit symbol integral typeUINT: Unsigned intlong:32 bit symbol integral type (LONG32)ULONG: unsigned longlonglong:64 bit symbol integral type (LONG64)short: unsigned shorter (16-bit)LPARAM: L parameter of messageWPARAM: The W parameter of the messageHANDLE: The handle of the object, the most basic handle typeHicon: Handle to Iconhinstance: Handle to a program instanceHKEY: Handle to registry keyhmodule: Handle to ModuleHWND: Handle to WindowLPSTR: A character pointer, which is a string variableLPCSTR: String ConstantsLPCTSTR: Depending on the environment configuration, if a Unicode macro is defined, it is the LPCWSTR type, otherwise the LPCSTR typeLpcwstr:unicode String ConstantsLpdword: Pointer to DWORD type datachar:8 Bit bytesTCHAR: WCHAR If Unicode is defined, otherwise charUCHAR: unsigned charwchar:16-bit Unicode charactersbool: Boolean variablebyte : Byte type (8 bit)Const: Constantfloat: Floating-point data typesize_t: Represents the memory size, in bytes, whose maximum is the maximum address range of the CPUvoid: untyped, equivalent to void in the standard C languageWinapi:windows API function call method, common in the SDK header file in the API function declaration, equivalent to _stdcall (more strictly speaking, this is not a data type, but a function calling convention BYTE 8-bit unsigned char
Char 8-bit Char
BOOL 16-bit int
DWORD 32-bit unsigned long int
HANDLE General Handle
HWND 32-bit long int
Long 32-bit long int
LPCSTR A const pointer to a string
LPSTR pointer to a string
Short 16-bit integer
UINT 32-bit unsigned long integer
WORD 16-bit unsigned short integer


BITMAP Bitmap (DIB) independent of the logical device
Logbrush Logic Brush
LOGFONT Logical Font
Logpen Logic Pen
MSG window message
Point points
Rect rectangle
WNDCLASS window class Structure


Hbitmap a handle to the memory domain that holds the DIB image information
Hbrush handle for a brush that fills the device range when drawing
Hctl a handle to a child window control
Hcursor mouse cursor Handle
HDc Device Description Table handle
Hdlg Handle to text font
Hfont Handle to text font
Handle to the Hicon icon
HINSTANCE Windows application Instance handle
HMEM memory block Handle
HMenu menu or pop-up menu handle
Handle to the hmodule pattern, commonly used to get resource data from an executable file
Hpalette color Palette
Hpen the handle of the pen used to indicate the Linetype when drawing on the device
HRGN a handle to a piece of area on a window
Htask handles that are independent of the executed task
HWnd window Handle

Handle, Windows data type

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.