DPRINT codes

From ReactOS Wiki
Revision as of 17:46, 17 November 2009 by Grschneider (talk | contribs) (consistent ordering, add extra rows for hex output)
Jump to: navigation, search

Here is a list of codes used for our DPRINT:

type code
8 bit CHAR %d %c
UCHAR/BYTE %u %c
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
Strings LPSTR/CHAR* %s
LPWSTR/WCHAR* %S
PUNICODE_STRING %wZ