Share via


ISymUnmanagedDocument::GetURL Method

Returns the uniform resource locator (URL) for this document.

HRESULT GetURL(
    [in]  ULONG32  cchUrl,
    [out] ULONG32  *pcchUrl,
    [out, size_is(cchUrl), length_is(*pcchUrl)] WCHAR szUrl[]);

Parameters

  • cchUrl
    [in] The size, in characters, of the szURL buffer.

  • pcchUrl
    [out] A pointer to a variable that receives the size of the URL, including the null termination.

  • szUrl
    [out] The buffer containing the URL.

Return Value

S_OK if the method succeeds; otherwise, an error code.

See Also

Concepts

ISymUnmanagedDocument Interface