Bool = system. int32
Boolean = system. int32
Byte = system. uint16
Char = system. int16
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. uint32
Uint32 = system. uint32
Uint64 = system. uint64
Ulong = system. uint32
Ulong32 = system. uint32
Ulong64 = system. uint64
Ulonglong = system. uint64
Ushort = system. uint16
WORD = system. uint16
Wparam = system. intptr
Appendix: an API declaration example
[Dllimport ("kernel32.dll")]
Public static extern system. uint32 virtualallocex (
System. intptr hprocess,
System. uint32 lpaddress,
System. uint32 dwsize,
System. uint32 flallocationtype,
System. uint32 flprotect
);