Step 7: Closing Down the DirectInput System

When an application is about to close, it should destroy all DirectInput objects. This is a three-step process:

For a sample function that closes down the DirectInput system, see Sample Function 2: DI_Term.