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
82567321
Commit
82567321
authored
Nov 03, 2014
by
Austin English
Committed by
Alexandre Julliard
Nov 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add a stub for IoRegisterPlugPlayNotification.
parent
f5e3281a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+11
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
ntddk.h
include/ddk/ntddk.h
+9
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
82567321
...
...
@@ -1936,3 +1936,14 @@ NTSTATUS WINAPI ObQueryNameString(PVOID object, POBJECT_NAME_INFORMATION name, U
FIXME
(
"(%p %p %u %p) stub
\n
"
,
object
,
name
,
maxlength
,
returnlength
);
return
STATUS_NOT_IMPLEMENTED
;
}
/*****************************************************
* IoRegisterPlugPlayNotification (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
IoRegisterPlugPlayNotification
(
IO_NOTIFICATION_EVENT_CATEGORY
category
,
ULONG
flags
,
PVOID
data
,
PDRIVER_OBJECT
driver
,
PDRIVER_NOTIFICATION_CALLBACK_ROUTINE
callback
,
PVOID
context
,
PVOID
*
notification
)
{
FIXME
(
"(%u %u %p %p %p %p %p) stub
\n
"
,
category
,
flags
,
data
,
driver
,
callback
,
context
,
notification
);
return
STATUS_SUCCESS
;
}
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
82567321
...
...
@@ -430,7 +430,7 @@
@ stdcall IoRegisterFileSystem(ptr)
@ stub IoRegisterFsRegistrationChange
@ stub IoRegisterLastChanceShutdownNotification
@ st
ub IoRegisterPlugPlayNotification
@ st
dcall IoRegisterPlugPlayNotification(long long ptr ptr ptr ptr ptr)
@ stdcall IoRegisterShutdownNotification(ptr)
@ stdcall IoReleaseCancelSpinLock(ptr)
@ stub IoReleaseRemoveLockAndWaitEx
...
...
include/ddk/ntddk.h
View file @
82567321
...
...
@@ -127,11 +127,20 @@ typedef struct _IMAGE_INFO
ULONG
ImageSectionNumber
;
}
IMAGE_INFO
,
*
PIMAGE_INFO
;
typedef
enum
_IO_NOTIFICATION_EVENT_CATEGORY
{
EventCategoryReserved
,
EventCategoryHardwareProfileChange
,
EventCategoryDeviceInterfaceChange
,
EventCategoryTargetDeviceChange
}
IO_NOTIFICATION_EVENT_CATEGORY
;
typedef
struct
_FILE_VALID_DATA_LENGTH_INFORMATION
{
LARGE_INTEGER
ValidDataLength
;
}
FILE_VALID_DATA_LENGTH_INFORMATION
,
*
PFILE_VALID_DATA_LENGTH_INFORMATION
;
typedef
VOID
(
WINAPI
*
PDRIVER_NOTIFICATION_CALLBACK_ROUTINE
)(
PVOID
,
PVOID
);
typedef
VOID
(
WINAPI
*
PDRIVER_REINITIALIZE
)(
PDRIVER_OBJECT
,
PVOID
,
ULONG
);
typedef
VOID
(
WINAPI
*
PLOAD_IMAGE_NOTIFY_ROUTINE
)(
PUNICODE_STRING
,
HANDLE
,
PIMAGE_INFO
);
typedef
NTSTATUS
(
WINAPI
*
PIO_QUERY_DEVICE_ROUTINE
)(
PVOID
,
PUNICODE_STRING
,
INTERFACE_TYPE
,
ULONG
,
...
...
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