mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 07:56:59 +00:00
[SDK][RTL][NDK]: Update RtlIsTextUnicode prototype.
svn path=/trunk/; revision=72150
This commit is contained in:
parent
2ecffb24d7
commit
0644419fd1
3 changed files with 5 additions and 5 deletions
|
@ -2199,9 +2199,9 @@ NTSYSAPI
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlIsTextUnicode(
|
RtlIsTextUnicode(
|
||||||
PVOID Buffer,
|
_In_ CONST VOID* Buffer,
|
||||||
INT Length,
|
_In_ INT Size,
|
||||||
INT *Flags
|
_Inout_opt_ INT* Flags
|
||||||
);
|
);
|
||||||
|
|
||||||
_IRQL_requires_max_(PASSIVE_LEVEL)
|
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||||
|
|
|
@ -2515,7 +2515,7 @@ static NTSTATUS parse_manifest( struct actctx_loader* acl, struct assembly_ident
|
||||||
: ACTIVATION_CONTEXT_PATH_TYPE_NONE;
|
: ACTIVATION_CONTEXT_PATH_TYPE_NONE;
|
||||||
|
|
||||||
unicode_tests = IS_TEXT_UNICODE_SIGNATURE | IS_TEXT_UNICODE_REVERSE_SIGNATURE;
|
unicode_tests = IS_TEXT_UNICODE_SIGNATURE | IS_TEXT_UNICODE_REVERSE_SIGNATURE;
|
||||||
if (RtlIsTextUnicode((PVOID)buffer, (ULONG)size, &unicode_tests ))
|
if (RtlIsTextUnicode(buffer, size, &unicode_tests ))
|
||||||
{
|
{
|
||||||
xmlbuf.ptr = buffer;
|
xmlbuf.ptr = buffer;
|
||||||
xmlbuf.end = xmlbuf.ptr + size / sizeof(WCHAR);
|
xmlbuf.end = xmlbuf.ptr + size / sizeof(WCHAR);
|
||||||
|
|
|
@ -1238,7 +1238,7 @@ RtlUnicodeStringToOemString(
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlIsTextUnicode( PVOID buf, INT len, INT *pf )
|
RtlIsTextUnicode(CONST VOID* buf, INT len, INT* pf)
|
||||||
{
|
{
|
||||||
static const WCHAR std_control_chars[] = {'\r', '\n', '\t', ' ', 0x3000, 0};
|
static const WCHAR std_control_chars[] = {'\r', '\n', '\t', ' ', 0x3000, 0};
|
||||||
static const WCHAR byterev_control_chars[] = {0x0d00, 0x0a00, 0x0900, 0x2000, 0};
|
static const WCHAR byterev_control_chars[] = {0x0d00, 0x0a00, 0x0900, 0x2000, 0};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue