DPRINT codes

From ReactOS Wiki
Revision as of 11:58, 21 May 2014 by Zehnvor (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.


Here is a list of codes used for our DPRINT:

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