DPRINT codes

From ReactOS Wiki
Revision as of 06:17, 2 March 2012 by BrentNewland (talk | contribs) (stub)
Jump to: navigation, search

Here is a list of codes used for our DPRINT:

Content Size/element Type Code
Number 8-bit CHAR %d
UCHAR/BYTE (hex) %x
16-bit SHORT %d
USHORT/WORD (hex) %x
32-bit LONG %ld
ULONG/DWORD (hex) %lx
64-bit LONGLONG %I64d
ULONGLONG (hex) %I64x
Single character 8-bit CHAR %c
String 8-bit LPSTR/CHAR* %s
Multibyte LPWSTR/WCHAR* %S

The page DPRINT codes is a short article on something that should have a lot more information written on it.
If you know anything else about it, you are STRONGLY encouraged to add the information in. If you are unsure of proper formatting or style, add it to the talk page or this page itself as you think best and others will help.