Поделиться через


BINDSTATUS enumeration

Contains values that are passed to the client application's implementation of the IBindStatusCallback::OnProgress method. These values indicate the progress of the bind operation.

Syntax

typedef enum tagBINDSTATUS { 
  BINDSTATUS_FINDINGRESOURCE             = 1,
  BINDSTATUS_CONNECTING,
  BINDSTATUS_REDIRECTING,
  BINDSTATUS_BEGINDOWNLOADDATA,
  BINDSTATUS_DOWNLOADINGDATA,
  BINDSTATUS_ENDDOWNLOADDATA,
  BINDSTATUS_BEGINDOWNLOADCOMPONENTS,
  BINDSTATUS_INSTALLINGCOMPONENTS,
  BINDSTATUS_ENDDOWNLOADCOMPONENTS,
  BINDSTATUS_USINGCACHEDCOPY,
  BINDSTATUS_SENDINGREQUEST,
  BINDSTATUS_CLASSIDAVAILABLE,
  BINDSTATUS_MIMETYPEAVAILABLE,
  BINDSTATUS_CACHEFILENAMEAVAILABLE,
  BINDSTATUS_BEGINSYNCOPERATION,
  BINDSTATUS_ENDSYNCOPERATION,
  BINDSTATUS_BEGINUPLOADDATA,
  BINDSTATUS_UPLOADINGDATA,
  BINDSTATUS_ENDUPLOADINGDATA,
  BINDSTATUS_PROTOCOLCLASSID,
  BINDSTATUS_ENCODING,
  BINDSTATUS_VERFIEDMIMETYPEAVAILABLE,
  BINDSTATUS_CLASSINSTALLLOCATION,
  BINDSTATUS_DECODING,
  BINDSTATUS_LOADINGMIMEHANDLER,
  BINDSTATUS_CONTENTDISPOSITIONATTACH,
  BINDSTATUS_FILTERREPORTMIMETYPE,
  BINDSTATUS_CLSIDCANINSTANTIATE,
  BINDSTATUS_IUNKNOWNAVAILABLE,
  BINDSTATUS_DIRECTBIND,
  BINDSTATUS_RAWMIMETYPE,
  BINDSTATUS_PROXYDETECTING,
  BINDSTATUS_ACCEPTRANGES,
  BINDSTATUS_COOKIE_SENT,
  BINDSTATUS_COMPACT_POLICY_RECEIVED,
  BINDSTATUS_COOKIE_SUPPRESSED,
  BINDSTATUS_COOKIE_STATE_UNKNOWN,
  BINDSTATUS_COOKIE_STATE_ACCEPT,
  BINDSTATUS_COOKIE_STATE_REJECT,
  BINDSTATUS_COOKIE_STATE_PROMPT,
  BINDSTATUS_COOKIE_STATE_LEASH,
  BINDSTATUS_COOKIE_STATE_DOWNGRADE,
  BINDSTATUS_POLICY_HREF,
  BINDSTATUS_P3P_HEADER,
  BINDSTATUS_SESSION_COOKIE_RECEIVED,
  BINDSTATUS_PERSISTENT_COOKIE_RECEIVED,
  BINDSTATUS_SESSION_COOKIES_ALLOWED,
  BINDSTATUS_CACHECONTROL,
  BINDSTATUS_CONTENTDISPOSITIONFILENAME,
  BINDSTATUS_MIMETEXTPLAINMISMATCH,
  BINDSTATUS_PUBLISHERAVAILABLE,
  BINDSTATUS_DISPLAYNAMEAVAILABLE,
  BINDSTATUS_SSLUX_NAVBLOCKED,
  BINDSTATUS_SERVER_MIMETYPEAVAILABLE,
  BINDSTATUS_SNIFFED_CLASSIDAVAILABLE,
  BINDSTATUS_64BIT_PROGRESS,
  BINDSTATUS_LAST                        = BINDSTATUS_64BIT_PROGRESS,
  BINDSTATUS_RESERVED_0,
  BINDSTATUS_RESERVED_1,
  BINDSTATUS_RESERVED_2,
  BINDSTATUS_RESERVED_3,
  BINDSTATUS_RESERVED_4,
  BINDSTATUS_RESERVED_5,
  BINDSTATUS_RESERVED_6,
  BINDSTATUS_RESERVED_7,
  BINDSTATUS_RESERVED_8,
  BINDSTATUS_RESERVED_9,
  BINDSTATUS_LAST_PRIVATE                = BINDSTATUS_RESERVED_9
} BINDSTATUS;

