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.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.