IAgentSpeechInputProperties::GetEnabled

[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]

HRESULT GetEnabled(
   long * pbEnabled  // address of variable for speech recognition engine 
);                   // Enabled setting

Retrieves a value indicating whether the installed speech recognition engine is enabled.

  • Returns S_OK to indicate the operation was successful.

pbEnabled

Address of a variable that receives True if the speech engine is currently enabled and False if disabled.