mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[XDK][RTL]: Fix parameter of RtlUnicodeStringToCountedOemString (see r51875); add RtlUpcaseUnicodeStringToAnsiString into XDK.
svn path=/trunk/; revision=73483
This commit is contained in:
parent
c7dd36d8e1
commit
2a8a023851
2 changed files with 14 additions and 2 deletions
|
@ -978,6 +978,18 @@ RtlUnicodeStringToAnsiString(
|
||||||
_In_ PCUNICODE_STRING SourceString,
|
_In_ PCUNICODE_STRING SourceString,
|
||||||
_In_ BOOLEAN AllocateDestinationString);
|
_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)
|
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||||
NTSYSAPI
|
NTSYSAPI
|
||||||
ULONG
|
ULONG
|
||||||
|
|
|
@ -1779,7 +1779,7 @@ NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlUnicodeStringToCountedOemString(
|
RtlUnicodeStringToCountedOemString(
|
||||||
IN OUT POEM_STRING OemDest,
|
IN OUT POEM_STRING OemDest,
|
||||||
IN PUNICODE_STRING UniSource,
|
IN PCUNICODE_STRING UniSource,
|
||||||
IN BOOLEAN AllocateDestinationString)
|
IN BOOLEAN AllocateDestinationString)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
@ -1942,7 +1942,7 @@ NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlUpcaseUnicodeStringToAnsiString(
|
RtlUpcaseUnicodeStringToAnsiString(
|
||||||
IN OUT PANSI_STRING AnsiDest,
|
IN OUT PANSI_STRING AnsiDest,
|
||||||
IN PUNICODE_STRING UniSource,
|
IN PCUNICODE_STRING UniSource,
|
||||||
IN BOOLEAN AllocateDestinationString)
|
IN BOOLEAN AllocateDestinationString)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
Loading…
Reference in a new issue