Navigate method
Navigates the Accelerator output context.
Syntax
HRESULT retVal = object.Navigate(pwzUri, pwzMethod, pwzHeaders, pPostData);
Parameters
pwzUri [in]
Type: LPCWSTR
The URI for the request.
pwzMethod [in]
Type: LPCWSTR
One of the following values, or NULL.
GET
Default. An HTTP GET request.
POST
A HTML POST request.
pwzHeaders [in]
Type: LPCWSTR
Custom headers for the request. May be NULL.
pPostData [in]
Type: IStream
An IStream interface that provides a stream of bytes for a POST
request. May be NULL.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The IOpenServiceActivityOutputContext::Navigate method should be called only during a IOpenServiceActivity::Preview or IOpenServiceActivity::Execute callback method. The output context can be the current window, a new tab, or the preview window, depending on the type of callback.
See also
Reference