OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetAudioDeviceOutGuid(GUID* deviceOutGuid) { WCHAR deviceOut[OVR_AUDIO_MAX_DEVICE_STR_SIZE]; ovrResult result = ovr_GetAudioDeviceOutGuidStr(deviceOut); if (result != ovrSuccess) return result; if (UuidFromString((RPC_WSTR)deviceOut, deviceOutGuid) != RPC_S_OK) return ovrError_RuntimeException; return ovrSuccess; }
DLL_EXPORT_API void xnOvrGetAudioDeviceID(wchar_t* deviceString) { ovr_GetAudioDeviceOutGuidStr(deviceString); }