IUIAutomation::SafeArrayToRectNativeArray Method
Converts a SAFEARRAY containing rectangle coordinates to an array of type RECT.
Syntax
HRESULT SafeArrayToRectNativeArray( SAFEARRAY rects[double], RECT **rectArray, int *rectArrayCount );
Parameters
- rects
[in] The SAFEARRAY containing the rectangle coordinates.- rectArray
[out] The address of a variable that receives a pointer to an array of RECT coordinates.- rectArrayCount
[out, retval] The address of a variable that receives the number of elements in rectArray.
Return Value
Returns S_OK if successful, or an error value otherwise.