DriverEntry of IDE Controller Minidriver function
DriverEntry initializes the minidriver.
NTSTATUS DriverEntry( _In_ PDRIVER_OBJECT DriverObject, _In_ PUNICODE_STRING RegistryPath );
Contains a pointer to the IDE controller minidriver's driver object.
Specifies a string indicating the registry path to the driver's configuration information in the registry.
DriverEntry returns STATUS_SUCCESS if successful; otherwise it returns the error code received from the PciIdeXInitialize library routine.
Each controller minidriver must have a routine named DriverEntry in order to load.
An IDE controller minidriver's DriverEntry routine must call the PciIdeXInitialize library routine. PciIdeXInitialize initializes the controller minidriver's dispatch tables, allocates an extension for the DriverObject, and stores various values in the driver object's extension. Values that must be stored in the driver object's extension include the size of the driver extension and a pointer to a controller minidriver HwIdeXGetControllerProperties routine that retrieves information about the IDE controller.
|Ide.h (include Ide.h)|