⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 windows_data_types.htm

📁 关于windows使用的一些文章收集,希望对入门者能有所帮助
💻 HTM
📖 第 1 页 / 共 5 页
字号:
            development_language="C++">
            <P></P>
            <DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef HINSTANCE HMODULE;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>HMONITOR</B></TD>
          <TD class=data>Handle to a display monitor. 
            <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 &gt;= 0x0500) typedef HANDLE HMONITOR;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>HPALETTE</B></TD>
          <TD class=data>Handle to a <A 
            href="http://msdn.microsoft.com/library/en-us/gdi/colors_87zn.asp">palette</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 HPALETTE;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>HPEN</B></TD>
          <TD class=data>Handle to a <A 
            href="http://msdn.microsoft.com/library/en-us/gdi/pens_1q0j.asp">pen</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 HPEN;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>HRESULT</B></TD>
          <TD class=data>Return code used by interfaces. It is zero upon 
            success and nonzero to represent an error code or status 
            information. 
            <P>This type is declared in WinNT.h as follows:</P>
            <DIV class=conditionalSection id=newLanguageFilteredSection 
            development_language="C++">
            <P></P>
            <DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef LONG HRESULT;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>HRGN</B></TD>
          <TD class=data>Handle to a <A 
            href="http://msdn.microsoft.com/library/en-us/gdi/regions_7ab7.asp">region</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 HRGN;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>HRSRC</B></TD>
          <TD class=data>Handle to a resource. 
            <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 HRSRC;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>HSZ</B></TD>
          <TD class=data>Handle to a DDE string. 
            <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 HSZ;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>HWINSTA</B></TD>
          <TD class=data>Handle to a <A 
            href="http://msdn.microsoft.com/library/en-us/dllproc/base/window_stations.asp">window 
            station</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 WINSTA;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>HWND</B></TD>
          <TD class=data>Handle to a <A 
            href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/windows.asp">window</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 HWND;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>INT</B></TD>
          <TD class=data>32-bit signed integer. 
            <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 INT;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>INT_PTR</B></TD>
          <TD class=data>Signed integer type for pointer precision. Use when 
            casting a pointer to an integer to perform pointer arithmetic. 
            <P>This type is declared in BaseTsd.h as follows:</P>
            <DIV class=conditionalSection id=newLanguageFilteredSection 
            development_language="C++">
            <P></P>
            <DIV class=codeSnippet><PRE class=syntax xml:space="preserve">#if defined(_WIN64) 
 typedef __int64 INT_PTR; 
#else 
 typedef int INT_PTR;
#endif</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>INT32</B></TD>
          <TD class=data>32-bit signed integer. 
            <P>This type is declared in BaseTsd.h as follows:</P>
            <DIV class=conditionalSection id=newLanguageFilteredSection 
            development_language="C++">
            <P></P>
            <DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef signed int INT32;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>INT64</B></TD>
          <TD class=data>64-bit signed integer. 
            <P>This type is declared in BaseTsd.h as follows:</P>
            <DIV class=conditionalSection id=newLanguageFilteredSection 
            development_language="C++">
            <P></P>
            <DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef signed __int64 INT64;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>LANGID</B></TD>
          <TD class=data>Language identifier. For more information, see <A 
            href="http://msdn.microsoft.com/library/en-us/intl/nls_2jzn.asp">Locales</A>. 

            <P>This type is declared in WinNT.h as follows:</P>
            <DIV class=conditionalSection id=newLanguageFilteredSection 
            development_language="C++">
            <P></P>
            <DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef WORD LANGID;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>LCID</B></TD>
          <TD class=data>Locale identifier. For more information, see <A 
            href="http://msdn.microsoft.com/library/en-us/intl/nls_2jzn.asp">Locales</A>. 

            <P>This type is declared in WinNT.h as follows:</P>
            <DIV class=conditionalSection id=newLanguageFilteredSection 
            development_language="C++">
            <P></P>
            <DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef DWORD LCID;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>LCTYPE</B></TD>
          <TD class=data>Locale information type. For a list, see <A 
            href="http://msdn.microsoft.com/library/en-us/intl/nls_3fe6.asp">Locale 
            and Language Information</A>. 
            <P>This type is declared in WinNls.h as follows:</P>
            <DIV class=conditionalSection id=newLanguageFilteredSection 
            development_language="C++">
            <P></P>
            <DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef DWORD LCTYPE;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>LGRPID</B></TD>
          <TD class=data>Language group identifier. For a list, see <A 
            href="http://msdn.microsoft.com/library/en-us/intl/nls_7noz.asp"><B>EnumLanguageGroupLocales</B></A>. 

            <P>This type is declared in WinNls.h as follows:</P>
            <DIV class=conditionalSection id=newLanguageFilteredSection 
            development_language="C++">
            <P></P>
            <DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef DWORD LGRPID;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>LONG</B></TD>
          <TD class=data>32-bit signed integer. 
            <P>This type is declared in WinNT.h as follows:</P>
            <DIV class=conditionalSection id=newLanguageFilteredSection 
            development_language="C++">
            <P></P>
            <DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef long LONG;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>LONGLONG</B></TD>
          <TD class=data>64-bit signed integer. 
            <P>This type is declared in WinNT.h as follows:</P>
            <DIV class=conditionalSection id=newLanguageFilteredSection 
            development_language="C++">
            <P></P>
            <DIV class=codeSnippet><PRE class=syntax xml:space="preserve">#if !defined(_M_IX86)
 typedef __int64 LONGLONG; 
#else
 typedef double LONGLONG;
#endif</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>LONG_PTR</B></TD>
          <TD class=data>Signed long type for pointer precision. Use when 
            casting a pointer to a long to perform pointer arithmetic. 
            <P>This type is declared in BaseTsd.h as follows:</P>
            <DIV class=conditionalSection id=newLanguageFilteredSection 
            development_language="C++">
            <P></P>
            <DIV class=codeSnippet><PRE class=syntax xml:space="preserve">#if defined(_WIN64)
 typedef __int64 LONG_PTR; 
#else
 typedef long LONG_PTR;
#endif</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>LONG32</B></TD>
          <TD class=data>32-bit signed integer. 
            <P>This type is declared in BaseTsd.h as follows:</P>
            <DIV class=conditionalSection id=newLanguageFilteredSection 
            development_language="C++">
            <P></P>
            <DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef signed int LONG32;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>LONG64</B></TD>
          <TD class=data>64-bit signed integer. 
            <P>This type is declared in BaseTsd.h as follows:</P>
            <DIV class=conditionalSection id=newLanguageFilteredSection 
            development_language="C++">
            <P></P>
            <DIV class=codeSnippet><PRE class=syntax xml:space="preserve">typedef __int64 LONG64;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>LPARAM</B></TD>
          <TD class=data>Message parameter. 
            <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 LONG_PTR LPARAM;</PRE></DIV></DIV></TD></TR>
        <TR class=data>
          <TD class=data><B>LPBOOL</B></TD>
          <TD class=data>Pointer to a <B>BOOL</B>. 
            <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 BOOL far *LPBOOL;</PRE></DIV></DIV></TD></TR>
        <TR class=data>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -