CPullPin::Connect (Windows CE 5.0)

Send Feedback

Initiates a connection from this pin to the asynchronous reader.

HRESULT Connect(Iunknown *pUnk,ImemAllocator *pAlloc,BOOLbSync);

Parameters

  • pUnk
    Object to query for existence of asynchronous reader (IAsyncReader).
  • pAlloc
    Optional allocator to propose as preferred allocator if necessary.
  • bSync
    Set TRUE if the reader uses synchronous rather than asynchronous reads.

Return Values

Returns S_OK if successfully connected to the IAsyncReader interface from the object specified by pUnk.

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.