NTSTATUS
IoCreateDriver(
IN PUNICODE_STRING DriverName OPTIONAL,
IN PDRIVER_INITIALIZE InitializationFunction
);
Routine Description:
This routine creates a driver object for a kernel component that
was not loaded as a driver. If the creation of the driver object
succeeds, Initialization function is invoked with the same parameters
as passed to DriverEntry.
Parameters:
DriverName - Supplies the name of the driver for which a driver object
is to be created.
InitializationFunction - Equivalent to DriverEntry().
ReturnValue:
Status code that indicates whether or not the function was successful.
Notes: