Export (0) Print
Expand All

IOpenServiceActivityOutputContext::Navigate Method

Navigates the Accelerator output context.

Syntax


HRESULT Navigate(
    LPCWSTR pwzUri,
    LPCWSTR pwzMethod,
    LPCWSTR pwzHeaders,
    IStream *pPostData
);

Parameters

pwzUri
[in] The Uniform Resource Identifier (URI) for the request.
pwzMethod
[in] One of the following values, or NULL.
GET
Default. An HTTP GET request.
POST
A HTML POST request.
pwzHeaders
[in] Custom headers for the request. May be NULL.
pPostData
[in] An IStream interface that provides a stream of bytes for a POST request. May be NULL.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The Navigate method should be called only during a Preview or 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

Community Additions

ADD
Show:
© 2014 Microsoft