unmanaged types in Wtypes.h |
unmanaged C language Types |
Managed class name |
Description |
HANDLE |
void* |
System. IntPtr |
32-bit on 32-bit Windows operating system, 64-bit on 64-bit Windows operating system. |
BYTE |
unsigned char |
System. Byte |
8 Guests |
Short |
Short |
System. Int16 |
16 Guests |
Word |
unsigned short |
System. UInt16 |
16 Guests |
Int |
Int |
System. Int32 |
32 Guests |
UINT |
unsigned int |
System. UInt32 |
32 Guests |
LONG |
Long |
System. Int32 |
32 Guests |
BOOL |
Long |
System.Int32 |
32 Guests |
DWORD |
unsigned long |
System. UInt32 |
32 Guests |
ULONG |
unsigned long |
System. UInt32 |
32 Guests |
CHAR |
Char |
System. Char |
Decorated with ANSI. |
WCHAR |
wchar_t |
System. Char |
Decorated with Unicode. |
| LPSTR |
char* |
System. String or system.text. StringBuilder "> System . String or system.text . StringBuilder |
decorated with ANSI. |
| LPCSTR |
Const char* |
system. String or system.text. StringBuilder "> System . String or system.text . StringBuilder |
decorated with ANSI. |
| lpwstr |
wchar_t* |
. String or system.text. StringBuilder "> System . String or system.text . StringBuilder |
decorated with Unicode. |
Lpcwstr |
Const wchar_t* |
System. String or system.text. StringBuilder |
Decorated with Unicode. |
FLOAT |
Float |
System. Single |
32 Guests |
DOUBLE |
Double |
System. Double |
64 guests |
Platform invoke data type