IFieldValue::SetByteArrayValue

Sets the field value. Also sets the field type to SYNC_METADATA_FIELD_TYPE_BYTEARRAY.


HRESULT SetByteArrayValue(
  BYTE * pbValue,
  ULONG cbValue);

pbValue

[in, unique, size_is(cbValue)] The value of the field.

cbValue

[in, out] The number of bytes in pbValue.

  • S_OK

  • E_POINTER

  • E_OUTOFMEMORY

Show: