!ustr

The !ustr extension displays a UNICODE_STRING structure.

!ustr Address

Parameters

Address
Specifies the hexadecimal address of the UNICODE_STRING structure.

DLL

Windows 2000

Ext.dll

Windows XP and later

Ext.dll

Additional Information

For more information about UNICODE_STRING structures, see the Microsoft Windows SDK documentation.

Remarks

Unicode strings are counted 16-bit character strings, as defined in the following structure:

typedef struct _UNICODE_STRING {
    USHORT Length;
    USHORT MaximumLength;
    PWSTR  Buffer;
} UNICODE_STRING;

If the string is null-terminated, Length does not include the trailing null.

Most Win32 character string arguments are converted to Unicode strings before any real work is done.

Send comments about this topic to Microsoft