Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Felix Münchhalfen
wine
Commits
bcb40b31
Commit
bcb40b31
authored
24 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
Fixed a few prototypes.
parent
80fc23a9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
dlls/ntdll/misc.c
+2
-13
2 additions, 13 deletions
dlls/ntdll/misc.c
dlls/ntdll/ntdll_misc.h
+2
-3
2 additions, 3 deletions
dlls/ntdll/ntdll_misc.h
dlls/ntdll/reg.c
+5
-6
5 additions, 6 deletions
dlls/ntdll/reg.c
include/ntddk.h
+2
-12
2 additions, 12 deletions
include/ntddk.h
with
11 additions
and
34 deletions
dlls/ntdll/misc.c
+
2
−
13
View file @
bcb40b31
...
...
@@ -17,7 +17,7 @@ DEFAULT_DEBUG_CHANNEL(ntdll);
#define POP_FPU(x) DO_FPU("fstpl",x)
#endif
void
dump_ObjectAttributes
(
P
OBJECT_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
)
{
...
...
This diff is collapsed.
Click to expand it.
dlls/ntdll/ntdll_misc.h
+
2
−
3
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
This diff is collapsed.
Click to expand it.
dlls/ntdll/reg.c
+
5
−
6
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
;
}
/******************************************************************************
...
...
This diff is collapsed.
Click to expand it.
include/ntddk.h
+
2
−
12
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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment