Converts a double value to an INT64.
The return value obtained from the returned HRESULT is one of the following.
The input parameter is not a valid type of variant.
The data pointed to by the output parameter is larger than the memory allocated for the destination.
The argument could not be coerced to the specified type.
One of the arguments is invalid.
Memory could not be allocated for the conversion.