DPRINT codes

From ReactOS Wiki
Revision as of 10:47, 17 April 2006 by Dr. Fred (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Here is a list of codes used for DPRINT and the printf familily:

8 bits
CHAR		%d %c
UCHAR/BYTE	%u %x %c
 
16 bits
SHORT		%d
WORD/USHORT	%u %x
 
32 bits
LONG		%ld
DWORD/ULONG	%lu %lx
 
64 bits
LONGLONG	%I64d
ULONGLONG	%I64u / %I64x

Strings 
LPSTR/CHAR*	%s 
LPWSTR/WCHAR*	%S 
PUNICODE_STRING	%wZ