ISymUnmanagedDocument::GetURL 方法

更新:2007 年 11 月

返回此文档的统一资源定位符 (URL)。

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

参数

  • cchUrl
    [in] szURL 缓冲区大小(以字符为单位)。

  • pcchUrl
    [out] 指向接收 URL 大小(包括 null 终止)的变量的指针。

  • szUrl
    [out] 包含该 URL 的缓冲区。

返回值

如果该方法成功,则返回 S_OK,否则返回错误代码。

请参见

参考

ISymUnmanagedDocument