0 when the function is successful. A negative number is returned when the function fails.
The negative numbers that the function can return are:
-1 – The attribute is not an OLE variable.
-2 – The Instantiation property of the defined variable is set as Automatic and not as None.
-3 – The object is not loaded by the defined variable.
|