Fixed debugstr_as/us prototypes.
This commit is contained in:
parent
349655636b
commit
46487282dd
|
@ -47,16 +47,16 @@ void dump_UnicodeString(PUNICODE_STRING us, BOOLEAN showstring)
|
|||
}
|
||||
}
|
||||
|
||||
LPCSTR debugstr_as (PANSI_STRING us)
|
||||
LPCSTR debugstr_as( const STRING *str )
|
||||
{
|
||||
if (!us) return NULL;
|
||||
return debugstr_an(us->Buffer, us->Length);
|
||||
if (!str) return "<null>";
|
||||
return debugstr_an(str->Buffer, str->Length);
|
||||
}
|
||||
|
||||
LPCSTR debugstr_us (PUNICODE_STRING us)
|
||||
LPCSTR debugstr_us( const UNICODE_STRING *us )
|
||||
{
|
||||
if (!us) return NULL;
|
||||
return debugstr_wn(us->Buffer, us->Length);
|
||||
if (!us) return "<null>";
|
||||
return debugstr_wn(us->Buffer, us->Length);
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
#include "winnt.h"
|
||||
|
||||
/* debug helper */
|
||||
extern LPCSTR debugstr_as (PANSI_STRING us);
|
||||
extern LPCSTR debugstr_us (PUNICODE_STRING us);
|
||||
extern LPCSTR debugstr_as( const STRING *str );
|
||||
extern LPCSTR debugstr_us( const UNICODE_STRING *str );
|
||||
extern void dump_ObjectAttributes (POBJECT_ATTRIBUTES ObjectAttributes);
|
||||
extern void dump_AnsiString(PANSI_STRING as, BOOLEAN showstring);
|
||||
extern void dump_UnicodeString(PUNICODE_STRING us, BOOLEAN showstring);
|
||||
|
|
Loading…
Reference in New Issue