Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
68f23a11
Commit
68f23a11
authored
Jun 14, 2015
by
Erich E. Hoover
Committed by
Alexandre Julliard
Jul 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Improve IoGetDeviceObjectPointer stub to appease SecuROM 5.x.
parent
2b59cf84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+7
-1
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
68f23a11
...
...
@@ -1009,10 +1009,16 @@ NTSTATUS WINAPI IoGetDeviceInterfaces( const GUID *InterfaceClassGuid,
*/
NTSTATUS
WINAPI
IoGetDeviceObjectPointer
(
UNICODE_STRING
*
name
,
ACCESS_MASK
access
,
PFILE_OBJECT
*
file
,
PDEVICE_OBJECT
*
device
)
{
static
DEVICE_OBJECT
stub_device
;
static
DRIVER_OBJECT
stub_driver
;
FIXME
(
"stub: %s %x %p %p
\n
"
,
debugstr_us
(
name
),
access
,
file
,
device
);
stub_device
.
StackSize
=
0x80
;
/* minimum value to appease SecuROM 5.x */
stub_device
.
DriverObject
=
&
stub_driver
;
*
file
=
NULL
;
*
device
=
NULL
;
*
device
=
&
stub_device
;
return
STATUS_SUCCESS
;
}
...
...
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