mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[NTDLL] Some style changes for RtlNtPathNameToDosPathName as suggested by Thomas and Hermes. CORE-12847
svn path=/trunk/; revision=74032
This commit is contained in:
parent
5a98df6476
commit
ad0bb95ddd
3 changed files with 8 additions and 8 deletions
|
@ -2828,9 +2828,9 @@ NTSTATUS
|
|||
NTAPI
|
||||
RtlNtPathNameToDosPathName(
|
||||
_In_ ULONG Flags,
|
||||
_Inout_ RTL_UNICODE_STRING_BUFFER* Path,
|
||||
_Out_opt_ ULONG* PathType,
|
||||
_Out_opt_ ULONG* Unknown
|
||||
_Inout_ PRTL_UNICODE_STRING_BUFFER Path,
|
||||
_Out_opt_ PULONG PathType,
|
||||
_Out_opt_ PULONG Unknown
|
||||
);
|
||||
|
||||
|
||||
|
|
|
@ -1792,9 +1792,9 @@ RtlDosPathNameToRelativeNtPathName_U_WithStatus(IN PCWSTR DosName,
|
|||
* @implemented
|
||||
*/
|
||||
NTSTATUS NTAPI RtlNtPathNameToDosPathName(IN ULONG Flags,
|
||||
IN OUT RTL_UNICODE_STRING_BUFFER* Path,
|
||||
OUT ULONG* PathType,
|
||||
ULONG* Unknown)
|
||||
IN OUT PRTL_UNICODE_STRING_BUFFER Path,
|
||||
OUT PULONG PathType,
|
||||
PULONG Unknown)
|
||||
{
|
||||
PCUNICODE_STRING UsePrefix = NULL, AlternatePrefix = NULL;
|
||||
|
||||
|
@ -1812,7 +1812,7 @@ NTSTATUS NTAPI RtlNtPathNameToDosPathName(IN ULONG Flags,
|
|||
if (PathType)
|
||||
*PathType = RTL_CONVERTED_UNC_PATH;
|
||||
}
|
||||
else if (RtlPrefixUnicodeString(&RtlpDosDevicesPrefix, &Path->String, TRUE))
|
||||
else if (RtlPrefixUnicodeString(&RtlpDosDevicesPrefix, &Path->String, FALSE))
|
||||
{
|
||||
UsePrefix = &RtlpDosDevicesPrefix;
|
||||
if (PathType)
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#define WIN32_NO_STATUS
|
||||
#include <ndk/rtlfuncs.h>
|
||||
|
||||
NTSTATUS (NTAPI *pRtlNtPathNameToDosPathName)(ULONG Flags, RTL_UNICODE_STRING_BUFFER* Path, ULONG* Type, ULONG* Unknown4);
|
||||
NTSTATUS (NTAPI *pRtlNtPathNameToDosPathName)(ULONG Flags, PRTL_UNICODE_STRING_BUFFER Path, PULONG Type, PULONG Unknown4);
|
||||
|
||||
#define ok_hex_(expression, result) \
|
||||
do { \
|
||||
|
|
Loading…
Reference in a new issue