xinput1_3: Added stub for XInputGetDSoundAudioDeviceGuids.
This commit is contained in:
parent
573102ee88
commit
f58aae7b69
|
@ -3,5 +3,5 @@
|
|||
@ stdcall XInputGetState(long ptr)
|
||||
@ stdcall XInputGetKeystroke(long long ptr)
|
||||
@ stdcall XInputGetCapabilities(long long ptr)
|
||||
@ stub XInputGetDSoundAudioDeviceGuids #(long ptr ptr)
|
||||
@ stdcall XInputGetDSoundAudioDeviceGuids(long ptr ptr)
|
||||
@ stub XInputGetBatteryInformation
|
||||
|
|
|
@ -102,3 +102,15 @@ DWORD WINAPI XInputGetCapabilities(DWORD dwUserIndex, DWORD dwFlags, XINPUT_CAPA
|
|||
}
|
||||
return ERROR_BAD_ARGUMENTS;
|
||||
}
|
||||
|
||||
DWORD WINAPI XInputGetDSoundAudioDeviceGuids(DWORD dwUserIndex, GUID* pDSoundRenderGuid, GUID* pDSoundCaptureGuid)
|
||||
{
|
||||
FIXME("(%d %s %s) Stub!\n", dwUserIndex, debugstr_guid(pDSoundRenderGuid), debugstr_guid(pDSoundCaptureGuid));
|
||||
|
||||
if (dwUserIndex < XUSER_MAX_COUNT)
|
||||
{
|
||||
return ERROR_DEVICE_NOT_CONNECTED;
|
||||
/* If controller exists then return ERROR_SUCCESS */
|
||||
}
|
||||
return ERROR_BAD_ARGUMENTS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue