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
162991a0
Commit
162991a0
authored
Nov 19, 2021
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Nov 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl: Add IoCreateDeviceSecure semi-stub.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4f3d189f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+15
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-0
wdm.h
include/ddk/wdm.h
+1
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
162991a0
...
@@ -1610,6 +1610,21 @@ static struct _OBJECT_TYPE device_type =
...
@@ -1610,6 +1610,21 @@ static struct _OBJECT_TYPE device_type =
POBJECT_TYPE
IoDeviceObjectType
=
&
device_type
;
POBJECT_TYPE
IoDeviceObjectType
=
&
device_type
;
/***********************************************************************
* IoCreateDeviceSecure (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
IoCreateDeviceSecure
(
DRIVER_OBJECT
*
driver
,
ULONG
ext_size
,
UNICODE_STRING
*
name
,
DEVICE_TYPE
type
,
ULONG
characteristics
,
BOOLEAN
exclusive
,
PCUNICODE_STRING
sddl
,
LPCGUID
guid
,
DEVICE_OBJECT
**
ret_device
)
{
FIXME
(
"(%p, %u, %s, %u, %x, %u, %s, %s, %p): semi-stub
\n
"
,
driver
,
ext_size
,
debugstr_us
(
name
),
type
,
characteristics
,
exclusive
,
debugstr_us
(
sddl
),
wine_dbgstr_guid
(
guid
),
ret_device
);
return
IoCreateDevice
(
driver
,
ext_size
,
name
,
type
,
characteristics
,
exclusive
,
ret_device
);
}
/***********************************************************************
/***********************************************************************
* IoCreateDevice (NTOSKRNL.EXE.@)
* IoCreateDevice (NTOSKRNL.EXE.@)
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
162991a0
...
@@ -354,6 +354,7 @@
...
@@ -354,6 +354,7 @@
@ stub IoConnectInterrupt
@ stub IoConnectInterrupt
@ stub IoCreateController
@ stub IoCreateController
@ stdcall IoCreateDevice(ptr long ptr long long long ptr)
@ stdcall IoCreateDevice(ptr long ptr long long long ptr)
@ stdcall IoCreateDeviceSecure(ptr long ptr long long long ptr ptr ptr)
@ stub IoCreateDisk
@ stub IoCreateDisk
@ stdcall IoCreateDriver(ptr ptr)
@ stdcall IoCreateDriver(ptr ptr)
@ stdcall IoCreateFile(ptr long ptr ptr ptr long long long long ptr long long ptr long)
@ stdcall IoCreateFile(ptr long ptr ptr ptr long long long long ptr long long ptr long)
...
...
include/ddk/wdm.h
View file @
162991a0
...
@@ -1701,6 +1701,7 @@ NTSTATUS WINAPI IoCallDriver(DEVICE_OBJECT*,IRP*);
...
@@ -1701,6 +1701,7 @@ NTSTATUS WINAPI IoCallDriver(DEVICE_OBJECT*,IRP*);
BOOLEAN
WINAPI
IoCancelIrp
(
IRP
*
);
BOOLEAN
WINAPI
IoCancelIrp
(
IRP
*
);
VOID
WINAPI
IoCompleteRequest
(
IRP
*
,
UCHAR
);
VOID
WINAPI
IoCompleteRequest
(
IRP
*
,
UCHAR
);
NTSTATUS
WINAPI
IoCreateDevice
(
DRIVER_OBJECT
*
,
ULONG
,
UNICODE_STRING
*
,
DEVICE_TYPE
,
ULONG
,
BOOLEAN
,
DEVICE_OBJECT
**
);
NTSTATUS
WINAPI
IoCreateDevice
(
DRIVER_OBJECT
*
,
ULONG
,
UNICODE_STRING
*
,
DEVICE_TYPE
,
ULONG
,
BOOLEAN
,
DEVICE_OBJECT
**
);
NTSTATUS
WINAPI
IoCreateDeviceSecure
(
DRIVER_OBJECT
*
,
ULONG
,
UNICODE_STRING
*
,
DEVICE_TYPE
,
ULONG
,
BOOLEAN
,
PCUNICODE_STRING
,
LPCGUID
,
DEVICE_OBJECT
**
);
NTSTATUS
WINAPI
IoCreateDriver
(
UNICODE_STRING
*
,
PDRIVER_INITIALIZE
);
NTSTATUS
WINAPI
IoCreateDriver
(
UNICODE_STRING
*
,
PDRIVER_INITIALIZE
);
NTSTATUS
WINAPI
IoCreateSymbolicLink
(
UNICODE_STRING
*
,
UNICODE_STRING
*
);
NTSTATUS
WINAPI
IoCreateSymbolicLink
(
UNICODE_STRING
*
,
UNICODE_STRING
*
);
PKEVENT
WINAPI
IoCreateSynchronizationEvent
(
UNICODE_STRING
*
,
HANDLE
*
);
PKEVENT
WINAPI
IoCreateSynchronizationEvent
(
UNICODE_STRING
*
,
HANDLE
*
);
...
...
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