Partager via


IWSDDeviceProxy::BeginGetMetadata (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

IWSDDeviceProxy
Web Services on Devices Interfaces