Difference between revisions of "DPRINT codes"

From ReactOS Wiki
Jump to: navigation, search
 
Line 1: Line 1:
Here is a list of codes used for DPRINT and the printf familily:
+
Here is a list of codes used for DPRINT and the printf family:
  
 
<pre>
 
<pre>

Revision as of 10:48, 17 April 2006

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

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