windows預定義型別

2021-05-27 22:31:11 字數 3295 閱讀 1367

typedef int bool, *pbool, *lpbool;

typedef unsigned char byte, *pbyte, *lpbyte;

typedef byte boolean, *pboolean;

typedef wchar_t wchar, *pwchar;

typedef wchar* bstr;

typedef char char, *pchar;

typedef double double;

typedef unsigned long dword, *pdword, *lpdword;

typedef unsigned int dword32;

typedef unsigned __int64 dword64;

typedef unsigned __int64 ulonglong;

typedef ulonglong dwordlong, *pdwordlong;

typedef unsigned long error_status_t;

typedef float float;

typedef unsigned char uchar, *puchar;

typedef short short;

typedef void *handle;

typedef dword hcall;

typedef int int, *lpint;

typedef signed char int8;

typedef signed short int16;

typedef signed int int32;

typedef __int64 int64;

typedef const wchar_t* lmcstr;

typedef wchar* lmstr;

typedef long long, *plong, *lplong;

typedef int64 longlong;

typedef long hresult;

typedef __int3264 long_ptr;

typedef unsigned __int3264 ulong_ptr;

typedef signed int long32;

typedef signed __int64 long64;

typedef const char* lpcstr;

typedef const wchar_t* lpcwstr;

typedef char* pstr, *lpstr;

typedef wchar_t* lpwstr, *pwstr;

typedef dword net_api_status;

typedef long ntstatus;

typedef [context_handle] void* pcontext_handle;

typedef [ref] pcontext_handle* ppcontext_handle;

typedef unsigned __int64 qword;

typedef void* rpc_binding_handle;

typedef uchar* string;

typedef __int64 time;

typedef unsigned int uint;

typedef unsigned char uint8;

typedef unsigned short uint16;

typedef unsigned int uint32;

typedef unsigned __int64 uint64;

typedef unsigned long ulong, *pulong;

typedef ulong_ptr dword_ptr;

typedef ulong_ptr size_t;

typedef unsigned int ulong32;

typedef unsigned __int64 ulong64;

typedef wchar_t unicode;

typedef unsigned short ushort;

typedef void void, *pvoid;

typedef unsigned short word, *pword, *lpword;

typedef struct _filetimefiletime,

*pfiletime,

*lpfiletime;

typedef struct _guid guid,

uuid,

*pguid;

typedef struct _large_integer large_integer, *plarge_integer;

typedef dword lcid;

typedef struct _rpc_unicode_string rpc_unicode_string,

*prpc_unicode_string;

typedef struct _systemtimesystemtime,

*psystemtime;

typedef struct _uint128 uint128,

*puint128;

typedef struct _ularge_integer ularge_integer, *pularge_integer;

typedef struct _unicode_string unicode_string,

*punicode_string;

typedef struct _rpc_sid_identifier_authority rpc_sid_identifier_authority;

typedef dword access_mask;

typedef access_mask *paccess_mask;

typedef dword security_information, *psecurity_information;

typedef struct _rpc_sid rpc_sid,

*prpc_sid;

C 預定義型別

開發工具與關鍵技術 microsoft visual studio 2015 net預定義引用型別是物件和字串。型別物件是所有其它型別的最根本的基礎型別,而型別字串要 用來說明 unicode字串資料。預定義資料型別包括有符號和無符號整數型別 浮點數型別 二進位制 字元和十進位制型別。有符號整數型別...

指標相關的預定義型別

size t 用於安全地表示長度 ptrdiff t 用於處理指標算術運算,表示兩個指標差值的可移植方式。intptr t uintprt t 用於儲存指標位址 size t型別表示c中任何物件所能達到的最大長度。它是無符號整數,因為負數在這裡沒有意義,它的目的是提供一種可移 植的方法來宣告與系統可...

C 系統預定義委託型別Action,Func

系統預定義委託型別 1.action 無返回值 t為0 16個引數型別 可以指向0 16個引數的方法。class program static void printint int i static void printstring string str static void printdouble...