SPPROPERTYINFO

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

SPPROPERTYINFO

SPPROPERTYINFO contains the information for a semantic property.

typedef struct tagSPPROPERTYINFO
{
    const   WCHAR    *pszName;     
    ULONG             ulId;
    const   WCHAR    *pszValue;
    VARIANT           vValue;    
} SPPROPERTYINFO;

Members

pszName
Pointer to the null-terminated string that contains the name information of the property. This is set using the PROPNAME attribute in the Speech Text Grammar Format.
ulId
Identifier associated with the property. This is set using the PROPID attribute in the Speech Text Grammar Format.
pszValue
Pointer to the null-terminated string that contains the value information of the property. This is set using the VALSTR attribute in the Speech Text Grammar Format.
vValue
Must be one of the following: VT_BOOL, VT_I4, VT_R4, VT_R8, or VT_BYREF (for dynamic grammars only.) This is set using the VAL attribute in the Speech Text Grammar Format.