Skip to content

Latest commit

 

History

History
144 lines (115 loc) · 3.56 KB

nf-mfobjects-imfattributes-getunknown.md

File metadata and controls

144 lines (115 loc) · 3.56 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mfobjects.IMFAttributes.GetUnknown
IMFAttributes::GetUnknown (mfobjects.h)
Retrieves an interface pointer associated with a key.
GetUnknown
GetUnknown method [Media Foundation]
GetUnknown method [Media Foundation]
IMFAttributes interface
IMFAttributes interface [Media Foundation]
GetUnknown method
IMFAttributes.GetUnknown
IMFAttributes::GetUnknown
a5f645a1-b7d2-47d3-b77e-ad94815b1c25
mf.imfattributes_getunknown
mfobjects/IMFAttributes::GetUnknown
mf\imfattributes_getunknown.htm
mf
a5f645a1-b7d2-47d3-b77e-ad94815b1c25
12/05/2018
GetUnknown, GetUnknown method [Media Foundation], GetUnknown method [Media Foundation],IMFAttributes interface, IMFAttributes interface [Media Foundation],GetUnknown method, IMFAttributes.GetUnknown, IMFAttributes::GetUnknown, a5f645a1-b7d2-47d3-b77e-ad94815b1c25, mf.imfattributes_getunknown, mfobjects/IMFAttributes::GetUnknown
mfobjects.h
Mfidl.h
Windows
Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 [desktop apps \| UWP apps]
Mfuuid.lib
Windows
19H1
IMFAttributes::GetUnknown
mfobjects/IMFAttributes::GetUnknown
c++
APIRef
kbSyntax
COM
mfuuid.lib
mfuuid.dll
IMFAttributes.GetUnknown

IMFAttributes::GetUnknown

-description

Retrieves an interface pointer associated with a key.

-parameters

-param guidKey [in]

GUID that identifies which value to retrieve. The attribute type must be MF_ATTRIBUTE_IUNKNOWN.

-param riid [in]

Interface identifier (IID) of the interface to retrieve.

-param ppv [out]

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

-returns

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_NOINTERFACE
The attribute value is an IUnknown pointer but does not support requested interface.
MF_E_ATTRIBUTENOTFOUND
The specified key was not found.
MF_E_INVALIDTYPE
The attribute value is not an IUnknown pointer.

-remarks

This interface is available on the following platforms if the Windows Media Format 11 SDK redistributable components are installed:

  • Windows XP with Service Pack 2 (SP2) and later.
  • Windows XP Media Center Edition 2005 with KB900325 (Windows XP Media Center Edition 2005) and KB925766 (October 2006 Update Rollup for Windows XP Media Center Edition) installed.

-see-also

Attributes and Properties

IMFAttributes

MF_ATTRIBUTE_TYPE