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
1690044d
Commit
1690044d
authored
Aug 14, 2009
by
Stefan Leichter
Committed by
Alexandre Julliard
Aug 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add stub for IoQueryDeviceDescription.
parent
ec98af65
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
63 additions
and
1 deletion
+63
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+12
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
ntddk.h
include/ddk/ntddk.h
+50
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
1690044d
...
...
@@ -688,6 +688,18 @@ PCONFIGURATION_INFORMATION WINAPI IoGetConfigurationInformation(void)
/***********************************************************************
* IoQueryDeviceDescription (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
IoQueryDeviceDescription
(
PINTERFACE_TYPE
itype
,
PULONG
bus
,
PCONFIGURATION_TYPE
ctype
,
PULONG
cnum
,
PCONFIGURATION_TYPE
ptype
,
PULONG
pnum
,
PIO_QUERY_DEVICE_ROUTINE
callout
,
PVOID
context
)
{
FIXME
(
"(%p %p %p %p %p %p %p %p)
\n
"
,
itype
,
bus
,
ctype
,
cnum
,
ptype
,
pnum
,
callout
,
context
);
return
STATUS_NOT_IMPLEMENTED
;
}
/***********************************************************************
* IoRegisterDriverReinitialization (NTOSKRNL.EXE.@)
*/
void
WINAPI
IoRegisterDriverReinitialization
(
PDRIVER_OBJECT
obj
,
PDRIVER_REINITIALIZE
reinit
,
PVOID
context
)
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
1690044d
...
...
@@ -412,7 +412,7 @@
@ stub IoOpenDeviceRegistryKey
@ stub IoPageRead
@ stub IoPnPDeliverServicePowerNotification
@ st
ub IoQueryDeviceDescription
@ st
dcall IoQueryDeviceDescription(ptr ptr ptr ptr ptr ptr ptr ptr)
@ stub IoQueryFileDosDeviceName
@ stub IoQueryFileInformation
@ stub IoQueryVolumeInformation
...
...
include/ddk/ntddk.h
View file @
1690044d
...
...
@@ -61,8 +61,58 @@ typedef struct _CONFIGURATION_INFORMATION
ULONG
MediumChangerCount
;
}
CONFIGURATION_INFORMATION
,
*
PCONFIGURATION_INFORMATION
;
typedef
enum
_CONFIGURATION_TYPE
{
ArcSystem
=
0
,
CentralProcessor
,
FloatingPointProcessor
,
PrimaryIcache
,
PrimaryDcache
,
SecondaryIcache
,
SecondaryDcache
,
SecondaryCache
,
EisaAdapter
,
TcAdapter
,
ScsiAdapter
,
DtiAdapter
,
MultiFunctionAdapter
,
DiskController
,
TapeController
,
CdromController
,
WormController
,
SerialController
,
NetworkController
,
DisplayController
,
ParallelController
,
PointerController
,
KeyboardController
,
AudioController
,
OtherController
,
DiskPeripheral
,
FloppyDiskPeripheral
,
TapePeripheral
,
ModemPeripheral
,
MonitorPeripheral
,
PrinterPeripheral
,
PointerPeripheral
,
KeyboardPeripheral
,
TerminalPeripheral
,
OtherPeripheral
,
LinePeripheral
,
NetworkPeripheral
,
SystemMemory
,
DockingInformation
,
RealModeIrqRoutingTable
,
RealModePCIEnumeration
,
MaximunType
}
CONFIGURATION_TYPE
,
*
PCONFIGURATION_TYPE
;
typedef
VOID
(
WINAPI
*
PDRIVER_REINITIALIZE
)(
PDRIVER_OBJECT
,
PVOID
,
ULONG
);
typedef
NTSTATUS
(
WINAPI
*
PIO_QUERY_DEVICE_ROUTINE
)(
PVOID
,
PUNICODE_STRING
,
INTERFACE_TYPE
,
ULONG
,
PKEY_VALUE_FULL_INFORMATION
*
,
CONFIGURATION_TYPE
,
ULONG
,
PKEY_VALUE_FULL_INFORMATION
*
);
NTSTATUS
WINAPI
IoQueryDeviceDescription
(
PINTERFACE_TYPE
,
PULONG
,
PCONFIGURATION_TYPE
,
PULONG
,
PCONFIGURATION_TYPE
,
PULONG
,
PIO_QUERY_DEVICE_ROUTINE
,
PVOID
);
void
WINAPI
IoRegisterDriverReinitialization
(
PDRIVER_OBJECT
,
PDRIVER_REINITIALIZE
,
PVOID
);
NTSTATUS
WINAPI
IoRegisterShutdownNotification
(
PDEVICE_OBJECT
);
...
...
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