DirectX SDK

Step 7: Close Down the DirectInput System

[Visual Basic]

The information in this topic pertains only to applications written in C++. See DirectInput Visual Basic Tutorials.

[C++]

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.