HRESULT Get(DWORD *pdwKind, DWORD *pdwMemory);
Retrieves the kind of information stored in a speech-recognition results object and the amount of memory used by that object.
· Returns NOERROR if successful, or one of these error values:
E_INVALIDARG
E_OUTOFMEMORY
pdwKind
[out] Address of a variable that receives an array of flags that describe the kind of information stored. This parameter can be a combination of these values:
Value | Meaning |
SRRESMEMKIND_AUDIO | A digital-audio recording used by the ISRResAudio interface to get an utterance in waveform-audio file format. |
SRRESMEMKIND_CORRECTION | Information used by the ISRResCorrection interface to correct or validate recognitions. |
SRRESMEMKIND_EVAL | Information used by the ISRResEval interface to reevaluate a recognition. |
SRRESMEMKIND_PHONEMEGRAPH | Phoneme graph information used by the ISRResGraph interface. |
SRRESMEMKIND_WORDGRAPH | Word graph information used by the ISRResGraph interface. |
pdwMemory
[out] Address of a variable that receives an estimate of the number of bytes used by the entire object.