📄 windows_data_types.htm
字号:
<TD class=data><B>LPBYTE</B></TD>
<TD class=data>Pointer to a <B>BYTE</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 BYTE far *LPBYTE;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LPCOLORREF</B></TD>
<TD class=data>Pointer to a <B>COLORREF</B> value.
<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 DWORD *LPCOLORREF;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LPCSTR</B></TD>
<TD class=data>Pointer to a constant null-terminated string of 8-bit
Windows (ANSI) characters. For more information, see <A
href="http://msdn.microsoft.com/library/en-us/gdi/fontext_89gz.asp">Character
Sets Used By Fonts</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 __nullterminated CONST CHAR *LPCSTR;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LPCTSTR</B></TD>
<TD class=data>An <B>LPCWSTR</B> if <A
href="http://msdn.microsoft.com/library/en-us/intl/unicode_28c3.asp">UNICODE</A>
is defined, an <B>LPCSTR</B> otherwise.
<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">#ifdef UNICODE
typedef LPCWSTR LPCTSTR;
#else
typedef LPCSTR LPCTSTR;
#endif</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LPCVOID</B></TD>
<TD class=data>Pointer to a constant of any type.
<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 CONST void *LPCVOID;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LPCWSTR</B></TD>
<TD class=data>Pointer to a constant null-terminated string of
16-bit Unicode characters. For more information, see <A
href="http://msdn.microsoft.com/library/en-us/gdi/fontext_89gz.asp">Character
Sets Used By Fonts</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 CONST WCHAR *LPCWSTR;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LPDWORD</B></TD>
<TD class=data>Pointer to a <B>DWORD</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 DWORD *LPDWORD;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LPHANDLE</B></TD>
<TD class=data>Pointer to a <B>HANDLE</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 HANDLE *LPHANDLE;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LPINT</B></TD>
<TD class=data>Pointer to an <B>INT</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 int *LPINT;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LPLONG</B></TD>
<TD class=data>Pointer to a <B>LONG</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 long *LPLONG;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LPSTR</B></TD>
<TD class=data>Pointer to a null-terminated string of 8-bit Windows
(ANSI) characters. For more information, see <A
href="http://msdn.microsoft.com/library/en-us/gdi/fontext_89gz.asp">Character
Sets Used By Fonts</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 CHAR *LPSTR;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LPTSTR</B></TD>
<TD class=data>An <B>LPWSTR</B> if <A
href="http://msdn.microsoft.com/library/en-us/intl/unicode_28c3.asp">UNICODE</A>
is defined, an <B>LPSTR</B> otherwise.
<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">#ifdef UNICODE
typedef LPWSTR LPTSTR;
#else
typedef LPSTR LPTSTR;
#endif</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LPVOID</B></TD>
<TD class=data>Pointer to any type.
<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 void *LPVOID;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LPWORD</B></TD>
<TD class=data>Pointer to a <B>WORD</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 WORD *LPWORD;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LPWSTR</B></TD>
<TD class=data>Pointer to a null-terminated string of 16-bit Unicode
characters. For more information, see <A
href="http://msdn.microsoft.com/library/en-us/gdi/fontext_89gz.asp">Character
Sets Used By Fonts</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 WCHAR *LPWSTR;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>LRESULT</B></TD>
<TD class=data>Signed result of message processing.
<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 LRESULT;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>PBOOL</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 *PBOOL;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>PBOOLEAN</B></TD>
<TD class=data>Pointer to a <B>BOOL</B>.
<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 BOOLEAN *PBOOLEAN;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>PBYTE</B></TD>
<TD class=data>Pointer to a <B>BYTE</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 BYTE *PBYTE;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>PCHAR</B></TD>
<TD class=data>Pointer to a <B>CHAR</B>.
<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 CHAR *PCHAR;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>PCSTR</B></TD>
<TD class=data>Pointer to a constant null-terminated string of 8-bit
Windows (ANSI) characters. For more information, see <A
href="http://msdn.microsoft.com/library/en-us/gdi/fontext_89gz.asp">Character
Sets Used By Fonts</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 CONST CHAR *PCSTR;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>PCTSTR</B></TD>
<TD class=data>A <B>PCWSTR</B> if <A
href="http://msdn.microsoft.com/library/en-us/intl/unicode_28c3.asp">UNICODE</A>
is defined, a <B>PCSTR</B> otherwise.
<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">#ifdef UNICODE
typedef LPCWSTR PCTSTR;
#else
typedef LPCSTR PCTSTR;
#endif</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>PCWSTR</B></TD>
<TD class=data>Pointer to a constant null-terminated string of
16-bit Unicode characters. For more information, see <A
href="http://msdn.microsoft.com/library/en-us/gdi/fontext_89gz.asp">Character
Sets Used By Fonts</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 CONST WCHAR *PCWSTR;</PRE></DIV></DIV></TD></TR>
<TR class=data>
<TD class=data><B>PDWORD</B></TD>
<TD class=data>Pointer to a <B>DWORD</B>.
<P>This type is declared in WinDef.h as follows:</P>
<DIV class=conditionalSection id=newLanguageFilteredSection
development_language="C++">
<P></P>
<DIV class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -