資源描述:
《VC++宏定義數(shù)據(jù)類型大全》由會員上傳分享,免費在線閱讀,更多相關內容在教育資源-天天文庫。
1、VC++宏定義數(shù)據(jù)類型大全類型含義ATOMAtom.Formoreinformation,seeAtoms.BOOLBooleanvariable(shouldbeTRUEorFALSE).BOOLEANBooleanvariable(shouldbeTRUEorFALSE).BYTEByte(8bits).CALLBACKCallingconventionforcallbackfunctions.CHAR8-bitWindows(ANSI)character.Formoreinformation,seeCharacterSetsUsed
2、ByFonts.COLORREFRed,green,blue(RGB)colorvalue(32bits).SeeCOLORREFforinformationonthistype.CONSTVariablewhosevalueistoremainconstantduringexecution.DWORD32-bitunsignedinteger.DWORD_PTRUnsignedlongtypeforpointerprecision.Usewhencastingapointertoalongtypetoperformpointerarit
3、hmetic.(Alsocommonlyusedforgeneral32-bitparametersthathavebeenextendedto64bitsin64-bitWindows.)DWORD3232-bitunsignedinteger.DWORD6464-bitunsignedinteger.FLOATFloating-pointvariable.HACCELHandletoanacceleratortable.HANDLEHandletoanobject.HBITMAPHandletoabitmap.HBRUSHHandle
4、toabrush.HCONVHandletoadynamicdataexchange(DDE)conversation.HCONVLISTHandletoaDDEconversationlist.HCURSORHandletoacursor.HDCHandletoadevicecontext(DC).HDDEDATAHandletoDDEdata.HDESKHandletoadesktop.HDROPHandletoaninternaldropstructure.HDWPHandletoadeferredwindowpositionstr
5、ucture.HENHMETAFILEHandletoanenhancedmetafile.HFILEHandletoafileopenedbyOpenFile,notCreateFile.HFONTHandletoafont.HGDIOBJHandletoaGDIobject.HGLOBALHandletoaglobalmemoryblock.HHOOKHandletoahook.HICONHandletoanicon.HIMAGELISTHandletoanimagelist.HIMCHandletoinputcontext.HINS
6、TANCEHandletoaninstance.HKEYHandletoaregistrykey.HKLInputlocaleidentifier.HLOCALHandletoalocalmemoryblock.HMENUHandletoamenu.HMETAFILEHandletoametafile.HMODULEHandletoamodule.Thevalueisthebaseaddressofthemodule.HMONITORHandletoadisplaymonitor.HPALETTEHandletoapalette.HPEN
7、Handletoapen.HRGNHandletoaregion.HRSRCHandletoaresource.HSZHandletoaDDEstring.HWINSTAHandletoawindowstation.HWNDHandletoawindow.INT32-bitsignedinteger.INT_PTRSignedintegraltypeforpointerprecision.Usewhencastingapointertoanintegertoperformpointerarithmetic.INT3232-bitsigne
8、dinteger.INT6464-bitsignedinteger.LANGIDLanguageidentifier.Formoreinformation,seeLocales.LCIDLoc