Share via


IWSDDeviceProxy::BeginGetMetadata (Compact 2013)

3/26/2014

This method sends an asynchronous request for metadata.

Syntax

HRESULT BeginGetMetadata(
  IWSDAsyncResult** ppResult
);

Parameters

  • ppResult
    [out] Returns an IWSDAsyncResult object that can be used to determine whether an operation has completed.

Return Value

The following table shows the possible error code return values.

Error code

Description

S_OK

This 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 IWSDDeviceProxy::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

See Also

Reference

IWSDDeviceProxy
Web Services on Devices Interfaces