Pointer to the SAFEARRAY of strings containing available categories
This VB example initializes a combo box with the list of available audio recording devices:
AudioLst = ActiveGeni1.GetAudioList
For i = 0 ToUBound(AudioLst)
Combo1.ListIndex = 0
Note that in C/C++ applications it is required to call SafeArrayDestroy() to delete the SAFEARRAY returned by GetAudioList.