IUIAutomation::VariantToRect Method
Converts a VARIANT containing rectangle coordinate to a RECT.
Syntax
HRESULT VariantToRect( VARIANT var, RECT *rc );
Parameters
- var
[in] The VARIANT containing the coordinates.- rc
[out, retval] The address of a RECT structure that receives the coordinates.
Return Value
Returns S_OK if successful, or an error value otherwise.