IFieldValue::GetUInt16Value

Gets the value of a field of type SYNC_METADATA_FIELD_TYPE_UINT16.

HRESULT GetUInt16Value(
  USHORT * pValue);

Parameters

  • pValue
    [out] Returns the value of the field.

Return Value

  • S_OK

  • E_POINTER

  • S_FALSE if the value has not been set.

  • SYNC_E_METADATA_FIELD_INVALID_TYPE when this field is not of type SYNC_METADATA_FIELD_TYPE_UINT16.

See Also

Reference

IFieldValue Interface