You are on page 1of 14

MSDN Type Equals to

ATOM WORD unsigned short unsigned short unsigned short


BOOL int int int int
BOOLEAN BYTE unsigned char unsigned char unsigned char
BYTE unsigned char unsigned char unsigned char unsigned char
CALLBACK __stdcall __stdcall __stdcall __stdcall
CHAR char char char char
COLORREF DWORD unsigned long unsigned long unsigned long
CONST const const const const
DWORD unsigned long unsigned long unsigned long unsigned long
DWORDLONG ULONGLONG unsigned __int64 unsigned __int64 unsigned __int64
unsigned long
DWORD_PTR ULONG_PTR (unsigned unsigned long (unsigned
unsigned
__int64)
long (un
__int64)
DWORD32 unsigned int unsigned int unsigned int unsigned int
DWORD64 __int64 __int64 __int64 __int64
FLOAT float float float float
HACCEL HANDLE PVOID void * void *
HALF_PTR short (int) short (int) short (int) short (int)
HANDLE PVOID void * void * void *
HBITMAP HANDLE PVOID void * void *
HBRUSH HANDLE PVOID void * void *
HCONV HANDLE PVOID void * void *
HCONVLIST HANDLE PVOID void * void *
HCURSOR HICON HANDLE PVOID void *
HDC HANDLE PVOID void * void *
HDDEDATA HANDLE PVOID void * void *
HDESK HANDLE PVOID void * void *
HDROP HANDLE PVOID void * void *
HDWP HANDLE PVOID void * void *
HENHMETAFILE HANDLE PVOID void * void *
HFILE int int int int
HFONT HANDLE PVOID void * void *
HGIDOBJ HANDLE PVOID void * void *
HGLOBAL HANDLE PVOID void * void *
HHOOK HANDLE PVOID void * void *
HICON HANDLE PVOID void * void *
HINSTANCE HANDLE PVOID void * void *
HKEY HANDLE PVOID void * void *
HKL HANDLE PVOID void * void *
HLOCAL HANDLE PVOID void * void *
HMENU HANDLE PVOID void * void *
HMETAFILE HANDLE PVOID void * void *
HMODULE HINSTANCE HANDLE PVOID void *
HMONITOR HANDLE PVOID void * void *
HPALETTE HANDLE PVOID void * void *
HPEN HANDLE PVOID void * void *
HRESULT LONG long long long
HRGN HANDLE PVOID void * void *
HRSRC HANDLE PVOID void * void *
HSZ HANDLE PVOID void * void *
HWINSTA HANDLE PVOID void * void *
HWND HANDLE PVOID void * void *
INT_PTR int (__int64) int (__int64) int (__int64) int (__int64)
INT32 signed int signed int signed int signed int
INT64 signed __int64 signed __int64 signed __int64 signed __int64
LANGID WORD unsigned short unsigned short unsigned short
LCID DWORD unsigned long unsigned long unsigned long
LGRPID DWORD unsigned long unsigned long unsigned long
LONG long long long long
LONGLONG __int64 __int64 __int64 __int64
LONG_PTR long (__int64) long (__int64) long (__int64) long (__int64)
LONG32 signed int signed int signed int signed int
LONG64 __int64 __int64 __int64 __int64
LPARAM LONG_PTR long (__int64) long (__int64) long (__int64)
LPBOOL BOOL far * int far * int far * int far *
LPBYTE BYTE far * unsigned char farunsigned
* char far *unsigned char far
LPCOLORREF DWORD * unsigned long * unsigned long * unsigned long *
__nullterminated __nullterminated
LPCSTR __nullterminated const
__nullterminated
char * c
CONST CHAR * const char *
LPCTSTR LPCWSTR CONST WCHAR * const wchar_t * const wchar_t *
LPCWSTR CONST WCHAR * const wchar_t * const wchar_t * const wchar_t *
LPDWORD DWORD * unsigned long * unsigned long * unsigned long *
LPHANDLE HANDLE * PVOID * void * * void * *
LPINT int * int * int * int *
LPLONG long * long * long * long *
LPSTR CHAR * char * char * char *
LPTSTR LPWSTR WCHAR * wchar_t * wchar_t *
LPVOID void * void * void * void *
LPWORD WORD * unsigned short * unsigned short * unsigned short *
LPWSTR WCHAR * wchar_t * wchar_t * wchar_t *
LRESULT LONG_PTR long (__int64) long (__int64) long (__int64)
PBOOL BOOL * int * int * int *
PBOOLEAN BOOLEAN * BYTE * unsigned char * unsigned char *
PBYTE BYTE * unsigned char * unsigned char * unsigned char *
PCHAR CHAR * char * char * char *
PCSTR CONST CHAR * const char * const char * const char *
PCTSTR LPCWSTR CONST WCHAR * const wchar_t * const wchar_t *
PCWSTR CONST WCHAR * const wchar_t * const wchar_t * const wchar_t *
PDWORD DWORD * unsigned long * unsigned long * unsigned long *
PDWORDLONG DWORDLONG * ULONGLONG * unsigned __int64 *unsigned __int64 *
unsigned long
PDWORD_PTR DWORD_PTR * ULONG_PTR * (unsigned unsigned long (un
__int64) *
PDWORD32 DWORD32 * unsigned int * unsigned int * unsigned int *
PDWORD64 DWORD64 * __int64 * __int64 * __int64 *
PFLOAT FLOAT * float * float * float *
PHALF_PTR HALF_PTR * short (int) * short (int) * short (int) *
PHANDLE HANDLE * PVOID * void * * void * *
PHKEY HKEY * HANDLE * PVOID * void * *
PINT int * int * int * int *
PINT_PTR INT_PTR * int (__int64) * int (__int64) * int (__int64) *
PINT32 INT32 * signed int * signed int * signed int *
PINT64 INT64 * signed __int64 * signed __int64 * signed __int64 *
PLCID PDWORD DWORD * unsigned long * unsigned long *
PLONG LONG * long * long * long *
PLONGLONG LONGLONG * __int64 * __int64 * __int64 *
PLONG_PTR LONG_PTR * long (__int64) * long (__int64) * long (__int64) *
PLONG32 LONG32 * signed int * signed int * signed int *
PLONG64 LONG64 * __int64 * __int64 * __int64 *
POINTER_32 (__ptr32) (__ptr32) (__ptr32) (__ptr32)
POINTER_64 __ptr64 __ptr64 __ptr64 __ptr64
POINTER_SIGNED __sptr __sptr __sptr __sptr
POINTER_UNSIGNED __uptr __uptr __uptr __uptr
PSHORT SHORT * short * short * short *
unsigned long
PSIZE_T SIZE_T * ULONG_PTR * (unsigned unsigned long (un
__int64) *
PSSIZE_T SSIZE_T * LONG_PTR * long (__int64) * long (__int64) *
PSTR CHAR * char * char * char *
PTBYTE TBYTE * WCHAR * wchar_t * wchar_t *
PTCHAR TCHAR * WCHAR * wchar_t * wchar_t *
PTSTR LPWSTR WCHAR * wchar_t * wchar_t *
PUCHAR UCHAR * unsigned char * unsigned char * unsigned char *
PUHALF_PTR UHALF_PTR * unsigned short (unsigned
unsignedint)
short
* (unsigned
unsignedint)
short
* (un
PUINT UINT * unsigned int * unsigned int * unsigned int *
unsigned int
PUINT_PTR UINT_PTR * (unsigned unsigned int (unsigned
unsigned
__int64)
int (unsi
*
__int64) *
PUINT32 UINT32 * unsigned int * unsigned int * unsigned int *
PUINT64 UINT64 * unsigned __int64 unsigned
* __int64 *unsigned __int64 *
PULONG ULONG * unsigned long * unsigned long * unsigned long *
PULONGLONG ULONGLONG * unsigned __int64 unsigned
* __int64 *unsigned __int64 *
unsigned long
PULONG_PTR ULONG_PTR * (unsigned unsigned long (unsigned
unsigned
__int64)
long (un
*
__int64) *
PULONG32 ULONG32 * unsigned int * unsigned int * unsigned int *
PULONG64 ULONG64 * unsigned __int64 unsigned
* __int64 *unsigned __int64 *
PUSHORT USHORT * unsigned short * unsigned short * unsigned short *
PVOID void * void * void * void *
PWCHAR WCHAR * wchar_t * wchar_t * wchar_t *
PWORD WORD * unsigned short * unsigned short * unsigned short *
PWSTR WCHAR * wchar_t * wchar_t * wchar_t *
SC_HANDLE HANDLE PVOID void * void *
SC_LOCK LPVOID void * void * void *
SERVICE_STATUS_HANDLEHANDLE PVOID void * void *
SHORT short short short short
unsigned long
SIZE_T ULONG_PTR (unsigned unsigned long (unsigned
unsigned
__int64)
long (un
__int64)
SSIZE_T LONG_PTR long (__int64) long (__int64) long (__int64)
TBYTE WCHAR wchar_t wchar_t wchar_t
TCHAR WCHAR wchar_t wchar_t wchar_t
UCHAR unsigned char unsigned char unsigned char unsigned char
unsigned short
UHALF_PTR unsigned short (unsigned
unsignedint)
short (unsigned
unsigned
int)
short (un
(unsigned int)
UINT unsigned int unsigned int unsigned int unsigned int
unsigned int
UINT_PTR (unsigned unsigned int (unsigned
unsigned
__int64)
int (unsigned
unsigned
__int64)
int (unsi
__int64)
UINT32 unsigned int unsigned int unsigned int unsigned int
UINT64 unsigned __int64 unsigned __int64 unsigned __int64 unsigned __int64
ULONG unsigned long unsigned long unsigned long unsigned long
ULONGLONG unsigned __int64 unsigned __int64 unsigned __int64 unsigned __int64
unsigned long
ULONG_PTR (unsigned unsigned long (unsigned
unsigned__int64)
long (unsigned
unsigned
__int64)
long (un
__int64)
ULONG32 unsigned int unsigned int unsigned int unsigned int
ULONG64 unsigned __int64
unsigned __int64 unsigned __int64 unsigned __int64
struct {unsigned
struct {unsigned
struct {USHORT short Lenght;
short Lenght;
Lenght; USHORT unsigned short
UNICODE_STRING unsigned short struct {unsigned s
MaximumLength; MaximumLength
MaximumLength;
PWSTR Buffer;} ; WCHAR *
wchar_t * Buffer;}
Buffer;}
USHORT unsigned short unsigned short unsigned short unsigned short
USN LONGLONG __int64 __int64 __int64
VOID void void void void
WCHAR wchar_t wchar_t wchar_t wchar_t
WIANPI __stdcall __stdcall __stdcall __stdcall
WORD unsigned short unsigned short unsigned short unsigned short
unsigned int
WPARAM UINT_PTR (unsigned unsigned int (unsigned
unsigned
__int64)
int (unsi
__int64)
Visual Basic 9 Type
UShort
Integer
Byte
Byte
Delegate
SByte
UInteger
Const
UInteger
ULong

UInteger (ULong)

UInteger
Long
Single
IntPtr
Short (Integer)
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
Integer
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
Integer
IntPtr
IntPtr
IntPtr
IntPtr
IntPtr
Integer (Long)
Integer
Long
UShort
UInteger
UInteger
Integer
Long
Integer (Long)
Integer
Long
Integer (Long)
ByRef Integer
ByRef Byte
#N/A

ByRef SByte

ByRef Char
ByRef Char
#N/A
ByRef IntPtr
#N/A
#N/A
ByRef SByte
ByRef Char
IntPtr
#N/A
ByRef Char
Integer (Long)
#N/A
#N/A
#N/A
ByRef SByte
ByRef SByte
ByRef Char
ByRef Char
#N/A
ByRef ULong
ByRef UInteger (ULong)

ByRef UInteger
ByRef Long
ByRef Single
ByRef Short (Integer)
ByRef IntPtr
ByRef IntPtr
#N/A
ByRef Integer (Long)
ByRef Integer
ByRef Long
#N/A
#N/A
ByRef Long
ByRef Integer (Long)
ByRef Integer
ByRef Long
(IntPtr)
IntPtr
IntPtr
UIntPtr
#N/A

ByRef UInteger (ULong)

ByRef Integer (Long)


ByRef SByte
ByRef Char
ByRef Char
ByRef Char
#N/A
ByRef UShort (UInteger)
ByRef UInteger

ByRef UInteger (ULong)

ByRef UInteger
ByRef ULong
#N/A
ByRef ULong

ByRef UInteger (ULong)

ByRef UInteger
ByRef ULong
#N/A
IntPtr
ByRef Char
#N/A
ByRef Char
IntPtr
IntPtr
IntPtr
Short

UInteger (ULong)

Integer (Long)
Char
Char
Byte

UShort (UInteger)

UInteger

UInteger (ULong)

UInteger
ULong
UInteger
ULong

UInteger (ULong)

UInteger
ULong
Structure
UNICODE_STRING : Dim
Lenght As UShort,
MaximumLenght As
UShort, ByRef Buffer As
Char : End Structure
UShort
Long
Object
Char
Delegate
UShort

UInteger (ULong)
MS C++ bytes from to
__int8 1 -128 127
char 1 -128 127
unsigned __int8 1 0 255
unsigned char 1 0 255
__int16 2 -32,768 32,767
short 2 -32,768 32,767
short int 2 -32,768 32,767
signed short int 2 -32,768 32,767
unsigned __int16 2 0 65,535
unsigned short 2 0 65,535
unsigned short int 2 0 65,535
__int32 4 -2,147,438,648 2,147,483,647
signed 4 -2,147,438,648 2,147,483,647
signed int 4 -2,147,438,648 2,147,483,647
int 4 -2,147,438,648 2,147,483,647
long 4 -2,147,438,648 2,147,483,647
long int 4 -2,147,438,648 2,147,483,647
signed long int 4 -2,147,438,648 2,147,483,647
unsigned __int32 4 0 4,294,967,295
unsigned 4 0 4,294,967,295
unsigned int 4 0 4,294,967,295
unsigned long int 4 0 4,294,967,295
unsigned long 4 0 4,294,967,295
__int64 8 -92233720368547696649223372036854769664
long long 8 -92233720368547696649223372036854769664
signed long long 8 -92233720368547696649223372036854769664
signed __int64 8 -92233720368547696649223372036854769664
unsigned __int64 8 0 ###
unsigned long long 8 0 ###
bool 1 0 1
signed char 1 -128 127
float 4
double 8
long double 8
wchar_t 2 0 65,535
__wchar_t 2 0 65,535
__stdcall
void *
void
short (int)
unsigned long (unsigned __int64)
const
int (__int64)
long (__int64)
int far *
unsigned char far *
__nullterminated const char *
void * *
const wchar_t *
char *
wchar_t *
const char *
unsigned __int64 *
unsigned long (unsigned __int64) *
unsigned int *
__int64 *
float *
short (int) *
int (__int64) *
signed int *
signed __int64 *
long (__int64) *
unsigned short (unsigned int) *
unsigned int (unsigned __int64) *
unsigned short (unsigned int)
unsigned int (unsigned __int64)
struct {unsigned short Lenght; unsigned short MaximumLength; wchar_t * Buffer;}
__ptr64
__ptr32
__sptr
__uptr
(__ptr32)
VB.NET
SByte
SByte
Byte
Byte
Short
Short
Short
Short
UShort
UShort
UShort
Integer
Integer
Integer
Integer
Integer
Integer
Integer
UInteger
UInteger
UInteger
UInteger
UInteger
Long
Long
Long
Long
ULong
ULong
Boolean
SByte
Single
Double
Double
Char
Char
Delegate
IntPtr
Object
Short (Integer)
UInteger (ULong)
Const
Integer (Long)
Integer (Long)
ByRef Integer
ByRef Byte
ByRef SByte
ByRef IntPtr
ByRef Char
ByRef SByte
ByRef Char
ByRef SByte
ByRef ULong
ByRef UInteger (ULong)
ByRef UInteger
ByRef Long
ByRef Single
ByRef Short (Integer)
ByRef Integer (Long)
ByRef Integer
ByRef Long
ByRef Integer (Long)
ByRef UShort (UInteger)
ByRef UInteger (ULong)
UShort (UInteger)
UInteger (ULong)
Structure UNICODE_STRING : Dim Lenght As UShort, MaximumLenght As UShort, ByRef Buffer As C
IntPtr
IntPtr
IntPtr
UIntPtr
(IntPtr)
Short, ByRef Buffer As Char : End Structure