Converts a SAFEARRAY of integers to an array.
HRESULT IntSafeArrayToNativeArray( SAFEARRAY intArray[int], int **array, int *arrayCount );
- [in] The SAFEARRAY to convert.
- [out] The address of a variable that receives a pointer to the allocated array.
- [out, retval] The address of a variable that receives the number of elements in array.
Returns S_OK if successful, or an error value otherwise.