Returns the endpoint for the DVR device.
public:
HRESULT GetGameDVRDevice(
IMMDevice **ppEndpoint
)
ppEndpoint
Type: IMMDevice **
[out] The DVR endpoint.
Type: HRESULT
A success or error code.
Refer to WASAPI error codes.
A title must call Activate on the DVR device before calling Activate on the HDaudio device. Otherwise, the HDaudio device takes exclusive ownership of the DVR device for auto mirroring and the DVRs Activate will return the AUDCLNT_E_DEVICE_IN_USE error.
Header: Declared in mmdeviceapi.h.
Library: Use MMDevApi.lib.