Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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) |