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
4e690089
Commit
4e690089
authored
Mar 21, 2018
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Mar 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add more typedefs to wdm.h.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
64bd13ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
94 additions
and
0 deletions
+94
-0
wdm.h
include/ddk/wdm.h
+94
-0
No files found.
include/ddk/wdm.h
View file @
4e690089
...
...
@@ -44,6 +44,7 @@ typedef ULONG_PTR KSPIN_LOCK, *PKSPIN_LOCK;
typedef
ULONG_PTR
ERESOURCE_THREAD
;
typedef
ERESOURCE_THREAD
*
PERESOURCE_THREAD
;
typedef
struct
_FILE_GET_QUOTA_INFORMATION
*
PFILE_GET_QUOTA_INFORMATION
;
struct
_KDPC
;
struct
_KAPC
;
...
...
@@ -1223,6 +1224,99 @@ typedef struct _KLOCK_QUEUE_HANDLE {
typedef
NTSTATUS
(
NTAPI
EX_CALLBACK_FUNCTION
)(
void
*
CallbackContext
,
void
*
Argument1
,
void
*
Argument2
);
typedef
EX_CALLBACK_FUNCTION
*
PEX_CALLBACK_FUNCTION
;
typedef
ULONG
OB_OPERATION
;
typedef
struct
_OB_PRE_CREATE_HANDLE_INFORMATION
{
ACCESS_MASK
DesiredAccess
;
ACCESS_MASK
OriginalDesiredAccess
;
}
OB_PRE_CREATE_HANDLE_INFORMATION
,
*
POB_PRE_CREATE_HANDLE_INFORMATION
;
typedef
struct
_OB_PRE_DUPLICATE_HANDLE_INFORMATION
{
ACCESS_MASK
DesiredAccess
;
ACCESS_MASK
OriginalDesiredAccess
;
PVOID
SourceProcess
;
PVOID
TargetProcess
;
}
OB_PRE_DUPLICATE_HANDLE_INFORMATION
,
*
POB_PRE_DUPLICATE_HANDLE_INFORMATION
;
typedef
union
_OB_PRE_OPERATION_PARAMETERS
{
OB_PRE_CREATE_HANDLE_INFORMATION
CreateHandleInformation
;
OB_PRE_DUPLICATE_HANDLE_INFORMATION
DuplicateHandleInformation
;
}
OB_PRE_OPERATION_PARAMETERS
,
*
POB_PRE_OPERATION_PARAMETERS
;
typedef
struct
_OB_PRE_OPERATION_INFORMATION
{
OB_OPERATION
Operation
;
union
{
ULONG
Flags
;
struct
{
ULONG
KernelHandle
:
1
;
ULONG
Reserved
:
31
;
}
DUMMYSTRUCTNAME
;
}
DUMMYUNIONNAME
;
PVOID
Object
;
POBJECT_TYPE
ObjectType
;
PVOID
CallContext
;
POB_PRE_OPERATION_PARAMETERS
Parameters
;
}
OB_PRE_OPERATION_INFORMATION
,
*
POB_PRE_OPERATION_INFORMATION
;
typedef
struct
_OB_POST_CREATE_HANDLE_INFORMATION
{
ACCESS_MASK
GrantedAccess
;
}
OB_POST_CREATE_HANDLE_INFORMATION
,
*
POB_POST_CREATE_HANDLE_INFORMATION
;
typedef
struct
_OB_POST_DUPLICATE_HANDLE_INFORMATION
{
ACCESS_MASK
GrantedAccess
;
}
OB_POST_DUPLICATE_HANDLE_INFORMATION
,
*
POB_POST_DUPLICATE_HANDLE_INFORMATION
;
typedef
union
_OB_POST_OPERATION_PARAMETERS
{
OB_POST_CREATE_HANDLE_INFORMATION
CreateHandleInformation
;
OB_POST_DUPLICATE_HANDLE_INFORMATION
DuplicateHandleInformation
;
}
OB_POST_OPERATION_PARAMETERS
,
*
POB_POST_OPERATION_PARAMETERS
;
typedef
struct
_OB_POST_OPERATION_INFORMATION
{
OB_OPERATION
Operation
;
union
{
ULONG
Flags
;
struct
{
ULONG
KernelHandle
:
1
;
ULONG
Reserved
:
31
;
}
DUMMYSTRUCTNAME
;
}
DUMMYUNIONNAME
;
PVOID
Object
;
POBJECT_TYPE
ObjectType
;
PVOID
CallContext
;
NTSTATUS
ReturnStatus
;
POB_POST_OPERATION_PARAMETERS
Parameters
;
}
OB_POST_OPERATION_INFORMATION
,
*
POB_POST_OPERATION_INFORMATION
;
typedef
enum
_OB_PREOP_CALLBACK_STATUS
{
OB_PREOP_SUCCESS
}
OB_PREOP_CALLBACK_STATUS
,
*
POB_PREOP_CALLBACK_STATUS
;
typedef
OB_PREOP_CALLBACK_STATUS
(
WINAPI
*
POB_PRE_OPERATION_CALLBACK
)(
void
*
context
,
POB_PRE_OPERATION_INFORMATION
information
);
typedef
void
(
WINAPI
*
POB_POST_OPERATION_CALLBACK
)(
void
*
context
,
POB_POST_OPERATION_INFORMATION
information
);
typedef
struct
_OB_OPERATION_REGISTRATION
{
POBJECT_TYPE
*
ObjectType
;
OB_OPERATION
Operations
;
POB_PRE_OPERATION_CALLBACK
PreOperation
;
POB_POST_OPERATION_CALLBACK
PostOperation
;
}
OB_OPERATION_REGISTRATION
,
*
POB_OPERATION_REGISTRATION
;
typedef
struct
_OB_CALLBACK_REGISTRATION
{
USHORT
Version
;
USHORT
OperationRegistrationCount
;
UNICODE_STRING
Altitude
;
PVOID
RegistrationContext
;
OB_OPERATION_REGISTRATION
*
OperationRegistration
;
}
OB_CALLBACK_REGISTRATION
,
*
POB_CALLBACK_REGISTRATION
;
#define OB_FLT_REGISTRATION_VERSION_0100 0x0100
#define OB_FLT_REGISTRATION_VERSION OB_FLT_REGISTRATION_VERSION_0100
typedef
enum
_DIRECTORY_NOTIFY_INFORMATION_CLASS
{
DirectoryNotifyInformation
=
1
,
DirectoryNotifyExtendedInformation
}
DIRECTORY_NOTIFY_INFORMATION_CLASS
,
*
PDIRECTORY_NOTIFY_INFORMATION_CLASS
;
NTSTATUS
WINAPI
ObCloseHandle
(
IN
HANDLE
handle
);
#ifdef NONAMELESSUNION
...
...
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