Platform SDK: DirectX

DirectInput.RunControlPanel

The DirectInput.RunControlPanel method runs the Windows Control Panel to allow the user to install a new input device or modify configurations.

object.RunControlPanel(hwndOwner As Long)

Parameters

object
Object expression that resolves to a DirectInput object.
hwndOwner
Handle to the window to be used as the parent window for the subsequent user interface. If this parameter is 0, no parent window is used.

Error Codes

If the method fails, an error is raised and Err.Number will be set.

See Also

DirectInputDevice.RunControlPanel