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 | |
| ); | ||
Parameters
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.