IWSDDeviceProxy::EndGetMetadata (Windows Embedded CE 6.0)
1/6/2010
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 |
Windows Embedded CE | Windows Embedded CE 6.0 R2 |