DPRINT codes

From ReactOS Wiki
Revision as of 09:42, 19 November 2009 by Grschneider (talk | contribs) (differentiate between content and size/element)
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 %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