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
bcb40b31
Commit
bcb40b31
authored
Oct 15, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a few prototypes.
parent
80fc23a9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
34 deletions
+11
-34
misc.c
dlls/ntdll/misc.c
+2
-13
ntdll_misc.h
dlls/ntdll/ntdll_misc.h
+2
-3
reg.c
dlls/ntdll/reg.c
+5
-6
ntddk.h
include/ntddk.h
+2
-12
No files found.
dlls/ntdll/misc.c
View file @
bcb40b31
...
...
@@ -17,7 +17,7 @@ DEFAULT_DEBUG_CHANNEL(ntdll);
#define POP_FPU(x) DO_FPU("fstpl",x)
#endif
void
dump_ObjectAttributes
(
POBJECT_ATTRIBUTES
oa
)
void
dump_ObjectAttributes
(
const
OBJECT_ATTRIBUTES
*
oa
)
{
if
(
oa
)
TRACE
(
"%p:(name=%s, attr=0x%08lx, hRoot=0x%08x, sd=%p)
\n
"
,
...
...
@@ -25,18 +25,7 @@ void dump_ObjectAttributes (POBJECT_ATTRIBUTES oa)
oa
->
Attributes
,
oa
->
RootDirectory
,
oa
->
SecurityDescriptor
);
}
void
dump_AnsiString
(
PANSI_STRING
as
,
BOOLEAN
showstring
)
{
if
(
as
)
{
if
(
showstring
)
TRACE
(
"%p %p(%s) (%u %u)
\n
"
,
as
,
as
->
Buffer
,
debugstr_as
(
as
),
as
->
Length
,
as
->
MaximumLength
);
else
TRACE
(
"%p %p(<OUT>) (%u %u)
\n
"
,
as
,
as
->
Buffer
,
as
->
Length
,
as
->
MaximumLength
);
}
}
void
dump_UnicodeString
(
PUNICODE_STRING
us
,
BOOLEAN
showstring
)
void
dump_UnicodeString
(
const
UNICODE_STRING
*
us
,
BOOLEAN
showstring
)
{
if
(
us
)
{
...
...
dlls/ntdll/ntdll_misc.h
View file @
bcb40b31
...
...
@@ -7,8 +7,7 @@
/* debug helper */
extern
LPCSTR
debugstr_as
(
const
STRING
*
str
);
extern
LPCSTR
debugstr_us
(
const
UNICODE_STRING
*
str
);
extern
void
dump_ObjectAttributes
(
POBJECT_ATTRIBUTES
ObjectAttributes
);
extern
void
dump_AnsiString
(
PANSI_STRING
as
,
BOOLEAN
showstring
);
extern
void
dump_UnicodeString
(
PUNICODE_STRING
us
,
BOOLEAN
showstring
);
extern
void
dump_ObjectAttributes
(
const
OBJECT_ATTRIBUTES
*
ObjectAttributes
);
extern
void
dump_UnicodeString
(
const
UNICODE_STRING
*
us
,
BOOLEAN
showstring
);
#endif
dlls/ntdll/reg.c
View file @
bcb40b31
...
...
@@ -405,13 +405,12 @@ NTSTATUS WINAPI NtFlushKey(HANDLE KeyHandle)
* NtLoadKey [NTDLL]
* ZwLoadKey
*/
NTSTATUS
WINAPI
NtLoadKey
(
PHANDLE
KeyHandle
,
POBJECT_ATTRIBUTES
ObjectAttributes
)
NTSTATUS
WINAPI
NtLoadKey
(
const
OBJECT_ATTRIBUTES
*
attr
,
const
OBJECT_ATTRIBUTES
*
file
)
{
FIXME
(
"(%p),stub!
\n
"
,
KeyHandle
);
dump_ObjectAttributes
(
ObjectAttributes
);
return
STATUS_SUCCESS
;
FIXME
(
"stub!
\n
"
);
dump_ObjectAttributes
(
attr
);
dump_ObjectAttributes
(
file
);
return
STATUS_SUCCESS
;
}
/******************************************************************************
...
...
include/ntddk.h
View file @
bcb40b31
...
...
@@ -820,20 +820,14 @@ NTSTATUS WINAPI NtCreateKey(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*,ULON
NTSTATUS
WINAPI
NtDeleteKey
(
HANDLE
);
NTSTATUS
WINAPI
NtDeleteValueKey
(
HANDLE
,
const
UNICODE_STRING
*
);
NTSTATUS
WINAPI
NtOpenKey
(
PHANDLE
,
ACCESS_MASK
,
const
OBJECT_ATTRIBUTES
*
);
NTSTATUS
WINAPI
NtQueryKey
(
HANDLE
,
KEY_INFORMATION_CLASS
,
void
*
,
DWORD
,
DWORD
*
);
NTSTATUS
WINAPI
NtSetValueKey
(
HANDLE
,
const
UNICODE_STRING
*
,
ULONG
,
ULONG
,
const
void
*
,
ULONG
);
NTSTATUS
WINAPI
NtEnumerateKey
(
HANDLE
,
ULONG
,
KEY_INFORMATION_CLASS
,
void
*
,
DWORD
,
DWORD
*
);
NTSTATUS
WINAPI
NtQueryValueKey
(
HANDLE
,
const
UNICODE_STRING
*
,
KEY_VALUE_INFORMATION_CLASS
,
void
*
,
DWORD
,
DWORD
*
);
NTSTATUS
WINAPI
NtLoadKey
(
const
OBJECT_ATTRIBUTES
*
,
const
OBJECT_ATTRIBUTES
*
);
NTSTATUS
WINAPI
NtQueryKey
(
HANDLE
KeyHandle
,
KEY_INFORMATION_CLASS
KeyInformationClass
,
PVOID
KeyInformation
,
ULONG
Length
,
PULONG
ResultLength
);
NTSTATUS
WINAPI
NtEnumerateValueKey
(
HANDLE
KeyHandle
,
ULONG
Index
,
...
...
@@ -844,10 +838,6 @@ NTSTATUS WINAPI NtEnumerateValueKey(
NTSTATUS
WINAPI
NtFlushKey
(
HANDLE
KeyHandle
);
NTSTATUS
WINAPI
NtLoadKey
(
PHANDLE
KeyHandle
,
POBJECT_ATTRIBUTES
ObjectAttributes
);
NTSTATUS
WINAPI
NtNotifyChangeKey
(
IN
HANDLE
KeyHandle
,
IN
HANDLE
Event
,
...
...
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