IWSDDeviceProxy::EndGetMetadata method (wsdclient.h)
Ends an asynchronous request for metadata and returns the metadata related to a device.
Syntax
HRESULT EndGetMetadata(
[in] IWSDAsyncResult *pResult
);
Parameters
[in] pResult
The IWSDAsyncResult object returned by BeginGetMetadata.
Return value
Possible return values include, but are not limited to, the following:
Return code | Description |
---|---|
|
Method completed successfully. |
|
pResult is NULL. |
|
The method could not be completed. |
|
The method failed. The metadata was not returned, was invalid, or a fault was generated. |
|
Insufficient memory to complete the operation. |
Remarks
EndGetMetadata must only be called after the IWSDAsyncResult object returned by BeginGetMetadata has indicated that the operation is complete. Once EndGetMetadata has been called, the results of the latest metadata retrieval are accessible through the GetAllMetadata, GetHostMetadata, GetThisDeviceMetadata, and GetThisModelMetadata methods.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wsdclient.h (include Wsdapi.h) |
DLL | Wsdapi.dll |