Parameter name prefixes and data types are defined as follows:
Type |
Prefix |
Type Description |
Example |
ARRAY |
a |
Prefix this before the simple type. |
anArray |
BOOL |
b |
Signed 8-bit integer as Boolean. TRUE if 0, FALSE otherwise. |
bSelected |
BYTE |
uc |
Unsigned 8-bit integer (unsigned CHAR type). |
ucSection |
CHAR |
c |
Signed 8-bit integer. |
cKeyPress |
Double |
d |
64-bit floating point. |
dReading |
DWORD |
dw |
Unsigned 32-bit integer (non-handle). |
dwTimeout |
DWORD |
hwnd |
Window handle - unsigned 32-bit integer used as handle. Only the lower 16-bits are used under Windows 3.1. |
hwndPanel |
LONG |
l |
Signed 32-bit integer. |
lBits |
LPtype |
p |
32-bit pointer. Far pointer for Windows 3.1. Usually returns a value. Prefix this before the simple type. |
pnStatus |
LPSTR |
sz |
Zero-terminated ASCIIZ text string. |
szMsg |
SHORT |
n |
Signed 16-bit integer. |
nMode |
WORD |
w |
Unsigned 16-bit integer. |
wCount |
Marvin Test Solutions’s Variable Naming Conventions