IWSDiscoveredService::GetEndpointReference 方法 (wsddisco.h)
检索引用远程设备的终结点的 WS-Addressing 地址。
语法
HRESULT GetEndpointReference(
[out] WSD_ENDPOINT_REFERENCE **ppEndpointReference
);
参数
[out] ppEndpointReference
引用远程设备的终结点的 WS-Addressing 地址。 有关详细信息,请参阅 WSD_ENDPOINT_REFERENCE。 不要解除分配输出结构。
返回值
此方法可以返回其中一个值。
可能的返回值包括但不限于以下内容。
返回代码 | 说明 |
---|---|
|
方法已成功完成。 |
|
ppEndPointReference 为 NULL。 |
注解
生成的指针值仅在 IWSDiscoveredService 对象的生存期内有效。
要求
要求 | 值 |
---|---|
最低受支持的客户端 | Windows Vista [仅限桌面应用] |
最低受支持的服务器 | Windows Server 2008 [仅限桌面应用] |
目标平台 | Windows |
标头 | wsddisco.h (包括 Wsdapi.h) |
DLL | Wsdapi.dll |