This method gets the words in the installed vocabulary.
HRESULT GetPhraseList( DWORD dwFlags, PWSTR pszBuf PDWORD *pdwSize);
If both flags are set, the combined list is returned.
NOERROR indicates success.
VCMDERR_VALUEOUTOFRANGE indicates that the buffer is too small. When this occurs, GetPhraseList sets pdwSize to the buffer size needed.
If dwFlags is set to SRPHRASE_SI and the speech engine supports any word—for example, if the engine is a phomeme-based continuous engine—the function returns S_FALSE.
If an error occurs, the appropriate HRESULT value is returned.
If both SRPHRASE_SI and SRPHRASE_SD are set, and if a word has both speaker-independent and speaker-dependent templates, the same word appears twice in the buffer.