SetBinaryDataVariant method

The SetBinaryDataVariant method sets the value of BYTE type variable (passed as parameter to this method) as VARIANT array.  

BOOL SetBinaryDataVariant(
  BSTR Name, // The name of the variable
  VARIANT Buffer // The data buffer

  Name     [in] This is the name of the variable whose value should be changed.   Buffer     [in] This is a Binary type variable represented as VARIANT array.
Return values
  The SetBinaryDataVariant method returns TRUE if the value is successfully set and FALSE otherwise.

See also
SetBinaryData method, GetBinaryDataVariant method