GetDefaultName

Get an default name for this source.
It will check for a names in the following order and return the first 'hit'

  1. Local machines language id
  2. English (1031 / 9)
  3. German (1033 / 7)
  4. Lowest existing lcid

 

Property get

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

Parameters

name

[out, retval] pointer to a BSTR variable to receive the source name

Return Values

S_OK

Function was successfully called

S_FALSE

No name is specified for this source. name is set to NULL

E_POINTER

name was no valid pointer

E_ACCESSDENIED

The object is locked due to an asynchronous operation