VC++所有的数据类型.docx
文本预览下载声明
Windows Data TypesThe data types supported by Microsoft? Windows? are used to define function return values, function and message parameters, and structure members. They define the size and meaning of these elements.The following table contains the following types: character, integer, Boolean, pointer, and handle. The character, integer, and Boolean types are common to most C compilers. Most of the pointer-type names begin with a prefix of P or LP. Handles refer to a resource that has been loaded into memory. TypeDefinitionATOMAtom. For more information, see JavaScript:hhobj_1.Click()Atoms.BOOLBoolean variable (should be TRUE or FALSE).BOOLEANBoolean variable (should be TRUE or FALSE).BYTEByte (8 bits).CALLBACKCalling convention for callback functions.CHAR8-bit Windows (ANSI) character. For more information, see JavaScript:hhobj_2.Click()Character Sets Used By Fonts.COLORREFRed, green, blue (RGB) color value (32 bits). See JavaScript:hhobj_3.Click()COLORREF for information on this type.CONSTVariable whose value is to remain constant during execution.CRITICAL_SECTIONCritical-section object. For more information, see JavaScript:hhobj_4.Click()Critical Section Objects.DWORD32-bit unsigned integer. DWORD_PTRUnsigned long type for pointer precision. Use when casting a pointer to a long type to perform pointer arithmetic.DWORD3232-bit unsigned integer.DWORD6464-bit unsigned integer.FLOATFloating-point variable.HACCELHandle to an JavaScript:hhobj_5.Click()accelerator table.HANDLEHandle to an object.HBITMAPHandle to a JavaScript:hhobj_6.Click()bitmap.HBRUSHHandle to a JavaScript:hhobj_7.Click()brush.HCONVHandle to a dynamic data exchange (DDE) conversation.HCONVLISTHandle to a DDE conversation list.HCURSORHandle to a JavaScript:hhobj_8.Click()cursor.HDCHandle to a JavaScript:hhobj_9.Click()device context (DC).HDDEDATAHandle to DDE data.HDESKHandle to a JavaScript:hhobj_10.Click()desktop.HDROPHandle to an internal drop structure.HDWPHandle to a deferred window position struc
显示全部