IMMGameDVRDeviceCreator::GetGameDVRDevice Method

Returns the endpoint for the DVR device.

Syntax

public:
HRESULT GetGameDVRDevice(
         IMMDevice **ppEndpoint
)  

Parameters

ppEndpoint
Type: IMMDevice **

[out] The DVR endpoint.

Return value

Type: HRESULT 

A success or error code.

Refer to WASAPI error codes.

Remarks

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.

Requirements

Header: Declared in mmdeviceapi.h.

Library: Use MMDevApi.lib.

See also

IMMGameDVRDeviceCreator

IMMGameDVRDeviceCreator Members