📄 windows_data_types.htm
字号:
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef PVOID HANDLE;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HBITMAP</B></TD>
<TD class=data>Handle to a <A
href="http://msdn.microsoft.com/library/en-us/gdi/bitmaps_99ir.asp">bitmap</A>.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HBITMAP;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HBRUSH</B></TD>
<TD class=data>Handle to a <A
href="http://msdn.microsoft.com/library/en-us/gdi/brushes_9ak3.asp">brush</A>.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HBRUSH;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HCOLORSPACE</B></TD>
<TD class=data>Handle to a <A
href="http://msdn.microsoft.com/library/en-us/icm/icm_2lo3.asp">color
space</A>.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">#if(WINVER >= 0x0400)
typedef HANDLE HCOLORSPACE;
#endif</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HCONV</B></TD>
<TD class=data>Handle to a dynamic data exchange (DDE) conversation.
<P>This type is declared in Ddeml.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HCONV;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HCONVLIST</B></TD>
<TD class=data>Handle to a DDE conversation list.
<P>This type is declared in Ddeml.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HCONVLIST;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HCURSOR</B></TD>
<TD class=data>Handle to a <A
href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/resources/cursors.asp">cursor</A>.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HICON HCURSOR;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HDC</B></TD>
<TD class=data>Handle to a <A
href="http://msdn.microsoft.com/library/en-us/gdi/devcons_0g6r.asp">device
context</A> (DC).
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HDC;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HDDEDATA</B></TD>
<TD class=data>Handle to DDE data.
<P>This type is declared in Ddeml.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HDDEDATA;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HDESK</B></TD>
<TD class=data>Handle to a <A
href="http://msdn.microsoft.com/library/en-us/dllproc/base/desktops.asp">desktop</A>.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HDESK;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HDROP</B></TD>
<TD class=data>Handle to an internal drop structure.
<P>This type is declared in ShellApi.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HDROP;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HDWP</B></TD>
<TD class=data>Handle to a deferred window position structure.
<P>This type is declared in WinUser.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HDWP;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HENHMETAFILE</B></TD>
<TD class=data>Handle to an <A
href="http://msdn.microsoft.com/library/en-us/gdi/metafile_7ulv.asp">enhanced
metafile</A>.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HENHMETAFILE;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HFILE</B></TD>
<TD class=data>Handle to a file opened by <A
href="http://msdn.microsoft.com/library/en-us/fileio/fs/openfile.asp"><B>OpenFile</B></A>,
not <A
href="http://msdn.microsoft.com/library/en-us/fileio/fs/createfile.asp"><B>CreateFile</B></A>.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef int HFILE;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HFONT</B></TD>
<TD class=data>Handle to a <A
href="http://msdn.microsoft.com/library/en-us/gdi/fontext_8ctw.asp">font</A>.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HFONT;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HGDIOBJ</B></TD>
<TD class=data>Handle to a GDI object.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HGDIOBJ;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HGLOBAL</B></TD>
<TD class=data>Handle to a global memory block.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HGLOBAL;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HHOOK</B></TD>
<TD class=data>Handle to a <A
href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/hooks.asp">hook</A>.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HHOOK;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HICON</B></TD>
<TD class=data>Handle to an <A
href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/resources/icons.asp">icon</A>.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HICON;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HINSTANCE</B></TD>
<TD class=data>Handle to an instance.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HINSTANCE;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HKEY</B></TD>
<TD class=data>Handle to a registry key.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HKEY;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HKL</B></TD>
<TD class=data>Input locale identifier.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HKL;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HLOCAL</B></TD>
<TD class=data>Handle to a local memory block.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HLOCAL;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HMENU</B></TD>
<TD class=data>Handle to a <A
href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/resources/menus.asp">menu</A>.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HMENU;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HMETAFILE</B></TD>
<TD class=data>Handle to a <A
href="http://msdn.microsoft.com/library/en-us/gdi/metafile_7ulv.asp">metafile</A>.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HANDLE HMETAFILE;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>HMODULE</B></TD>
<TD class=data>Handle to a module. The value is the base address of
the module.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -