IWSDDeviceProxy::BeginGetMetadata method (wsdclient.h)

Sends an asynchronous request for metadata.

Syntax

HRESULT BeginGetMetadata(
  [out] IWSDAsyncResult **ppResult
);

Parameters

[out] ppResult

Returns an IWSDAsyncResult object that can be used to determine whether an operation has completed.

Return value

This method can return one of these values.

Possible return values include, but are not limited to, the following.

Return code Description
S_OK
Method completed successfully.
E_POINTER
ppResult is NULL.
E_ABORT
The method could not be completed.
E_OUTOFMEMORY
Insufficient memory to complete the operation.

Remarks

BeginGetMetadata will force the device proxy to send a metadata request to the host. 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

See also

IWSDDeviceProxy