IVideoFrameNative::GetDevice method (windows.media.core.interop.h)

This method returns a device associated with the video data.

Syntax

HRESULT GetDevice(
  [in]  REFIID riid,
  [out] LPVOID *ppv
);

Parameters

[in] riid

The IID of the device to retrieve.

[out] ppv

When this method returns successfully, contains the device pointer requested in riid parameter.

Return value

Returns S_OK on successful completion.

Requirements

Requirement Value
Target Platform Windows
Header windows.media.core.interop.h

See also

IVideoFrameNative