Share via


IWSDHttpAddress::SetPath (Compact 2013)

3/26/2014

This method sets the URI path for this address.

Syntax

HRESULT SetPath(
  LPCWSTR pszPath
);

Parameters

  • pszPath
    [in] The URI path to use for this address.

Return Value

The following table shows the possible error code return values.

Error code

Description

S_OK

This method completed successfully.

E_INVALIDARG

The length in characters of pszPath exceeds WSD_MAX_TEXT_LENGTH (8192).

E_FAIL

The method failed.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

IWSDHttpAddress
Web Services on Devices Interfaces