# HG changeset patch # User Oleksandr Gavenko # Date 1282226595 -10800 # Node ID 48a225d2290720c81ed0cfec8f32432a7f803e84 # Parent c25bb5813168e4ad0578c7489bf4c3df7f91a187# Parent 8ec36ad14f7a93824aa0657d87000b9b573499cb merged diff -r c25bb5813168 -r 48a225d22907 3d.rst diff -r c25bb5813168 -r 48a225d22907 bnf.rst diff -r c25bb5813168 -r 48a225d22907 color.rst diff -r c25bb5813168 -r 48a225d22907 cvs.rst diff -r c25bb5813168 -r 48a225d22907 cygwin.rst diff -r c25bb5813168 -r 48a225d22907 devel-rules.rst diff -r c25bb5813168 -r 48a225d22907 devel-windows.rst --- a/devel-windows.rst Thu Aug 19 16:58:15 2010 +0300 +++ b/devel-windows.rst Thu Aug 19 17:03:15 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 diff -r c25bb5813168 -r 48a225d22907 display.rst diff -r c25bb5813168 -r 48a225d22907 emul.rst diff -r c25bb5813168 -r 48a225d22907 gamepad.rst diff -r c25bb5813168 -r 48a225d22907 image.rst diff -r c25bb5813168 -r 48a225d22907 make.rst diff -r c25bb5813168 -r 48a225d22907 midi.rst diff -r c25bb5813168 -r 48a225d22907 msvc.rst diff -r c25bb5813168 -r 48a225d22907 posix.rst diff -r c25bb5813168 -r 48a225d22907 power.rst diff -r c25bb5813168 -r 48a225d22907 prettyprint.rst diff -r c25bb5813168 -r 48a225d22907 record.rst diff -r c25bb5813168 -r 48a225d22907 signal.rst diff -r c25bb5813168 -r 48a225d22907 ssh.rst diff -r c25bb5813168 -r 48a225d22907 style-checker.rst diff -r c25bb5813168 -r 48a225d22907 syntax-highlighter.rst diff -r c25bb5813168 -r 48a225d22907 uri.rst diff -r c25bb5813168 -r 48a225d22907 vm.rst diff -r c25bb5813168 -r 48a225d22907 web.rst diff -r c25bb5813168 -r 48a225d22907 wget.rst diff -r c25bb5813168 -r 48a225d22907 xml.rst