Windows style variable names.
--- a/devel-windows.rst Thu Aug 05 12:11:27 2010 +0300
+++ b/devel-windows.rst Thu Aug 05 22:16:38 2010 +0300
@@ -158,3 +158,59 @@
http://sourceforge.net/projects/wtl
http://en.wikipedia.org/wiki/Windows_Template_Library
+
+* Windows style variable names.
+
+ Prefix | Data type
+ ---------+-----------------------------------------
+ b | boolean
+ by | byte or unsigned char
+ c | char
+ cx / cy | short used as size
+ dw | DWORD, double word or unsigned long
+ fn | function
+ h | handle
+ i | int (integer)
+ l | Long
+ n | short int
+ p | a pointer variable containing the address of a variable
+ s | string
+ sz | ASCIIZ null-terminated string
+ w | WORD unsigned int
+ x, y | short used as coordinates
+
+ PrefixCategory | Mean
+ ----------------+----------------
+ CS | Class style
+ CW | Create window
+ DT | Draw text
+ IDC | Cursor ID
+ IDI | Icon ID
+ WM | Window message
+ WS | Window style
+
+ Data type | Meaning
+ ----------+-------------------------------------------------------------------
+ FAR | Same as far. Identifies an address that originally used the
+ | segment:offset addressing schema. Now FAR simply identifies a
+ | (default) 32-bit address but may be omitted entirely in many cases.
+ |
+ PASCAL | Same as Pascal. The Pascal convention demanded by Windows
+ | defines the order in which arguments are found in the stack when
+ | passed as calling parameters.
+ |
+ WORD | Unsigned integer (16 bits)
+ |
+ UINT | Unsigned integer, same as WORD
+ |
+ DWORD | Double word, unsigned long int (32 bits)
+ |
+ LONG | Signed long integer (32 bits)
+ |
+ LPSTR | Long (far) pointer to character string
+ |
+ NEAR | Obsolete, previously identified an address value within a 16KB
+ | memory block.
+
+ http://www.tenouk.com/cnotation.html
+ C/C++ NOTATION STORY