GetNextName

Get the next name of this source according to the internal iterator.
Before starting enumeration of source names call GetFirstName
After adding or removing sources names you must restart enumeration by calling GetFirstName

 

HRESULT GetNextName([out, retval]
BSTR* name);

Parameters

name

[out] pointer to a BSTR variable to store the next name associated with this source.

pLangId

[out, retval] pointer to a long variable to store the lang Id of the returned name.

Return Values

S_OK

name contains the next name of this source.

S_FALSE

The source does not have further names. *name is set to NULL.

E_POINTER

name was no valid pointer

E_ACCESSDENIED

The object is locked due to an asynchronous operation