Contents Index Topic Contents | ||
Previous Topic: IBindStatusCallback::OnStopBinding Next Topic: IHttpNegotiate::OnResponse |
IHttpNegotiate::BeginningTransaction
HRESULT BeginningTransaction( [in] LPCWSTR szURL, [in] DWORD dwReserved, [in] LPCWSTR szHeaders, [out] LPWSTR * pszAdditionalHeaders );Notifies the client of the URL being bound to at the beginning of an HTTP transaction.
- Returns one of the following values:
S_OK Success, and any additional headers specified are appended. E_ABORT The HTTP transaction has been terminated. E_INVALIDARG A parameter is invalid.
- szURL
- URL for the HTTP transaction.
- dwReserved
- Reserved for future use.
- szHeaders
- Current request headers.
- pszAdditionalHeaders
- Optional additional headers to append to the HTTP request. If these conflict with existing values in szHeaders, the new request headers take precedence. If pszAdditionalHeaders is set to NULL, no headers are added to the HTTP request.
The URL moniker calls this method before sending an HTTP request. It notifies the client of the URL being bound to at the beginning of the HTTP transaction. It also allows the client to add additional headers, such as Accept-Language, to the request.
See also IHttpNegotiate::OnResponse
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.