VirtualAllocVlm / VirtualFreeVlm
MapViewOfFileVlm / UnmapViewOfFileVlm
VirtualProtectVlm
VirtualQueryVlm
GlobalMemoryStatusVlm
ReadProcessMemoryVlm / WriteProcessMemoryVlm
Figure 2 Data Types and Sizes
| C++ type [Windows type] | 16-bit Windows | Win32 |
| (unsigned) short [WORD] | 16-bits | 16-bits |
| (unsigned) int [UINT] | 16-bits | 32-bits |
| (unsigned) long [DWORD] | 32-bits | 32-bits |
| void * | ??? | 32-bits |
| void near * | 16-bits | N/A |
| void far * | 32-bits | N/A |
| typedef unsigned long | DWORD; |
| typedef int | BOOL; |
| typedef unsigned char | BYTE; |
| typedef unsigned short | WORD; |
| typedef float | FLOAT; |
| typedef FLOAT | *PFLOAT; |
| typedef BOOL near | *PBOOL; |
| typedef BOOL far | *LPBOOL; |
| typedef BYTE near | *PBYTE; |
| typedef BYTE far | *LPBYTE; |
| typedef int near | *PINT; |
| typedef int far | *LPINT; |
| typedef WORD near | *PWORD; |
| typedef WORD far | *LPWORD; |
| typedef long far | *LPLONG; |
| typedef DWORD near | *PDWORD; |
| typedef DWORD far | *LPDWORD; |
| typedef void far | *LPVOID; |
| typedef CONST void far | *LPCVOID; |
| typedef int | INT; |
| typedef unsigned int | UINT; |
| typedef unsigned int | *PUINT; |