[XDK][RTL]: Fix parameter of RtlUnicodeStringToCountedOemString (see r51875); add RtlUpcaseUnicodeStringToAnsiString into XDK.

svn path=/trunk/; revision=73483
This commit is contained in:
Hermès Bélusca-Maïto 2016-12-25 15:06:31 +00:00
parent c7dd36d8e1
commit 2a8a023851
2 changed files with 14 additions and 2 deletions

View file

@ -978,6 +978,18 @@ RtlUnicodeStringToAnsiString(
_In_ PCUNICODE_STRING SourceString,
_In_ BOOLEAN AllocateDestinationString);
_IRQL_requires_max_(PASSIVE_LEVEL)
_Must_inspect_result_
NTSYSAPI
NTSTATUS
NTAPI
RtlUpcaseUnicodeStringToAnsiString(
_When_(AllocateDestinationString, _Out_ _At_(DestinationString->Buffer, __drv_allocatesMem(Mem)))
_When_(!AllocateDestinationString, _Inout_)
PANSI_STRING DestinationString,
_In_ PCUNICODE_STRING SourceString,
_In_ BOOLEAN AllocateDestinationString);
_IRQL_requires_max_(PASSIVE_LEVEL)
NTSYSAPI
ULONG

View file

@ -1779,7 +1779,7 @@ NTSTATUS
NTAPI
RtlUnicodeStringToCountedOemString(
IN OUT POEM_STRING OemDest,
IN PUNICODE_STRING UniSource,
IN PCUNICODE_STRING UniSource,
IN BOOLEAN AllocateDestinationString)
{
NTSTATUS Status;
@ -1942,7 +1942,7 @@ NTSTATUS
NTAPI
RtlUpcaseUnicodeStringToAnsiString(
IN OUT PANSI_STRING AnsiDest,
IN PUNICODE_STRING UniSource,
IN PCUNICODE_STRING UniSource,
IN BOOLEAN AllocateDestinationString)
{
NTSTATUS Status;