Platform SDK data types
来源:互联网 发布:淘宝店铺上货数量限制 编辑:程序博客网 时间:2024/06/06 20:28
Windows Data Types
The data types supported by Microsoft® Windows® are used to define function return values, function and message parameters, and structure members. They define the size and meaning of these elements. For more information about the underlying C/C++ data types, see Data Type Ranges.
The following table contains the following types: character, integer, Boolean, pointer, and handle. The character, integer, and Boolean types are common to most C compilers. Most of the pointer-type names begin with a prefix of P or LP. Handles refer to a resource that has been loaded into memory.
For more information about handling 64-bit integers, see Large Integers.
This type is declared in WinDef.h as follows:
typedef WORD ATOM;
This type is declared in WinDef.h as follows:
typedef int BOOL;
This type is declared in WinNT.h as follows:
typedef BYTE BOOLEAN;
This type is declared in WinDef.h as follows:
typedef unsigned char BYTE;
This type is declared in WinDef.h as follows:
#define CALLBACK __stdcall
This type is declared in WinNT.h as follows:
typedef char CHAR;
This type is declared in WinDef.h as follows:
typedef DWORD COLORREF;
This type is declared in WinDef.h as follows:
#define CONST const
This type is declared in WinDef.h as follows:
typedef unsigned long DWORD;
This type is declared in WinNT.h as follows:
typedef ULONGLONG DWORDLONG;
This type is declared in BaseTsd.h as follows:
typedef ULONG_PTR DWORD_PTR;
This type is declared in BaseTsd.h as follows:
typedef unsigned int DWORD32;
This type is declared in BaseTsd.h as follows:
typedef unsigned __int64 DWORD64;
This type is declared in WinDef.h as follows:
typedef float FLOAT;
This type is declared in WinDef.h as follows:
typedef HANDLE HACCEL;
This type is declared in Basetsd.h as follows:
#ifdef _WIN64 typedef int HALF_PTR;#else typedef short HALF_PTR;#endif
This type is declared in WinNT.h as follows:
typedef PVOID HANDLE;
This type is declared in WinDef.h as follows:
typedef HANDLE HBITMAP;
This type is declared in WinDef.h as follows:
typedef HANDLE HBRUSH;
This type is declared in WinDef.h as follows:
#if(WINVER >= 0x0400) typedef HANDLE HCOLORSPACE;#endif
This type is declared in Ddeml.h as follows:
typedef HANDLE HCONV;
This type is declared in Ddeml.h as follows:
typedef HANDLE HCONVLIST;
This type is declared in WinDef.h as follows:
typedef HICON HCURSOR;
This type is declared in WinDef.h as follows:
typedef HANDLE HDC;
This type is declared in Ddeml.h as follows:
typedef HANDLE HDDEDATA;
This type is declared in WinDef.h as follows:
typedef HANDLE HDESK;
This type is declared in ShellApi.h as follows:
typedef HANDLE HDROP;
This type is declared in WinUser.h as follows:
typedef HANDLE HDWP;
This type is declared in WinDef.h as follows:
typedef HANDLE HENHMETAFILE;
This type is declared in WinDef.h as follows:
typedef int HFILE;
This type is declared in WinDef.h as follows:
typedef HANDLE HFONT;
This type is declared in WinDef.h as follows:
typedef HANDLE HGDIOBJ;
This type is declared in WinDef.h as follows:
typedef HANDLE HGLOBAL;
This type is declared in WinDef.h as follows:
typedef HANDLE HHOOK;
This type is declared in WinDef.h as follows:
typedef HANDLE HICON;
This type is declared in WinDef.h as follows:
typedef HANDLE HINSTANCE;
This type is declared in WinDef.h as follows:
typedef HANDLE HKEY;
This type is declared in WinDef.h as follows:
typedef HANDLE HKL;
This type is declared in WinDef.h as follows:
typedef HANDLE HLOCAL;
This type is declared in WinDef.h as follows:
typedef HANDLE HMENU;
This type is declared in WinDef.h as follows:
typedef HANDLE HMETAFILE;
This type is declared in WinDef.h as follows:
typedef HINSTANCE HMODULE;
This type is declared in WinDef.h as follows:
if(WINVER >= 0x0500) typedef HANDLE HMONITOR;
This type is declared in WinDef.h as follows:
typedef HANDLE HPALETTE;
This type is declared in WinDef.h as follows:
typedef HANDLE HPEN;
This type is declared in WinNT.h as follows:
typedef LONG HRESULT;
This type is declared in WinDef.h as follows:
typedef HANDLE HRGN;
This type is declared in WinDef.h as follows:
typedef HANDLE HRSRC;
This type is declared in Ddeml.h as follows:
typedef HANDLE HSZ;
This type is declared in WinDef.h as follows:
typedef HANDLE WINSTA;
This type is declared in WinDef.h as follows:
typedef HANDLE HWND;
This type is declared in WinDef.h as follows:
typedef int INT;
This type is declared in BaseTsd.h as follows:
#if defined(_WIN64) typedef __int64 INT_PTR; #else typedef int INT_PTR;#endif
This type is declared in BaseTsd.h as follows:
typedef signed int INT32;
This type is declared in BaseTsd.h as follows:
typedef signed __int64 INT64;
This type is declared in WinNT.h as follows:
typedef WORD LANGID;
This type is declared in WinNT.h as follows:
typedef DWORD LCID;
This type is declared in WinNls.h as follows:
typedef DWORD LCTYPE;
This type is declared in WinNls.h as follows:
typedef DWORD LGRPID;
This type is declared in WinNT.h as follows:
typedef long LONG;
This type is declared in WinNT.h as follows:
#if !defined(_M_IX86) typedef __int64 LONGLONG; #else typedef double LONGLONG;#endif
This type is declared in BaseTsd.h as follows:
#if defined(_WIN64) typedef __int64 LONG_PTR; #else typedef long LONG_PTR;#endif
This type is declared in BaseTsd.h as follows:
typedef signed int LONG32;
This type is declared in BaseTsd.h as follows:
typedef __int64 LONG64;
This type is declared in WinDef.h as follows:
typedef LONG_PTR LPARAM;
This type is declared in WinDef.h as follows:
typedef BOOL far *LPBOOL;
This type is declared in WinDef.h as follows:
typedef BYTE far *LPBYTE;
This type is declared in WinDef.h as follows:
typedef DWORD *LPCOLORREF;
This type is declared in WinNT.h as follows:
typedef __nullterminated CONST CHAR *LPCSTR;
This type is declared in WinNT.h as follows:
#ifdef UNICODE typedef LPCWSTR LPCTSTR; #else typedef LPCSTR LPCTSTR;#endif
This type is declared in WinDef.h as follows:
typedef CONST void *LPCVOID;
This type is declared in WinNT.h as follows:
typedef CONST WCHAR *LPCWSTR;
This type is declared in WinDef.h as follows:
typedef DWORD *LPDWORD;
This type is declared in WinDef.h as follows:
typedef HANDLE *LPHANDLE;
This type is declared in WinDef.h as follows:
typedef int *LPINT;
This type is declared in WinDef.h as follows:
typedef long *LPLONG;
This type is declared in WinNT.h as follows:
typedef CHAR *LPSTR;
This type is declared in WinNT.h as follows:
#ifdef UNICODE typedef LPWSTR LPTSTR;#else typedef LPSTR LPTSTR;#endif
This type is declared in WinDef.h as follows:
typedef void *LPVOID;
This type is declared in WinDef.h as follows:
typedef WORD *LPWORD;
This type is declared in WinNT.h as follows:
typedef WCHAR *LPWSTR;
This type is declared in WinDef.h as follows:
typedef LONG_PTR LRESULT;
This type is declared in WinDef.h as follows:
typedef BOOL *PBOOL;
This type is declared in WinNT.h as follows:
typedef BOOLEAN *PBOOLEAN;
This type is declared in WinDef.h as follows:
typedef BYTE *PBYTE;
This type is declared in WinNT.h as follows:
typedef CHAR *PCHAR;
This type is declared in WinNT.h as follows:
typedef CONST CHAR *PCSTR;
This type is declared in WinNT.h as follows:
#ifdef UNICODE typedef LPCWSTR PCTSTR;#else typedef LPCSTR PCTSTR;#endif
This type is declared in WinNT.h as follows:
typedef CONST WCHAR *PCWSTR;
This type is declared in WinDef.h as follows:
typedef DWORD *PDWORD;
This type is declared in WinNT.h as follows:
typedef DWORDLONG *PDWORDLONG;
This type is declared in BaseTsd.h as follows:
typedef DWORD_PTR *PDWORD_PTR;
This type is declared in BaseTsd.h as follows:
typedef DWORD32 *PDWORD32;
This type is declared in BaseTsd.h as follows:
typedef DWORD64 *PDWORD64;
This type is declared in WinDef.h as follows:
typedef FLOAT *PFLOAT;
This type is declared in Basetsd.h as follows:
#ifdef _WIN64 typedef HALF_PTR *PHALF_PTR;#else typedef HALF_PTR *PHALF_PTR;#endif
This type is declared in WinNT.h as follows:
typedef HANDLE *PHANDLE;
This type is declared in WinDef.h as follows:
typedef HKEY *PHKEY;
This type is declared in WinDef.h as follows:
typedef int *PINT;
This type is declared in BaseTsd.h as follows:
typedef INT_PTR *PINT_PTR;
This type is declared in BaseTsd.h as follows:
typedef INT32 *PINT32;
This type is declared in BaseTsd.h as follows:
typedef INT64 *PINT64;
This type is declared in WinNT.h as follows:
typedef PDWORD PLCID;
This type is declared in WinNT.h as follows:
typedef LONG *PLONG;
This type is declared in WinNT.h as follows:
typedef LONGLONG *PLONGLONG;
This type is declared in BaseTsd.h as follows:
typedef LONG_PTR *PLONG_PTR;
This type is declared in BaseTsd.h as follows:
typedef LONG32 *PLONG32;
This type is declared in BaseTsd.h as follows:
typedef LONG64 *PLONG64;
This type is declared in BaseTsd.h as follows:
#if defined(_WIN64)#define POINTER_32 __ptr32#else#define POINTER32#endif
Note that it is not safe to assume the state of the high pointer bit.
This type is declared in BaseTsd.h as follows:
#define POINTER_64 __ptr64
This type is declared in WinNT.h as follows:
typedef SHORT *PSHORT;
This type is declared in BaseTsd.h as follows:
typedef SIZE_T *PSIZE_T;
This type is declared in BaseTsd.h as follows:
typedef SSIZE_T *PSSIZE_T;
This type is declared in WinNT.h as follows:
typedef CHAR *PSTR;
This type is declared in WinNT.h as follows:
typedef TBYTE *PTBYTE;
This type is declared in WinNT.h as follows:
typedef TCHAR *PTCHAR;
This type is declared in WinNT.h as follows:
#ifdef UNICODE typedef LPWSTR PTSTR;#else typedef LPSTR PTSTR;#endif
This type is declared in WinDef.h as follows:
typedef UCHAR *PUCHAR;
This type is declared in Basetsd.h as follows:
#ifdef _WIN64 typedef UHALF_PTR *PUHALF_PTR;#else typedef UHALF_PTR *PUHALF_PTR;#endif
This type is declared in WinDef.h as follows:
typedef UINT *PUINT;
This type is declared in BaseTsd.h as follows:
typedef UINT_PTR *PUINT_PTR;
This type is declared in BaseTsd.h as follows:
typedef UINT32 *PUINT32;
This type is declared in BaseTsd.h as follows:
typedef UINT64 *PUINT64;
This type is declared in WinDef.h as follows:
typedef ULONG *PULONG;
This type is declared in WinDef.h as follows:
typedef ULONGLONG *PULONGLONG;
This type is declared in BaseTsd.h as follows:
typedef ULONG_PTR *PULONG_PTR;
This type is declared in BaseTsd.h as follows:
typedef ULONG32 *PULONG32;
This type is declared in BaseTsd.h as follows:
typedef ULONG64 *PULONG64;
This type is declared in WinDef.h as follows:
typedef USHORT *PUSHORT;
This type is declared in WinNT.h as follows:
typedef void *PVOID;
This type is declared in WinNT.h as follows:
typedef WCHAR *PWCHAR;
This type is declared in WinDef.h as follows:
typedef WORD *PWORD;
This type is declared in WinNT.h as follows:
typedef WCHAR *PWSTR;
This type is declared in WinSvc.h as follows:
typedef HANDLE SC_HANDLE;
This type is declared in WinSvc.h as follows:
typedef LPVOID SC_LOCK;
This type is declared in WinSvc.h as follows:
typedef HANDLE SERVICE_STATUS_HANDLE;
This type is declared in WinNT.h as follows:
typedef short SHORT;
This type is declared in BaseTsd.h as follows:
typedef ULONG_PTR SIZE_T;
This type is declared in BaseTsd.h as follows:
typedef LONG_PTR SSIZE_T;
This type is declared in WinNT.h as follows:
#ifdef UNICODE typedef WCHAR TBYTE;#else typedef unsigned char TBYTE;#endif
This type is declared in WinNT.h as follows:
#ifdef UNICODE typedef WCHAR TCHAR;#else typedef char TCHAR;#endif
This type is declared in WinDef.h as follows:
typedef unsigned char UCHAR;
This type is declared in Basetsd.h as follows:
#ifdef _WIN64 typedef unsigned int UHALF_PTR;#else typedef unsigned short UHALF_PTR;#endif
This type is declared in WinDef.h as follows:
typedef unsigned int UINT;
This type is declared in BaseTsd.h as follows:
#if defined(_WIN64) typedef unsigned __int64 UINT_PTR;#else typedef unsigned int UINT_PTR;#endif
This type is declared in BaseTsd.h as follows:
typedef unsigned int UINT32;
This type is declared in BaseTsd.h as follows:
typedef usigned __int 64 UINT64;
This type is declared in WinDef.h as follows:
typedef unsigned long ULONG;
This type is declared in WinNT.h as follows:
#if !defined(_M_IX86) typedef unsigned __int64 ULONGLONG;#else typedef double ULONGLONG#endif
This type is declared in BaseTsd.h as follows:
#if defined(_WIN64) typedef unsigned __int64 ULONG_PTR;#else typedef unsigned long ULONG_PTR;#endif
This type is declared in BaseTsd.h as follows:
typedef unsigned int ULONG32;
This type is declared in BaseTsd.h as follows:
typedef unsigned __int64 ULONG64;
This type is declared in WinDef.h as follows:
typedef unsigned short USHORT;
This type is declared in WinNT.h as follows:
typedef LONGLONG USN;
This type is declared in WinNT.h as follows:
#define VOID void
This type is declared in WinNT.h as follows:
typedef wchar_t WCHAR;
This type is declared in WinDef.h as follows:
#define WINAPI __stdcall
This type is declared in WinDef.h as follows:
typedef unsigned short WORD;
This type is declared in WinDef.h as follows:
typedef UINT_PTR WPARAM;
- Platform SDK data types
- Commonly Used Windows SDK and MFC Data Types
- Data Types
- Data Types
- Data Types
- Data Types
- Data Types
- Data Types
- Data Types
- Data Types
- Data Types
- Data Types
- DATA TYPES
- Platform SDK
- Platform SDK
- C# - DATA TYPES C# - DATA TYPES
- Windows Data Types
- Unusual Data Types
- What is the 4th Generation White-box-testing Methodology(4GWM)
- windows data type
- 周庄
- 网上计算机书店折扣“战火”烧
- 看真情“糊涂的爱”感觉两位“纯情”的主持人是从天上来的!
- Platform SDK data types
- 用宏定义函数的特点
- 编写多线程的 Java 应用程序
- 中国铁路图
- 股市术语
- Programming Windows程式开发设计指南->第五章 例子程序3
- 南方.北方(更新中...)
- LAVA-LAVA ,想说爱你不容易
- 江苏扬州