Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.3
ISpShortcut::GetGenerationChange
ISpShortcut::GetGenerationChange gets the list of changes that have happened in a user shortcut since a specific generation.
HRESULT GetGenerationChange(
DWORD dwFlags,
DWORD *pdwGeneration,
SPWORDLIST *pWordList
);
Parameters
- dwFlags
[in] A bitfield of SPLEXICONTYPE. It only takes the value of eLEXTYPE_USER_SHORTCUT. - pdwGeneration
[in, out] Used to pass in the generation ID. Changes that occurred between this generation and the current generation will be returned. Upon return, pdwGeneration will contain the current generation ID. - pWordList
[in, out] The linked list of shortcut pairs that are new since the specified generation.
Return values
| Value |
| S_OK |
| SP_LEX_NOTHING_TO_SYNC |
| SPERR_LEX_VERY_OUT_OF_SYNC |
| E_POINTER |
| E_INVALIDARG |
| SPERR_UNINITIALIZED |
| E_OUTOFMEMORY |
| FAILED(hr) |