Export (0) Print
Expand All

IOpenServiceActivityOutputContext::CanNavigate Method

Determines whether navigation is possible.

Syntax


HRESULT CanNavigate(
    LPCWSTR pwzUri,
    LPCWSTR pwzMethod,
    LPCWSTR pwzHeaders,
    IStream *pPostData,
    BOOL *pfCanNavigate
);

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.
pfCanNavigate
[out] TRUE if navigation is allowed; otherwise, FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

Navigate

Community Additions

ADD
Show:
© 2015 Microsoft