SAPI Documentation Errata: ISpRecoGrammar::SetRuleState

Published 25 April 08 12:46 PM

There is a typo in the documentation for the ISpRecoGrammar::SetRuleState method in SAPI 5.3.  The input parameters are listed as:

HRESULT SetRuleState(
   LPCWSTR       *pszName,
   void          *pReserved,
   SPRULESTATE   NewState
);

This instead it should be:

HRESULT SetRuleState(
   LPCWSTR       pszName,
   void          *pReserved,
   SPRULESTATE   NewState
);

Note that instead of "*pszName" the parameter should be "pszName".

We'll update MSDN and the Windows SDK documentation, but in the meantime we wanted to publish this errata.

Anonymous comments are disabled

This Blog

Syndication

Page view tracker