Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
bbfc01cc
Commit
bbfc01cc
authored
May 31, 2018
by
Stefan Leichter
Committed by
Alexandre Julliard
Jun 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Partly implement RtlDosPathNameToRelativeNtPathName_U_WithStatus.
Signed-off-by:
Stefan Leichter
<
sle85276@gmx.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
914d3872
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
0 deletions
+29
-0
ntdll.spec
dlls/ntdll/ntdll.spec
+1
-0
path.c
dlls/ntdll/path.c
+21
-0
winternl.h
include/winternl.h
+7
-0
No files found.
dlls/ntdll/ntdll.spec
View file @
bbfc01cc
...
...
@@ -564,6 +564,7 @@
# @ stub RtlDosApplyFileIsolationRedirection_Ustr
@ stdcall RtlDosPathNameToNtPathName_U(wstr ptr ptr ptr)
@ stdcall RtlDosPathNameToNtPathName_U_WithStatus(wstr ptr ptr ptr)
@ stdcall RtlDosPathNameToRelativeNtPathName_U_WithStatus(wstr ptr ptr ptr)
@ stdcall RtlDosSearchPath_U(wstr wstr wstr long ptr ptr)
# @ stub RtlDosSearchPath_Ustr
@ stdcall RtlDowncaseUnicodeChar(long)
...
...
dlls/ntdll/path.c
View file @
bbfc01cc
...
...
@@ -436,6 +436,27 @@ BOOLEAN WINAPI RtlDosPathNameToNtPathName_U(PCWSTR dos_path,
return
RtlDosPathNameToNtPathName_U_WithStatus
(
dos_path
,
ntpath
,
file_part
,
cd
)
==
STATUS_SUCCESS
;
}
/**************************************************************************
* RtlDosPathNameToRelativeNtPathName_U_WithStatus [NTDLL.@]
*
* See RtlDosPathNameToNtPathName_U_WithStatus (except the last parameter)
*/
NTSTATUS
WINAPI
RtlDosPathNameToRelativeNtPathName_U_WithStatus
(
const
WCHAR
*
dos_path
,
UNICODE_STRING
*
ntpath
,
WCHAR
**
file_part
,
RTL_RELATIVE_NAME
*
relative
)
{
TRACE
(
"(%s,%p,%p,%p)
\n
"
,
debugstr_w
(
dos_path
),
ntpath
,
file_part
,
relative
);
if
(
relative
)
{
FIXME
(
"Unsupported parameter
\n
"
);
memset
(
relative
,
0
,
sizeof
(
*
relative
));
}
/* FIXME: fill parameter relative */
return
RtlDosPathNameToNtPathName_U_WithStatus
(
dos_path
,
ntpath
,
file_part
,
NULL
);
}
/******************************************************************
* RtlDosSearchPath_U
*
...
...
include/winternl.h
View file @
bbfc01cc
...
...
@@ -148,6 +148,13 @@ typedef struct RTL_DRIVE_LETTER_CURDIR
UNICODE_STRING
DosPath
;
}
RTL_DRIVE_LETTER_CURDIR
,
*
PRTL_DRIVE_LETTER_CURDIR
;
typedef
struct
_RTL_RELATIVE_NAME
{
UNICODE_STRING
RelativeName
;
HANDLE
ContainerDirectory
;
void
*
CurDirRef
;
}
RTL_RELATIVE_NAME
,
*
PRTL_RELATIVE_NAME
;
typedef
struct
tagRTL_BITMAP
{
ULONG
SizeOfBitMap
;
/* Number of bits in the bitmap */
PULONG
Buffer
;
/* Bitmap data, assumed sized to a DWORD boundary */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment