XInputGetAudioDeviceIds function xinput
Retrieves the sound rendering and sound capture audio device IDs that are associated with the headset connected to the specified controller.
DWORD XInputGetAudioDeviceIds(
[in] DWORD dwUserIndex,
[out, optional] LPWSTR pRenderDeviceId,
[in, out, optional] UINT *pRenderCount,
[out, optional] LPWSTR pCaptureDeviceId,
[in, out, optional] UINT *pCaptureCount
);
Implementation
int XInputGetAudioDeviceIds(
int dwUserIndex,
Pointer<Utf16> pRenderDeviceId,
Pointer<Uint32> pRenderCount,
Pointer<Utf16> pCaptureDeviceId,
Pointer<Uint32> pCaptureCount) =>
_XInputGetAudioDeviceIds(dwUserIndex, pRenderDeviceId, pRenderCount,
pCaptureDeviceId, pCaptureCount);