IWSDDeviceProxy::EndGetMetadata (Compact 2013)
3/26/2014
This method ends an asynchronous request for metadata and returns the metadata related to a device.
Syntax
HRESULT EndGetMetadata(
IWSDAsyncResult* pResult
);
Parameters
- pResult
[in] The IWSDAsyncResult object returned by IWSDDeviceProxy::BeginGetMetadata.
Return Value
The following table shows the possible error code return values.
Error code |
Description |
---|---|
S_OK |
This method completed successfully. |
E_INVALIDARG |
pResult is NULL. |
E_ABORT |
The method could not be completed. |
E_FAIL |
The method failed. The metadata was not returned, was invalid, or a fault was generated. |
E_OUTOFMEMORY |
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 IWSDDeviceProxy::GetAllMetadata, IWSDDeviceProxy::GetHostMetadata, IWSDDeviceProxy::GetThisDeviceMetadata, and IWSDDeviceProxy::GetThisModelMetadata methods.
Requirements
Header |
wsdapi.h |
Library |
wsdapi.lib |