IBrowserService::DisplayParseError method (shdeprecated.h)

Deprecated. Displays a URL that failed to be successfully parsed by IBrowserService::IEParseDisplayName.

Syntax

HRESULT DisplayParseError(
  [in] HRESULT hres,
  [in] LPCWSTR pwszPath
);

Parameters

[in] hres

Type: HRESULT

An HRESULT returned by IBrowserService::IEParseDisplayName. If this parameter is a success code, E_OUTOFMEMORY, or HRESULT_FROM_WIN32(ERROR_CANCELLED), this method does nothing.

[in] pwszPath

Type: LPCWSTR

A pointer to a buffer containing the URL that failed to parse. This method displays the failed URL in an error dialog box.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The HRESULT returned by IBrowserService::IEParseDisplayName can be passed to IBrowserService::DisplayParseError without first checking for success or failure.

Requirements

Requirement Value
Target Platform Windows
Header shdeprecated.h