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