Partager via


getAllResponseHeaders Method (IXMLHTTPRequest) (Windows Embedded CE 6.0)

1/6/2010

Retrieves the values of all the HTTP headers.

Script Syntax

            strValue = oXMLHttpRequest.getAllResponseHeaders();

Remarks

Ee503369.collapse(en-US,WinEmbedded.60).gifScript Parameters

None.

Ee503369.collapse(en-US,WinEmbedded.60).gifScript Return Value

String. Contains the resulting header information.

Ee503369.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT getAllResponseHeaders(
  BSTR* pbstrHeaders
);

Remarks

Ee503369.collapse(en-US,WinEmbedded.60).gifParameters

  • pbstrHeaders
    [out, retval] Resulting header information.

Ee503369.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if successful.
  • E_INVALIDARG
    Value returned if the input argument is NULL.
  • E_FAIL
    Value returned if an error occurs.
  • E_OUTOFMEMORY
    Value returned if available memory is insufficient.

Ee503369.collapse(en-US,WinEmbedded.60).gifRequirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

Each header name/value pair is separated by a combination carriage return/line feed character.

The results of this method are valid only after the send method has been successfully completed.

This method applies to the following interface:

IXMLHTTPRequest

See Also

Reference

XML HTTP Methods

Concepts

setRequestHeader Method (IXMLHTTPRequest)

Other Resources

send