GetMetaDataInternalInterfaceFromPublic

Gets the internal interface with the specified IID from the specified public interface.


HRESULT  GetMetaDataInternalInterfaceFromPublic (
   IUnknown *pv,
   REFIID riid,
   void **ppv
);

Parameters

Parameter Description

pv

[in] A pointer to the public interface.

riid

[in] The IID of the requested internal interface.

ppv

[out] The location that receives a pointer to the internal interface.

Return Value

This method returns standard COM error codes as defined in winerror.h in addition to the following values.

Return code Description

S_OK

The method completed successfully.

E_INVALIDARG

pv or ppv is NULL, or riid does not refer to a supported interface.

Requirements

Library: mscoree.dll

See Also

Reference

GetMetaDataInternalInterface
GetMetaDataPublicInterfaceFromInternal