Constants

  • BINDSTATUS_FINDINGRESOURCE
    Notifies the client application that the bind operation is finding the resource that holds the object or storage. The szStatusText parameter to the IBindStatusCallback::OnProgress method provides the display name of the resource that the bind operation is looking for (for example, "www.microsoft.com").

  • BINDSTATUS_CONNECTING
    Notifies the client application that the bind operation is connecting to the resource that holds the object or storage. The szStatusText parameter to the IBindStatusCallback::OnProgress method provides the display name of the resource that the bind operation is connecting to (for example, an IP address).

  • BINDSTATUS_REDIRECTING
    Notifies the client application that the bind operation has been redirected to a different data location. The szStatusText parameter to the IBindStatusCallback::OnProgress method provides the display name of the new data location.

  • BINDSTATUS_BEGINDOWNLOADDATA
    Notifies the client application that the bind operation has begun receiving the object or storage. The szStatusText parameter to the IBindStatusCallback::OnProgress method provides the display name of the data location .

  • BINDSTATUS_DOWNLOADINGDATA
    Notifies the client application that the bind operation continues to receive the object or storage. The szStatusText parameter to the IBindStatusCallback::OnProgress method provides the display name of the data location.

  • BINDSTATUS_ENDDOWNLOADDATA
    Notifies the client application that the bind operation has finished receiving the object or storage. The szStatusText parameter to the IBindStatusCallback::OnProgress method provides the display name of the data location.

  • BINDSTATUS_BEGINDOWNLOADCOMPONENTS
    Notifies the client application that the bind operation is beginning to download the component.

  • BINDSTATUS_INSTALLINGCOMPONENTS
    Notifies the client application that the bind operation is installing the component.

  • BINDSTATUS_ENDDOWNLOADCOMPONENTS
    Notifies the client application that the bind operation has finished downloading the component.

  • BINDSTATUS_USINGCACHEDCOPY
    Notifies the client application that the bind operation is retrieving the requested object or storage from a cached copy. The szStatusText parameter to the IBindStatusCallback::OnProgress method is NULL.

  • BINDSTATUS_SENDINGREQUEST
    Notifies the client application that the bind operation is requesting the object or storage. The szStatusText parameter to the IBindStatusCallback::OnProgress method provides the display name of the object (for example, a file name).

  • BINDSTATUS_CLASSIDAVAILABLE
    Notifies the client application that the CLSID of the resource is available.

  • BINDSTATUS_MIMETYPEAVAILABLE
    Notifies the client application that the MIME type of the resource is available.

    Note   Internet Explorer 7. Not used if Internet Explorer feature FEATURE_DISABLE_LEGACY_COMPRESSION is enabled.

     

  • BINDSTATUS_CACHEFILENAMEAVAILABLE
    Notifies the client application that the temporary or cache file name of the resource is available. The temporary file name might be returned if BINDF_NOWRITECACHE is called. The temporary file will be deleted after the storage is released.

  • BINDSTATUS_BEGINSYNCOPERATION
    Notifies the client application that a synchronous operation has started.

  • BINDSTATUS_ENDSYNCOPERATION
    Notifies the client application that the synchronous operation has completed.

  • BINDSTATUS_BEGINUPLOADDATA
    Notifies the client application that the file upload has started.

  • BINDSTATUS_UPLOADINGDATA
    Notifies the client application that the file upload is in progress.

  • BINDSTATUS_ENDUPLOADINGDATA
    Notifies the client application that the file upload has completed.

  • BINDSTATUS_PROTOCOLCLASSID
    Notifies the client application that the CLSID of the protocol handler being used is available.

  • BINDSTATUS_ENCODING
    Notifies the client application that the Urlmon.dll is encoding data.

    Note  Internet Explorer 9. Urlmon no longer performs compression.

     

  • BINDSTATUS_VERFIEDMIMETYPEAVAILABLE
    Notifies the client application that the verified MIME type is available.

  • BINDSTATUS_CLASSINSTALLLOCATION
    Notifies the client application that the class install location is available.

  • BINDSTATUS_DECODING
    Notifies the client application that the bind operation is decoding data.

  • BINDSTATUS_LOADINGMIMEHANDLER
    Notifies the client application that a pluggable MIME handler is being loaded. This value was added for Internet Explorer 5.

  • BINDSTATUS_CONTENTDISPOSITIONATTACH
    Notifies the client application that this resource contained a Content-Disposition header that indicates that this resource is an attachment. The content of this resource should not be automatically displayed. Client applications should request permission from the user. This value was added for Internet Explorer 5.

    Note   Internet Explorer 7. Not used if Internet Explorer feature FEATURE_DISABLE_LEGACY_COMPRESSION is enabled.

     

  • BINDSTATUS_FILTERREPORTMIMETYPE
    Notifies the client application of the new MIME type of the resource. This is used by a pluggable MIME filter to report a change in the MIME type after it has processed the resource. This value was added for Internet Explorer 5.

  • BINDSTATUS_CLSIDCANINSTANTIATE
    Notifies the Urlmon.dll that this CLSID is for the class that the Urlmon.dll should return to the client on a call to IMoniker::BindToObject. This value was added for Internet Explorer 5.

  • BINDSTATUS_IUNKNOWNAVAILABLE
    Reports that the IUnknown interface has been released. This value was added for Internet Explorer 5.

  • BINDSTATUS_DIRECTBIND
    Reports whether the client application is connected directly to the pluggable protocol handler. This value was added for Internet Explorer 5.

  • BINDSTATUS_RAWMIMETYPE
    Reports the MIME type of the resource, before any data sniffing is done. This value was added for Internet Explorer 5. For more information, see MIME Type Detection in Internet Explorer.

  • BINDSTATUS_PROXYDETECTING
    Reports that a proxy server has been detected. This value was added for Internet Explorer 5.

  • BINDSTATUS_ACCEPTRANGES
    Reports the valid types of range requests for a resource. This value was added for Internet Explorer 5.

  • BINDSTATUS_COOKIE_SENT
    Notifies the client application that a cookie was sent with the web request.

  • BINDSTATUS_COMPACT_POLICY_RECEIVED
    Notifies the client application that a P3P v1 compact policy was received. A compact policy can be sent only in the P3P HTTP response header. For example,

    P3P: CP="CAO PSA CONi OTR OUR DEM ONL"

  • BINDSTATUS_COOKIE_SUPPRESSED
    Notifies the client application that a cookie was suppressed from being sent to the web server.

  • BINDSTATUS_COOKIE_STATE_UNKNOWN
    Notifies the client application that a cookie has been initialized. This is a default initialization state for cookie operations.

  • BINDSTATUS_COOKIE_STATE_ACCEPT
    Notifies the client application that a cookie sent by the server was accepted on the client.

  • BINDSTATUS_COOKIE_STATE_REJECT
    Notifies the client application that a cookie sent by the server was rejected based on privacy and user settings.

  • BINDSTATUS_COOKIE_STATE_PROMPT
    Notifies the client application that the user settings require a prompt before performing a cookie operation.

  • BINDSTATUS_COOKIE_STATE_LEASH
    Notifies the client application that the cookie is a leashed cookie. A leashed cookie is only sent on requests to download first-party content. When requests are made for third-party content, leashed cookies are suppressed, that is, they are not sent.

  • BINDSTATUS_COOKIE_STATE_DOWNGRADE
    Notifies the client application that the cookie is a downgraded cookie. A downgraded cookie is a persistent cookie that is deleted when the browsing session ends or the cookie expires, whichever comes first. In other words, the persistent cookie becomes a session cookie.

  • BINDSTATUS_POLICY_HREF
    Notifies the client application that the HTTP headers contain a link to the full privacy policy.

  • BINDSTATUS_P3P_HEADER
    Notifies the client application that an HTTP response from the server contains the P3P privacy header.

  • BINDSTATUS_SESSION_COOKIE_RECEIVED
    Notifies the client application that a session cookie was received.

  • BINDSTATUS_PERSISTENT_COOKIE_RECEIVED
    Notifies the client application that a persistent cookie was received.

  • BINDSTATUS_SESSION_COOKIES_ALLOWED
    Notifies the client application that session cookies are allowed.

  • BINDSTATUS_CACHECONTROL
    Notifies the client application that a response from the server was written to memory only. No temporary file was created in the WinInet cache.

    Note   Internet Explorer 7. Not used if Internet Explorer feature control FEATURE_DISABLE_LEGACY_COMPRESSION is enabled.

     

  • BINDSTATUS_CONTENTDISPOSITIONFILENAME
    Internet Explorer 6 for Windows XP SP2 and later. Notifies the client application that the Content-Disposition header contains a file name rather than an attachment. See BINDSTATUS_CONTENTDISPOSITIONATTACH for more information.

    Note   Internet Explorer 7. Not used if Internet Explorer feature control FEATURE_DISABLE_LEGACY_COMPRESSION is enabled.

     

  • BINDSTATUS_MIMETEXTPLAINMISMATCH
    Internet Explorer 6 for Windows XP SP2 and later. Notifies the client application that the reported Content-Type of the file does not match the content. This notification is sent only for files whose Content-Type is text/plain.

  • BINDSTATUS_PUBLISHERAVAILABLE
    Internet Explorer 6 for Windows XP SP2 and later. Notifies the client application that the name of the publisher whose control is being downloaded is available. The name is extracted from the file's signature.

  • BINDSTATUS_DISPLAYNAMEAVAILABLE
    Internet Explorer 6 for Windows XP SP2 and later. Notifies the client application that the display name of the control that is being downloaded is available. The name is extracted from the file's signature, otherwise, the file name (without the extension) is used.

  • BINDSTATUS_SSLUX_NAVBLOCKED
    Internet Explorer 7. Notifies the client application that there was a problem with the SSL certificate, and the security handshake was interrupted. These problems include invalid certificate authority, invalid date, invalid common name, and certificate revocation failure. The szStatusText parameter to the IBindStatusCallback::OnProgress method provides the error code.

  • BINDSTATUS_SERVER_MIMETYPEAVAILABLE
    Internet Explorer 8. Reports the server's authoritative MIME type. Sending an authoritative Content-Type header prevents Internet Explorer from data sniffing a response away from the declared type. (For a detailed explanation of data sniffing, see MIME Type Detection in Internet Explorer.) To be considered authoritative, the server must provide authoritative=true; in the Content-Type HTTP response header, as follows:

    Content-Type: text/plain; authoritative=true;
    

    The authoritative type is not reported if the HTTP Content-Disposition response header is present. The szStatusText parameter to the IBindStatusCallback::OnProgress method provides the MIME type.

  • BINDSTATUS_SNIFFED_CLASSIDAVAILABLE
    Internet Explorer 8. Reports CLSID generated from authoritative Content-Type HTTP response header. Value is reported in canonical GUID format in the szStatusText parameter.

  • BINDSTATUS_64BIT_PROGRESS
    Internet Explorer 8. Notifies the client application of download progress values above the maximum 32-bit file size limit. Value is reported as two 64-bit numbers separated by a comma (current progress and total bytes) in the szStatusText parameter. For example, given the string 857,500000000, 857 is the current progress and 500000000 is the maximum progress.

  • BINDSTATUS_LAST
    The count of public BINDSTATUS enumeration values.

  • BINDSTATUS_RESERVED_0
    Internet Explorer 9. Reserved. Do not use.

  • BINDSTATUS_RESERVED_1
    Internet Explorer 9. Reserved. Do not use.

  • BINDSTATUS_RESERVED_2
    Internet Explorer 9. Reserved. Do not use.

  • BINDSTATUS_RESERVED_3
    Internet Explorer 9. Reserved. Do not use.

  • BINDSTATUS_RESERVED_4
    Internet Explorer 9. Reserved. Do not use.

  • BINDSTATUS_RESERVED_5
    Internet Explorer 9. Reserved. Do not use.

  • BINDSTATUS_RESERVED_6
    Internet Explorer 9. Reserved. Do not use.

  • BINDSTATUS_RESERVED_7
    Internet Explorer 9. Reserved. Do not use.

  • BINDSTATUS_RESERVED_8
    Internet Explorer 9. Reserved. Do not use.

  • BINDSTATUS_RESERVED_9
    Internet Explorer 9. Reserved. Do not use.

  • BINDSTATUS_LAST_PRIVATE
    Internet Explorer 9. Used to calculate the count of private enumeration values.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 3.0

Header

Urlmon.h

See also

IBindStatusCallback::OnProgress