ntoskrnl: Implement partial stub for IoGetConfigurationInformation().
This commit is contained in:
parent
6f7c2b94d4
commit
6e7c73cacf
|
@ -469,6 +469,18 @@ PDEVICE_OBJECT WINAPI IoGetRelatedDeviceObject( PFILE_OBJECT obj )
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static CONFIGURATION_INFORMATION configuration_information;
|
||||
|
||||
/***********************************************************************
|
||||
* IoGetConfigurationInformation (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
PCONFIGURATION_INFORMATION WINAPI IoGetConfigurationInformation(void)
|
||||
{
|
||||
FIXME( "partial stub\n" );
|
||||
/* FIXME: return actual devices on system */
|
||||
return &configuration_information;
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* IoRegisterDriverReinitialization (NTOSKRNL.EXE.@)
|
||||
|
|
|
@ -377,7 +377,7 @@
|
|||
@ stub IoGetAttachedDeviceReference
|
||||
@ stub IoGetBaseFileSystemDeviceObject
|
||||
@ stub IoGetBootDiskInformation
|
||||
@ stub IoGetConfigurationInformation
|
||||
@ stdcall IoGetConfigurationInformation()
|
||||
@ stub IoGetCurrentProcess
|
||||
@ stub IoGetDeviceAttachmentBaseRef
|
||||
@ stub IoGetDeviceInterfaceAlias
|
||||
|
|
|
@ -46,6 +46,21 @@ typedef enum _BUS_DATA_TYPE
|
|||
MaximumBusDataType
|
||||
} BUS_DATA_TYPE, *PBUS_DATA_TYPE;
|
||||
|
||||
typedef struct _CONFIGURATION_INFORMATION
|
||||
{
|
||||
ULONG DiskCount;
|
||||
ULONG FloppyCount;
|
||||
ULONG CdRomCount;
|
||||
ULONG TapeCount;
|
||||
ULONG ScsiPortCount;
|
||||
ULONG SerialCount;
|
||||
ULONG ParallelCount;
|
||||
BOOLEAN AtDiskPrimaryAddressClaimed;
|
||||
BOOLEAN AtDiskSecondaryAddressClaimed;
|
||||
ULONG Version;
|
||||
ULONG MediumChangerCount;
|
||||
} CONFIGURATION_INFORMATION, *PCONFIGURATION_INFORMATION;
|
||||
|
||||
typedef VOID (WINAPI *PDRIVER_REINITIALIZE)(PDRIVER_OBJECT,PVOID,ULONG);
|
||||
|
||||
void WINAPI IoRegisterDriverReinitialization(PDRIVER_OBJECT,PDRIVER_REINITIALIZE,PVOID);
|
||||
|
|
Loading…
Reference in New Issue