IVCmdAttributes::SRModeGet

HRESULT SRModeGet(GUID *pgMode);

Retrieves the GUID of the speech-recognition mode used for the site.

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

E_INVALIDARG
VCMDERR_INVALIDMODE
VCMDERR_NOTSUPPORTED
VCMDERR_OUTOFMEM

pgMode

[out] Address of a variable that receives the unique GUID assigned to the speech-recognition mode.

A speech-recognition engine typically provides an assortment of modes that it can use to recognize speech in different languages or dialects. A voice-command site uses a single speech-recognition mode.

The speech-recognition mode for a site is saved between uses of the site, even if the user shuts down the computer in the meantime.