ntoskrnl.exe: Add stub for IoQueryDeviceDescription.
This commit is contained in:
parent
ec98af650b
commit
1690044d78
|
@ -687,6 +687,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.@)
|
* IoRegisterDriverReinitialization (NTOSKRNL.EXE.@)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -412,7 +412,7 @@
|
||||||
@ stub IoOpenDeviceRegistryKey
|
@ stub IoOpenDeviceRegistryKey
|
||||||
@ stub IoPageRead
|
@ stub IoPageRead
|
||||||
@ stub IoPnPDeliverServicePowerNotification
|
@ stub IoPnPDeliverServicePowerNotification
|
||||||
@ stub IoQueryDeviceDescription
|
@ stdcall IoQueryDeviceDescription(ptr ptr ptr ptr ptr ptr ptr ptr)
|
||||||
@ stub IoQueryFileDosDeviceName
|
@ stub IoQueryFileDosDeviceName
|
||||||
@ stub IoQueryFileInformation
|
@ stub IoQueryFileInformation
|
||||||
@ stub IoQueryVolumeInformation
|
@ stub IoQueryVolumeInformation
|
||||||
|
|
|
@ -61,8 +61,58 @@ typedef struct _CONFIGURATION_INFORMATION
|
||||||
ULONG MediumChangerCount;
|
ULONG MediumChangerCount;
|
||||||
} CONFIGURATION_INFORMATION, *PCONFIGURATION_INFORMATION;
|
} CONFIGURATION_INFORMATION, *PCONFIGURATION_INFORMATION;
|
||||||
|
|
||||||
typedef VOID (WINAPI *PDRIVER_REINITIALIZE)(PDRIVER_OBJECT,PVOID,ULONG);
|
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);
|
void WINAPI IoRegisterDriverReinitialization(PDRIVER_OBJECT,PDRIVER_REINITIALIZE,PVOID);
|
||||||
NTSTATUS WINAPI IoRegisterShutdownNotification(PDEVICE_OBJECT);
|
NTSTATUS WINAPI IoRegisterShutdownNotification(PDEVICE_OBJECT);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue