Microsoft DirectX 8.1 (Visual Basic)

DirectInputDevice8.RunControlPanel

Opens the Control Panel property sheet associated with this device. If the device does not have a property sheet associated with it, the default device property sheet is displayed.

object.RunControlPanel(hwnd As Long)

Parts

object
Resolves to a DirectInputDevice8 object.
hwnd
Handle to the parent window. If this parameter is 0, no parent window is used.

Error Codes

If the method fails, an error is raised and Err.Number may be one of the following error codes.

DIERR_INVALIDPARAM