次の方法で共有


SPPROPERTYINFO (Windows Embedded CE 6.0)

1/6/2010

This structure contains the information for a semantic property.

Syntax

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

Members

  • pszName
    Pointer to a null-terminated string specifying the name of the property. This property is in the Speech Text Grammar format and is set using the PROPNAME attribute.
  • ulId
    Identifier of the property. This identifier is in the Speech Text Grammar format and is set using the PROPID attribute.
  • pszValue
    Pointer to a null-terminated string specifying the value of the property. This value is in the Speech Text Grammar format and is set using the VALSTR attribute.
  • vValue
    VARIANT type of the property. The type must be one of the following: VT_BOOL, VT_I4, VT_R4, VT_R8, or VT_BYREF (only for dynamic grammars). The type is set using the VAL attribute in the Speech Text Grammar format.

Requirements

Header sapi.h, sapi.idl
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

SAPI Structures