The IDirectInput::RunControlPanel method runs the Windows Control Panel to allow the user to install a new input device or modify configurations.
HRESULT RunControlPanel(
HWND hwndOwner,
DWORD dwFlags
);
Parameters
hwndOwner
Handle to the window to be used as the parent window for the subsequent user interface. If this parameter is NULL, no parent window is used.
dwFlags
This parameter is currently not used and must be set to zero.
Return Values
If the method succeeds, the return value is DI_OK.
If the method fails, the return value may be one of the following error values:
DIERR_INVALIDPARAM |
DIERR_NOTINITIALIZED |
QuickInfo
Windows NT: Use version 5.0 or later.
Windows: Use Windows 95 OSR2 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in dinput.h.
Import Library: Use dinput.lib.
See Also