IMFDXGIBuffer::GetUnknown method

Gets an IUnknown pointer that was previously stored in the media buffer object.

Syntax


HRESULT GetUnknown(
  [in]   REFIID guid,
  [in]   REFIID riid,
  [out]  LPVOID *ppvObject
);

Parameters

guid [in]

The identifier of the IUnknown pointer.

riid [in]

The interface identifer (IID) of the interface being requested.

ppvObject [out]

Receives a pointer to the interface. The caller must release the interface.

Return value

This method can return one of these values.

Return codeDescription
S_OK

Success.

E_NOINTERFACE

The object does not support the specified interface.

MF_E_NOT_FOUND

The specified key was not found.

 

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfobjects.h (include Mfidl.h)

See also

IMFDXGIBuffer
IMFDXGIBuffer::SetUnknown

 

 

Community Additions

ADD
Show:
© 2015 Microsoft