1.1.3 Standard Driver Routines
IoRegisterDriverReinitialization
Sets up a driver-supplied Reinitialize routine, together with its context, so the Reinitialize routine will be called when every subsequently loaded driver’s DriverEntry routine has returned control.
IoRegisterShutdownNotification
Sets up a (nonmass-storage) driver’s DispatchShutdown routine to be called when the system is being shut down.
IoUnregisterShutdownNotification
Removes a (nonmass-storage) driver’s DispatchShutdown routine from the list of those to be called when the system is being shut down.
Returns a mapped system interrupt vector, DIRQL, and processor-affinity mask a driver can use to set up its ISR, given the type of bus on which the driver’s device is connected, the system-assigned bus number, and the bus’s interrupt vector and IRQL.
Registers an ISR and sets up interrupt objects, using values supplied by HalGetInterruptVector. Returns a pointer to a set of interrupt objects that must be passed, along with the driver’s SynchCritSection entry point, to KeSynchronizeExecution.
Releases a driver’s interrupt objects.
Associates a driver-supplied DpcForIsr routine with a given device object, so the DpcForIsr can complete interrupt-driven I/O operations.
Initializes a DPC object, setting up a driver-supplied CustomDpc routine that can be called with a given context.
Initializes a notification timer object to the Not-Signaled state.
Initializes a notification or synchronization timer object to the Not-Signaled state.
Associates a timer with the given device object and registers a driver-supplied IoTimer routine for the device object.
Locks a set of driver routines marked with a special compiler directive into system space, sometimes during driver initialization but usually in its DispatchCreate routine.
Locks a named data section marked with a special compiler directive into system space, when that data is used infrequently, predictably and at an IRQL less than DISPATCH_LEVEL.
Locks a pageable section into system memory using a handle returned from MmLockPagableCodeSection or MmLockPagableDataSection.
Releases a set of driver routines or a set of data that were locked into nonpaged system space when the driver is no longer processing IRPs.
MmPageEntireDriver allows a driver to page out all of its code and data regardless of the attributes of the various sections in the driver’s image.
MmResetDriverPaging resets a driver’s pageable status to that specified by the sections which make up the driver’s image.