Chapter 15 Unload Routine

This chapter contains the following information:
15.1 Unload Routine Requirements

15.1.1 Releasing Driver-Allocated Resources

15.1.2 Releasing Device and Controller Objects

15.2 Unload Routine Functionality

The Unload routine is defined by the I/O Manager as follows:

VOID 
(*PDRIVER_UNLOAD) ( 
    IN PDRIVER_OBJECT DriverObject 
    ); 
 

This chapter summarizes the required functionality of an NT driver’s standard Unload routine.

For specific information about any of the support routines mentioned in this chapter, see the Kernel-Mode Driver Reference.