IDirectInputJoyConfig8::DeleteConfig method (dinputd.h)
The IDirectInputJoyConfig8::DeleteConfig method deletes configuration information about a joystick.
Syntax
HRESULT DeleteConfig(
UINT unnamedParam1
);
Parameters
unnamedParam1
Indicates a zero-based joystick identification number.
Return value
Returns DI_OK if successful; otherwise, returns one of the following COM error values (these values are intended to be illustrative and are not necessarily comprehensive):
Return code | Description |
---|---|
|
Joystick configuration has not been acquired. You must call IDirectInputJoyConfig8::Acquire before you can alter joystick configuration settings. |
|
One or more parameters was invalid. |
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dinputd.h (include Dinputd.h) |