常用Win32数据类型与.NET平台数据类型的对应表

bool=system.bool
boolean=system.bool
byte=system.byte
char=system.char
colorref=system.uint32
dword=system.uint32
dword32=system.uint32
dword64=system.uint64
float=system.float
haccel=system.IntPtr
handle=system.IntPtr
hbitmap=system.IntPtr
hbrush=system.IntPtr
hconv=system. IntPtr
hconvlist=system. IntPtr
hcursor=system. IntPtr
hdc=system. IntPtr
hddedata=system. IntPtr
hdesk=system. IntPtr
hdrop=system. IntPtr
hdwp=system. IntPtr
henhmetafile=system. IntPtr
hfile=system. IntPtr
hfont=system. IntPtr
hgdiobj=system. IntPtr
hglobal=system.IntPtr
hhook=system.IntPtr
hicon=system.IntPtr
himagelist=system.IntPtr
himc=system.IntPtr
hinstance=system.IntPtr
hkey=system.IntPtr
hlocal=system.IntPtr
hmenu=system.IntPtr
hmetafile=system.IntPtr
hmodule=system.IntPtr
hmonitor=system.IntPtr
hpalette=system.IntPtr
hpen=system.IntPtr
hrgn=system.IntPtr
hrsrc=system. IntPtr
hsz=system. IntPtr
hwinsta=system. IntPtr
hwnd=system. IntPtr
int=system.int32
int32=system.int32
int64=system.int64
long=system.int32
long32=system.int32
long64=system.int64
longlong=system.int64
lparam=system. IntPtr
lpbool=system.int16[]
lpbyte=system.uint16[]
lpcolorref=system.uint32[]
lpcstr=system.string
lpctstr=system.string
lpcvoid=system.uint32
lpcwstr=system.string
lpdword=system.uint32[]
lphandle=system.uint32
lpint=system.int32[]
lplong=system.int32[]
lpstr=system.string
lptstr=system.string
lpvoid=system.uint32
lpword=system.int32[]
lpwstr=system.string
lresult=system.IntPtr
pbool=system.int16[]
pboolean=system.int16[]
pbyte=system.uint16[]
pchar=system.char[]
pcstr=system.string
pctstr=system.string
pcwch=system.uint32
pcwstr=system.uint32
pdword=system.int32[]
pfloat=system.float[]
phandle=system.uint32
phkey=system.uint32
pint=system.int32[]
plcid=system.uint32
plong=system.int32[]
pluid=system.uint32
pshort=system.int16[]
pstr=system.string
ptbyte=system.char[]
ptchar=system.char[]
ptstr=system.string
puchar=system.char[]
puint=system.uint32[]
pulong=system.uint32[]
pushort=system.uint16[]
pvoid=system.uint32
pwchar=system.char[]
pword=system.int16[]
pwstr=system.string
regsam=system.uint32
sc_handle=system. IntPtr
sc_lock=system. IntPtr
short=system.int16
size_t=system.uint32
ssize_=system.uint32
tbyte=system.char
tchar=system.char
uchar=system.byte
uint=system.uint
uint32=system.uint
uint64=system.uint64
ulong=system.uint32
ulong32=system.uint32
ulong64=system.uint64
ulonglong=system.uint64
ushort=system.uint16
word=system.uint16
wparam=system. IntPtr

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值