IWSDDeviceProxy::GetThisModelMetadata (Windows Embedded CE 6.0)
1/6/2010
This method retrieves model-specific metadata for the device.
Syntax
HRESULT GetThisModelMetadata(
WSD_THIS_MODEL_METADATA** ppManufacturerMetadata
);
Parameters
- ppManufacturerMetadata
[out] Reference to a WSD_THIS_MODEL_METADATA structure that specifies manufacturer and model-specific metadata. Do not release this object.
Return Value
The following table shows the possible error code return values.
Error code | Description |
---|---|
S_OK |
This method completed successfully. |
E_POINTER |
ppManufacturerMetadata is NULL. |
Remarks
GetThisModelMetadata will not cause the device proxy to retrieve metadata from the device. Instead, GetThisModelMetadata will return the metadata retrieved with the last call to IWSDDeviceProxy::BeginGetMetadata and IWSDDeviceProxy::EndGetMetadata. If neither of these methods has been called, GetThisModelMetadata will return the metadata retrieved when the IWSDDeviceProxy object was initialized.
Upon success, the memory at ppMetadata will be valid until BeginGetMetadata or EndGetMetadata is called or until the IWSDDeviceProxy object is released.
Requirements
Header | wsdapi.h |
Library | wsdapi.lib |
Windows Embedded CE | Windows Embedded CE 6.0 R2 |