IAudioFrameNative::GetData method (windows.media.core.interop.h)

This method returns an interface that provides access to the audio data.

Syntax

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

Parameters

[in] riid

Type: REFIID

The IID of the interface to retrieve.

[out] ppv

Type: LPVOID*

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

Return value

Type: HRESULT

Returns S_OK on successful completion. Returns E_NOINTERFACE if the requested interface can't be found.

Requirements

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

See also

IAudioFrameNative