mirror of
https://github.com/reactos/reactos.git
synced 2025-06-29 00:09:44 +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
|
NTAPI
|
||||||
RtlNtPathNameToDosPathName(
|
RtlNtPathNameToDosPathName(
|
||||||
_In_ ULONG Flags,
|
_In_ ULONG Flags,
|
||||||
_Inout_ RTL_UNICODE_STRING_BUFFER* Path,
|
_Inout_ PRTL_UNICODE_STRING_BUFFER Path,
|
||||||
_Out_opt_ ULONG* PathType,
|
_Out_opt_ PULONG PathType,
|
||||||
_Out_opt_ ULONG* Unknown
|
_Out_opt_ PULONG Unknown
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1792,9 +1792,9 @@ RtlDosPathNameToRelativeNtPathName_U_WithStatus(IN PCWSTR DosName,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS NTAPI RtlNtPathNameToDosPathName(IN ULONG Flags,
|
NTSTATUS NTAPI RtlNtPathNameToDosPathName(IN ULONG Flags,
|
||||||
IN OUT RTL_UNICODE_STRING_BUFFER* Path,
|
IN OUT PRTL_UNICODE_STRING_BUFFER Path,
|
||||||
OUT ULONG* PathType,
|
OUT PULONG PathType,
|
||||||
ULONG* Unknown)
|
PULONG Unknown)
|
||||||
{
|
{
|
||||||
PCUNICODE_STRING UsePrefix = NULL, AlternatePrefix = NULL;
|
PCUNICODE_STRING UsePrefix = NULL, AlternatePrefix = NULL;
|
||||||
|
|
||||||
|
@ -1812,7 +1812,7 @@ NTSTATUS NTAPI RtlNtPathNameToDosPathName(IN ULONG Flags,
|
||||||
if (PathType)
|
if (PathType)
|
||||||
*PathType = RTL_CONVERTED_UNC_PATH;
|
*PathType = RTL_CONVERTED_UNC_PATH;
|
||||||
}
|
}
|
||||||
else if (RtlPrefixUnicodeString(&RtlpDosDevicesPrefix, &Path->String, TRUE))
|
else if (RtlPrefixUnicodeString(&RtlpDosDevicesPrefix, &Path->String, FALSE))
|
||||||
{
|
{
|
||||||
UsePrefix = &RtlpDosDevicesPrefix;
|
UsePrefix = &RtlpDosDevicesPrefix;
|
||||||
if (PathType)
|
if (PathType)
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#define WIN32_NO_STATUS
|
#define WIN32_NO_STATUS
|
||||||
#include <ndk/rtlfuncs.h>
|
#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) \
|
#define ok_hex_(expression, result) \
|
||||||
do { \
|
do { \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue