Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shawn McKinney
OpenLDAP
Commits
279cc7b8
Commit
279cc7b8
authored
Aug 06, 2018
by
Howard Chu
Browse files
ITS#8891 fix M$ WINAPI typedefs
parent
b6576544
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
279cc7b8
...
...
@@ -52,7 +52,7 @@
* NTDLL.DLL at runtime, to avoid buildtime dependencies on any
* NTDLL import libraries.
*/
typedef NTSTATUS WINAPI
(
NtCreateSectionFunc)
typedef
NTSTATUS
(
WINAPI
NtCreateSectionFunc
)
(
OUT
PHANDLE
sh
,
IN
ACCESS_MASK
acc
,
IN
void
*
oa
OPTIONAL
,
IN
PLARGE_INTEGER
ms
OPTIONAL
,
...
...
@@ -65,7 +65,7 @@ typedef enum _SECTION_INHERIT {
ViewUnmap
=
2
}
SECTION_INHERIT
;
typedef NTSTATUS WINAPI
(
NtMapViewOfSectionFunc)
typedef
NTSTATUS
(
WINAPI
NtMapViewOfSectionFunc
)
(
IN
PHANDLE
sh
,
IN
HANDLE
ph
,
IN
OUT
PVOID
*
addr
,
IN
ULONG_PTR
zbits
,
IN
SIZE_T
cs
,
IN
OUT
PLARGE_INTEGER
off
OPTIONAL
,
...
...
@@ -74,7 +74,7 @@ typedef NTSTATUS WINAPI (NtMapViewOfSectionFunc)
static
NtMapViewOfSectionFunc
*
NtMapViewOfSection
;
typedef NTSTATUS WINAPI
(
NtCloseFunc)(HANDLE h);
typedef
NTSTATUS
(
WINAPI
NtCloseFunc
)(
HANDLE
h
);
static
NtCloseFunc
*
NtClose
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment