Win32 Simple Data Types.docx

上传人:b****7 文档编号:26286275 上传时间:2023-06-17 格式:DOCX 页数:18 大小:18.22KB
下载 相关 举报
Win32 Simple Data Types.docx_第1页
第1页 / 共18页
Win32 Simple Data Types.docx_第2页
第2页 / 共18页
Win32 Simple Data Types.docx_第3页
第3页 / 共18页
Win32 Simple Data Types.docx_第4页
第4页 / 共18页
Win32 Simple Data Types.docx_第5页
第5页 / 共18页
点击查看更多>>
下载资源
资源描述

Win32 Simple Data Types.docx

《Win32 Simple Data Types.docx》由会员分享,可在线阅读,更多相关《Win32 Simple Data Types.docx(18页珍藏版)》请在冰豆网上搜索。

Win32 Simple Data Types.docx

Win32SimpleDataTypes

Win32SimpleDataTypes

ThesimpledatatypessupportedbytheWin32APIareusedtodefinefunctionreturnvalues,functionandmessageparameters,andstructuremembers.Theydefinethesizeandmeaningoftheseelements

Thefollowingtablecontainsthefollowingtypes:

character,integer,Boolean,pointer,andhandle.Thecharacter,integer,andBooleantypesarecommontomostCcompilers.Mostofthepointer-typenamesbeginwithaprefixofPorLP.AWin32-basedapplicationusesahandletorefertoaresourcethathasbeenloadedintomemory.

Type

Definition

ABORTPROC

Pointertoanapplication-definedcallbackfunctionthatthesystemcallswhenaprintjobistobecanceledduringspooling.SeeAbortProcforinformationonfunctionsofthistype.

ACMDRIVERENUMCB

Pointertoanapplication-definedcallbackfunctionthatisusedwithacmDriverEnum.SeeacmDriverEnumCallbackforinformationonfunctionsofthistype.

ACMDRIVERPROC

Pointertoanapplication-definedcallbackfunctionthatisusedwithaninstallableaudiocompressionmanager(ACM)driver.SeeacmDriverProcforinformationonfunctionsofthistype.

ACMFILTERCHOOSEHOOKPROC

Pointertoanapplication-definedfunctionthathookstheacmFilterChoosedialogbox.SeeacmFilterChooseHookProcforinformationonfunctionsofthistype.

ACMFILTERENUMCB

Pointertoanapplication-definedcallbackfunctionthatisusedwiththeacmFilterEnumfunction.SeeacmFilterEnumCallbackforinformationonfunctionsofthistype.

ACMFILTERTAGENUMCB

Pointertoanapplication-definedcallbackfunctionthatisusedwithacmFilterTagEnum.SeeacmFilterTagEnumCallbackforinformationonfunctionsofthistype.

ACMFORMATCHOOSEHOOKPROC

Pointertoanapplication-definedfunctionthathookstheacmFormatChoosedialogbox.SeeacmFormatChooseHookProcforinformationonfunctionsofthistype.

ACMFORMATENUMCB

Pointertoanapplication-definedcallbackfunctionthatisusedwiththeacmFormatEnumfunction.SeeacmFormatEnumCallbackforinformationonfunctionsofthistype.

ACMFORMATTAGENUMCB

Pointertoanapplication-definedcallbackfunctionthatisusedwithacmFormatTagEnum.SeeacmFormatTagEnumCallbackforinformationonfunctionsofthistype.

APPLET_PROC

Pointertoalibrary-definedcallbackfunctionthatistheentrypointforaControlPanelapplication.SeeCplAppletforinformationonfunctionsofthistype.

ATOM

Atom(areferencetoacharacterstringinanatomtable).

BOOL

Booleanvariable(shouldbeTRUEorFALSE).

BOOLEAN

Booleanvariable(shouldbeTRUEorFALSE).

BYTE

Byte(8bits).

CALINFO_ENUMPROC

Pointertoanapplication-definedcallbackfunctionthatreceivesacalendarinformationstring.SeeEnumCalendarInfoProcforinformationonfunctionsofthistype.

CALLBACK

Callingconventionforcallbackfunctions.

CHAR

8-bitWindows(ANSI)character.Formoreinformation,seeCharacterSetsUsedByFonts.

COLORREF

