ISRSpeaker::Read

HRESULT Read(TCHAR *pszSpeakerName, PVOID *ppBuffer, DWORD *pdwBufSize);

Retrieves speaker profile information for the specified speaker.

· Returns NOERROR if successful, or one of these error values:

E_INVALIDARG
E_OUTOFMEMORY

pszSpeakerName

[in] Address of a string that contains the name of the speaker.

ppBuffer

[out] Address of a variable that receives a pointer to the memory allocated for the speaker profile information.

pdwBufSize

[out] Address of a variable that receives the number of bytes copied into ppBuffer.

The application must free the memory allocated by the function, using the CoTaskMemAlloc and CoTaskMemFree functions.