CPullPin::Connect
Initiates a connection from this pin to the asynchronous reader.
HRESULT Connect(
Iunknown *pUnk,
ImemAllocator *pAlloc,
BOOL bSync
);
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. See Setting Up the Build Environment for more information.
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.