Red,green,blue(RGB)colorvalue(32bits).SeeCOLORREFforinformationonthistype.

CONST

Variablewhosevalueistoremainconstantduringexecution.

CRITICAL_SECTION

Critical-sectionobject.

CTRYID

Countryidentifier.

DATEFMT_ENUMPROC

Pointertoanapplication-definedcallbackfunctionthatreceivesadateformatstring.SeeEnumDateFormatsProcforinformationonfunctionsofthistype.

DESKTOPENUMPROC

Pointertoanapplication-definedcallbackfunctionthatreceivesadesktopname.SeeEnumDesktopProcforinformationonfunctionsofthistype.

DLGPROC

Pointertoanapplication-defineddialogboxcallbackprocedure.SeeDialogProcforinformationonfunctionsofthistype.

DRAWSTATEPROC

Pointertoanapplication-definedcallbackfunctionthatrendersacompleximage.SeeDrawStateProcforinformationonfunctionsofthistype.

DWORD

32-bitunsignedinteger.

EDITWORDBREAKPROC

Pointertoanapplication-definedcallbackfunctionthattheoperatingsystemcallswhenamultilineeditcontrolneedstobreakalineoftext.SeeEditWordBreakProcforinformationonfunctionsofthistype.

ENHMFENUMPROC

Pointertoanapplication-definedcallbackfunctionthatenumeratesenhanced-metafilerecords.SeeEnhMetaFileProcforinformationonfunctionsofthistype.

ENUMRESLANGPROC

Pointertoanapplication-definedcallbackfunctionthatenumeratesresourcelanguages.SeeEnumResLangProcforinformationonfunctionsofthistype.

ENUMRESNAMEPROC

Pointertoanapplication-definedcallbackfunctionthatenumeratesresourcenames.SeeEnumResNameProcforinformationonfunctionsofthistype.

ENUMRESTYPEPROC

Pointertoanapplication-definedcallbackfunctionthatenumeratesresourcetypes.SeeEnumResTypeProcforinformationonfunctionsofthistype.

FARPROC

Pointertoacallbackfunction.

FLOAT

Floating-pointvariable.

FILE_SEGMENT_ELEMENT

64-bitpointertoabuffer.

FONTENUMPROC

Pointertoanapplication-definedcallbackfunctionthatenumeratesfonts.SeeEnumFontFamExProcforinformationonfunctionsofthistype.

GOBJENUMPROC

Pointertoanapplication-definedcallbackfunctionthatenumeratesgraphicsdeviceinterface(GDI)objects.SeeEnumObjectsProcforinformationonfunctionsofthistype.

GRAYSTRINGPROC

Pointertoanapplication-definedcallbackfunctionthatdrawsgraytext.SeeOutputProcforinformationonfunctionsofthistype.

HACCEL

Handletoanacceleratortable.

HANDLE

Handletoanobject.

HBITMAP

Handletoabitmap.

HBRUSH

Handletoabrush.

HCOLORSPACE

Handletoalogicalcolorspace.

HCONV

Handletoadynamicdataexchange(DDE)conversation.

HCONVLIST

HandletoaDDEconversationlist.

HCURSOR

Handletoacursor.

HDC

Handletoadevicecontext(DC).

HDDEDATA

HandletoDDEdata.

HDESK

Handletoadesktop.

HDROP

Handletoaninternaldropstructure.

HDWP

Handletoadeferredwindowpositionstructure.

HENHMETAFILE

Handletoanenhancedmetafile.

HFILE

HandletoafileopenedbyOpenFile,notCreateFile.

HFONT

Handletoafont.

HGDIOBJ

HandletoaGDIobject.

HGLOBAL

Handletoaglobalmemoryblock.

HHOOK

Handletoahook.

HICON

Handletoanicon.

HIMAGELIST

Handletoanimagelist.

HIMC

Handletoinputcontext.

HINSTANCE

Handletoaninstance.

HKEY

Handletoaregistrykey.

HKL

Handletoakeyboardlayout.

HLOCAL

Handletoalocalmemoryblock.

HMENU

Handletoamenu.

HMETAFILE

Handletoametafile.

HMODULE

Handletoamodule.

HMONITOR

Handletoadisplaymonitor.

HOOKPROC

