ISpShortcut::GetGeneration (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

ISpShortcut::GetGeneration

ISpShortcut::GetGeneration gets the current generation ID.

HRESULT GetGeneration(
   DWORD    *pdwGeneration
);

Parameters

pdwGeneration
Address of the dword that the current generation ID should be stored in.

Return values

Value Description
S_OK Function completed successfully.
E_POINTER pdwGeneration is not a valid write pointer.
SPERR_UNINITIALIZED Interface is not initialized.
FAILED(hr) Appropriate error message.