Compartilhar via


CEnumPins::QueryInterface (Windows CE 5.0)

Send Feedback

Retrieves a pointer to a specified interface on a component to which a client currently holds an interface pointer. This method must call IUnknown::AddRef on the pointer it returns.

HRESULTQueryInterface(REFIIDiid,void** ppvObject);

Parameters

  • iid
    Specifies the IID of the interface being requested.

  • ppvObject
    Receives a pointer to an interface pointer to the object on return.

    If the interface specified in iid is not supported by the object, ppvObject is set to NULL.

Return Values

Returns S_OK if the interface is supported, S_FALSE if not.

Remarks

This member function implements the IUnknown::QueryInterface method and passes out references to the IEnumPins interface.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.