IUIAutomation::IntSafeArrayToNativeArray Method
Converts a SAFEARRAY of integers to an array.
Syntax
HRESULT IntSafeArrayToNativeArray( SAFEARRAY intArray[int], int **array, int *arrayCount );
Parameters
- intArray
[in] The SAFEARRAY to convert.- array
[out] The address of a variable that receives a pointer to the allocated array.- arrayCount
[out, retval] The address of a variable that receives the number of elements in array.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
IUIAutomation::IntNativeArrayToSafeArray, Working with Safe Arrays