PI_FLAGSPI_FLAGS*
*



Contents  *



Index  *Topic Contents
*Previous Topic: Enumerated Types
*Next Topic: Predefined Protocols

PI_FLAGS

typedef enum _tagPI_FLAGS{
    PI_PARSE_URL = 0x00000001,
    PI_FILTER_MODE = 0x00000002,
    PI_FORCE_ASYNC = 0x00000004,
    PI_USE_WORKERTHREAD = 0x00000008,
    PI_MIMEVERIFICATION = 0x00000010,
    PI_CLSIDLOOKUP = 0x00000020,
    PI_DATAPROGRESS = 0x00000040,
    PI_SYNCHRONOUS = 0x00000080,
    PI_APARTMENTTHREADED = 0x00000100,
    PI_CLASSINSTALL = 0x00000200,
    PD_FORCE_SWITCH = 0x00010000
} PI_FLAGS;

This enumerated type contains the flags that control the asynchronous pluggable protocol handler.

PI_PARSE_URL
Asynchronous pluggable protocol should parse the URL and return S_OK if the URL is syntactically correct; otherwise S_FALSE.
PI_FILTER_MODE
Asynchronous pluggable protocol handler that it is running in filter mode and data will come in through the IInternetProtocolSink interface it exposes. The QueryInterface method will be called on the protocol handler for its IInternetProtocolSink interface.
PI_FORCE_ASYNC
Asynchronous pluggable protocol handler should do as little work as possible on the apartment (or user interface) thread and continue on a worker thread as soon as possible.
PI_USE_WORKERTHREAD
Asynchronous pluggable protocol handler should use worker threads and not use the apartment thread.
PI_MIMEVERIFICATION
Asynchronous pluggable protocol handler should verify and report the MIME type.
PI_CLSIDLOOKUP
Asynchronous pluggable protocol handler should find the CLSID associated with the MIME type.
PI_DATAPROGRESS
Asynchronous pluggable protocol handler should report its progress.
PI_SYNCHRONOUS
Asynchronous pluggable protocol handler should work synchronously.
PI_APARTMENTTHREADED
Asynchronous pluggable protocol handler should use the apartment (or user interface) thread only.
PI_CLASSINSTALL
PD_FORCE_SWITCH

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