Retrieves the audio type's descriptive name.
#include "ltms.h"
Language | Syntax |
---|---|
C | HRESULT IltmsAudioType_get_FriendlyName(pAudioType, pVal) |
C++ | HRESULT get_FriendlyName(pVal) |
Pointer to an IltmsAudioType interface.
Pointer to a character string that receives the audio type's friendly name.
Value | Meaning |
---|---|
S_OK | The function was successful. |
<> S_OK | An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
If the function succeeds, free the returned BSTR by calling the SysFreeString function.
Win32, x64.
For a C++ example, refer to the Print Live Streams Example For C++.