Pointertoanapplication-definedhookfunctionspecifiedtoSetWindowsHookEx.Seethefollowingforinformationonfunctionsofthistype:

CallWndProc

CallWndRetProc

CBTProc

DebugProc

ForegroundIdleProc

GetMsgProc

JournalPlaybackProc

JournalRecordProc

KeyboardProc

LowLevelKeyboardProc

LowLevelMouseProc

MessageProc

MouseProc

ShellProc

SysMsgProc

HPALETTE

Handletoapalette.

HPEN

Handletoapen.

HRGN

Handletoaregion.

HRSRC

Handletoaresource.

HSZ

HandletoaDDEstring.

HTREEITEM

Handletoaniteminatree-viewcontrol.

HWINSTA

Handletoawindowstation.

HWND

Handletoawindow.

INT

Signedinteger.

IPADDR

IPaddress.Toconvertthisvaluetothe"a.b.c.d"stringformofanIPaddress,mapthehigh-orderbytetoa,thelow-orderbytetod,andsoon.

LANGID

Languageidentifier.Formoreinformation,seeLanguageIdentifiersandLocales.

LCID

Localeidentifier.Formoreinformation,seeLocaleIdentifiers(LCIDs).

LCSCSTYPE

Colorspacetype.

LCSGAMUTMATCH

Gamut-matchingmethod.

LCTYPE

Localeinformationtype.Foralist,seeLCTYPEConstants.

LINEDDAPROC

Pointertoacallbackfunctionthatprocesseslinecoordinates.SeeLineDDAProcforinformationonfunctionsofthistype.

LOCALE_ENUMPROC

Pointertoanapplication-definedcallbackfunctionthatreceivesalocaleidentifierstring.SeeEnumLocalesProcforinformationonfunctionsofthistype.

LONG

32-bitsignedinteger.

LONGLONG

64-bitsignedinteger.

LPARAM

32-bitmessageparameter.

LPBOOL

PointertoaBOOL.

LPBYTE

PointertoaBYTE.

LPCCHOOKPROC

Pointertoanapplication-definedhookfunctionusedwiththeColorcommondialogbox.SeeCCHookProcforinformationonfunctionsofthistype.

LPCFHOOKPROC

Pointertoanapplication-definedhookfunctionusedwiththeFontcommondialogbox.SeeCFHookProcforinformationonfunctionsofthistype.

LPCOLORREF

PointertoaCOLORREFvalue.

LPCRITICAL_SECTION

PointertoaCRITICAL_SECTION.

LPCSTR

Pointertoaconstantnull-terminatedstringof8-bitWindows(ANSI)characters.Formoreinformation,seeCharacterSetsUsedByFonts.

LPCTSTR

AnLPCWSTRifUNICODEisdefined,anLPCSTRotherwise.

LPCVOID

Pointertoaconstantofanytype.

LPCWSTR

Pointertoaconstantnull-terminatedstringof16-bitUnicodecharacters.Formoreinformation,seeCharacterSetsUsedByFonts.

LPDWORD

PointertoaDWORD.

LPFIBER_START_ROUTINE

Pointertoafiberfunction.SeeFiberProcforinformationonfunctionsofthistype.

LPFRHOOKPROC

Pointertoanapplication-definedhookfunctionusedwiththeFindandReplacecommondialogboxes.SeeFRHookProcforinformationonfunctionsofthistype.

LPHANDLE

PointertoaHANDLE.

LPHANDLER_FUNCTION

PointertoacontrolhandlerfunctionforaWin32service.SeeHandlerforinformationonfunctionsofthistype.

LPINT

PointertoanINT.

LPLONG

PointertoaLONG.

LPOFNHOOKPROC

Pointertoanapplication-definedhookfunctionusedwiththeOpenandSaveAscommondialogboxes.SeeOFNHookProcforinformationonfunctionsofthistype.

LPPAGEPAINTHOOK

Pointertoanapplication-definedcallbackfunctionusedwiththePageSetupcommondialogbox.SeePagePaintHookforinformationonfunctionsofthistype.

LPPAGESETUPHOOK

Pointertoanapplication-definedcallbackfunctionusedwiththePageSetupcommondialogbox.SeePageSetupHookforinformationonfunctionsofthistype.

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 农林牧渔 > 林学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1