Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
82853711
Commit
82853711
authored
Oct 16, 1998
by
Dietmar Kling
Committed by
Alexandre Julliard
Oct 16, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added undocumented function RtlOpenCurrentUser.
parent
73d6c134
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
ntdll.c
misc/ntdll.c
+13
-0
ntdll.spec
relay32/ntdll.spec
+1
-1
No files found.
misc/ntdll.c
View file @
82853711
...
...
@@ -18,6 +18,7 @@
#include "module.h"
#include "heap.h"
#include "debugstr.h"
#include "winreg.h"
/**************************************************************************
* RtlLengthRequiredSid [NTDLL.427]
...
...
@@ -823,6 +824,18 @@ DWORD WINAPI RtlFormatCurrentUserKeyPath()
FIXME
(
ntdll
,
"(): stub
\n
"
);
return
1
;
}
DWORD
WINAPI
RtlOpenCurrentUser
(
DWORD
x1
,
DWORD
*
x2
)
{
/* Note: this is not the correct solution,
* But this works pretty good on wine and NT4.0 binaries
*/
if
(
x1
==
0x2000000
)
{
*
x2
=
HKEY_CURRENT_USER
;
return
TRUE
;
}
return
FALSE
;
}
/******************************************************************************
* RtlAllocateAndInitializeSid [NTDLL.265]
*
...
...
relay32/ntdll.spec
View file @
82853711
...
...
@@ -449,7 +449,7 @@ type win32
446 stub RtlOemStringToUnicodeSize
447 stdcall RtlOemStringToUnicodeString(ptr ptr long) RtlOemStringToUnicodeString
448 stdcall RtlOemToUnicodeN(ptr long ptr ptr long) RtlOemToUnicodeN
449 st
ub
RtlOpenCurrentUser
449 st
dcall RtlOpenCurrentUser(long ptr)
RtlOpenCurrentUser
450 stub RtlPcToFileHeader
451 stub RtlPrefixString
452 stub RtlPrefixUnicodeString
...
...
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