2022-07-30 12:24:03 -04:00
|
|
|
#include <Windows.h>
|
2022-10-08 06:26:45 -04:00
|
|
|
#include <stdio.h>
|
2022-07-30 12:24:03 -04:00
|
|
|
|
|
|
|
#pragma comment(linker, "/export:XInputGetState=xinput1_4.XInputGetState")
|
|
|
|
#pragma comment(linker, "/export:XInputSetState=xinput1_4.XInputSetState")
|
|
|
|
#pragma comment(linker, "/export:XInputGetCapabilities=xinput1_4.XInputGetCapabilities")
|
|
|
|
|
2023-06-10 17:33:17 -04:00
|
|
|
__declspec(dllimport) void fake();
|
2022-07-30 12:24:03 -04:00
|
|
|
DWORD XInputGetDSoundAudioDeviceGuids(DWORD user, GUID* render, GUID* capture) {
|
2023-06-10 17:33:17 -04:00
|
|
|
fake();
|
2022-07-30 12:24:03 -04:00
|
|
|
return ERROR_BAD_ARGUMENTS;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pragma comment(linker, "/export:XInputGetDSoundAudioDeviceGuids=_XInputGetDSoundAudioDeviceGuids")
|