Difference between revisions of "DPRINT codes"
DangerGround (talk | contribs) m (convert to table) |
m |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{stub}} | ||
Here is a list of codes used for our DPRINT: | Here is a list of codes used for our DPRINT: | ||
{| class="wikitable" | {| class="wikitable" | ||
− | ! | + | ! Content |
− | ! | + | ! Size/element |
− | ! | + | ! Type |
+ | ! Code | ||
|- | |- | ||
− | | rowspan=" | + | | rowspan="12" | Number |
+ | | rowspan="3" | 8-bit | ||
| CHAR | | CHAR | ||
− | | %d | + | | %d |
|- | |- | ||
| UCHAR/BYTE | | UCHAR/BYTE | ||
− | | %u | + | | %u |
|- | |- | ||
− | | rowspan=" | + | | UCHAR/BYTE (hex) |
+ | | %x | ||
+ | |- | ||
+ | | rowspan="3" | 16-bit | ||
| SHORT | | SHORT | ||
| %d | | %d | ||
|- | |- | ||
− | | WORD | + | | USHORT/WORD |
− | | %u | + | | %u |
|- | |- | ||
− | | rowspan=" | + | | USHORT/WORD (hex) |
+ | | %x | ||
+ | |- | ||
+ | | rowspan="3" | 32-bit | ||
| LONG | | LONG | ||
| %ld | | %ld | ||
|- | |- | ||
− | | DWORD | + | | ULONG/DWORD |
− | | %lu | + | | %lu |
|- | |- | ||
− | | rowspan=" | + | | ULONG/DWORD (hex) |
+ | | %lx | ||
+ | |- | ||
+ | | rowspan="3" | 64-bit | ||
| LONGLONG | | LONGLONG | ||
| %I64d | | %I64d | ||
|- | |- | ||
| ULONGLONG | | ULONGLONG | ||
− | | %I64u / % | + | | %I64u |
+ | |- | ||
+ | | ULONGLONG (hex) | ||
+ | | %I64x | ||
+ | |- | ||
+ | | rowspan="2" | Single character | ||
+ | | rowspan="2" | 8-bit | ||
+ | | CHAR | ||
+ | | %c | ||
+ | |- | ||
+ | | UCHAR/BYTE | ||
+ | | %c | ||
|- | |- | ||
− | | rowspan="3" | | + | | rowspan="3" | String |
+ | | 8-bit | ||
| LPSTR/CHAR* | | LPSTR/CHAR* | ||
| %s | | %s | ||
|- | |- | ||
+ | | rowspan="2" | Multibyte | ||
| LPWSTR/WCHAR* | | LPWSTR/WCHAR* | ||
| %S | | %S | ||
Line 44: | Line 69: | ||
| %wZ | | %wZ | ||
|} | |} | ||
+ | [[Category:Testing]] |
Latest revision as of 11:58, 21 May 2014
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 |