IInternetProtocolSink::SwitchIInternetProtocolSink::Switch*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IInternetProtocolSink::ReportResult
*Next Topic: IInternetSession::CreateBinding

IInternetProtocolSink::Switch

HRESULT Switch(
    [in] PROTOCOLDATA *pPROTOCOLDATA
);

Passes data from an asynchronous pluggable protocol's worker thread intended for the same asynchronous pluggable protocol's apartment thread. The IInternetProtocolSink interface should pass this data, without modification, back to the asynchronous pluggable protocol by calling its IInternetProtocolRoot::Continue method.

pPROTOCOLDATA
Address of a PROTOCOLDATA structure containing the data to be passed back to the apartment thread.

Asynchronous pluggable protocol handlers may operate asynchronously in a separate worker thread. This method allows the protocol handler to pass data back to the apartment (or user interface) thread it was created on.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.