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
261a8b5e
Commit
261a8b5e
authored
Jun 24, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 24, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add prototype and fix RtlpNtCreateKey.
parent
804d474d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
reg.c
dlls/ntdll/reg.c
+8
-2
winternl.h
include/winternl.h
+1
-0
No files found.
dlls/ntdll/reg.c
View file @
261a8b5e
...
@@ -84,12 +84,18 @@ NTSTATUS WINAPI NtCreateKey( PHANDLE retkey, ACCESS_MASK access, const OBJECT_AT
...
@@ -84,12 +84,18 @@ NTSTATUS WINAPI NtCreateKey( PHANDLE retkey, ACCESS_MASK access, const OBJECT_AT
*
*
* See NtCreateKey.
* See NtCreateKey.
*/
*/
NTSTATUS
WINAPI
RtlpNtCreateKey
(
PHANDLE
retkey
,
ACCESS_MASK
access
,
OBJECT_ATTRIBUTES
*
attr
,
NTSTATUS
WINAPI
RtlpNtCreateKey
(
PHANDLE
retkey
,
ACCESS_MASK
access
,
const
OBJECT_ATTRIBUTES
*
attr
,
ULONG
TitleIndex
,
const
UNICODE_STRING
*
class
,
ULONG
options
,
ULONG
TitleIndex
,
const
UNICODE_STRING
*
class
,
ULONG
options
,
PULONG
dispos
)
PULONG
dispos
)
{
{
OBJECT_ATTRIBUTES
oa
;
if
(
attr
)
if
(
attr
)
attr
->
Attributes
&=
~
(
OBJ_PERMANENT
|
OBJ_EXCLUSIVE
);
{
memcpy
(
&
oa
,
attr
,
sizeof
oa
);
oa
.
Attributes
&=
~
(
OBJ_PERMANENT
|
OBJ_EXCLUSIVE
);
attr
=
&
oa
;
}
return
NtCreateKey
(
retkey
,
access
,
attr
,
0
,
NULL
,
0
,
dispos
);
return
NtCreateKey
(
retkey
,
access
,
attr
,
0
,
NULL
,
0
,
dispos
);
}
}
...
...
include/winternl.h
View file @
261a8b5e
...
@@ -2064,6 +2064,7 @@ NTSTATUS WINAPI RtlVerifyVersionInfo(const RTL_OSVERSIONINFOEXW*,DWORD,DWORDLON
...
@@ -2064,6 +2064,7 @@ NTSTATUS WINAPI RtlVerifyVersionInfo(const RTL_OSVERSIONINFOEXW*,DWORD,DWORDLON
NTSTATUS
WINAPI
RtlWalkHeap
(
HANDLE
,
PVOID
);
NTSTATUS
WINAPI
RtlWalkHeap
(
HANDLE
,
PVOID
);
NTSTATUS
WINAPI
RtlpNtCreateKey
(
PHANDLE
,
ACCESS_MASK
,
const
OBJECT_ATTRIBUTES
*
,
ULONG
,
const
UNICODE_STRING
*
,
ULONG
,
PULONG
);
NTSTATUS
WINAPI
RtlpWaitForCriticalSection
(
RTL_CRITICAL_SECTION
*
);
NTSTATUS
WINAPI
RtlpWaitForCriticalSection
(
RTL_CRITICAL_SECTION
*
);
NTSTATUS
WINAPI
RtlpUnWaitCriticalSection
(
RTL_CRITICAL_SECTION
*
);
NTSTATUS
WINAPI
RtlpUnWaitCriticalSection
(
RTL_CRITICAL_SECTION
*
);
...
...
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