IHTMLEventObj5::scheme Property

New for Windows Internet Explorer 8

Note: This documentation is preliminary and is subject to change.

Sets or retrieves the HTTP protocol used by the document that fired the onmessage event.

Syntax

HRESULT IHTMLEventObj5::get_scheme(BSTR *p);
HRESULT IHTMLEventObj5::put_scheme(BSTR v);

Parameters

  • p
    Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
  • v
    BSTR that specifies one of the values listed in Possible Values.

Possible Values

http HTTP protocol, unsecured.
https Secure Hypertext Transfer Protocol (HTTPS).

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

HTMLDocumentEvents3::onmessage