SRMODEINFORANK

This structure ranks the members of the SRMODEINFO structure in the order of importance.

Syntax

typedef struct { // srmir
DWORD
dwEngineID;
DWORD
dwMfgName;
DWORD
dwProductName;
DWORD
dwModeID;
DWORD
dwModeName;
DWORD
dwLanguage;
DWORD
dwDialect;
DWORD
dwSequencing;
DWORD
dwMaxWordsVocab;
DWORD
dwMaxWordsState;
DWORD
dwGrammars;
DWORD
dwFeatures;
DWORD
dwInterfaces;
DWORD
dwEngineFeatures;
} SRMODEINFORANK, *PSRMODEINFORANK;

Members

dwEngineID
Specifies the relative importance of a matching engine identifier.
dwMfgName
Specifies the relative importance of the specified manufacturer name.
dwProductName
Specifies the relative importance of the specified product name.
dwModeID
Specifies the relative importance of a matching mode identifier.
dwModeName
Specifies the relative importance of the specified mode name.
dwLanguage
Specifies the relative importance of the specified language.
dwDialect
Specifies the relative importance of the specified dialect. This value is stored in the LANGUAGE structure of the SRMODEINFO structure.
dwSequencing
Specifies the relative importance of the specified sequencing type.
dwMaxWordsVocab
Specifies the relative importance of the maximum vocabulary size. Modes that do not meet or exceed the specified value are eliminated from consideration.
dwMaxWordsState
Specifies the relative importance of the maximum number of words in any state of a grammar. Modes that do not meet or exceed the specified value are eliminated from consideration.
dwGrammars
Specifies the relative importance of the requested grammars. Modes that do not support the requested grammars are eliminated from consideration.
dwFeatures
Specifies the relative importance of the requested features. Modes that lack the features requested are eliminated from consideration.
dwInterfaces
Specifies the relative importance of the requested interfaces. Modes that lack the interfaces requested are eliminated from consideration.
dwEngineFeatures
Specifies the relative importance of the requested engine features. Modes that lack the features requested are eliminated from consideration.

Remarks

Each member of the SRMODEINFORANK structure contains a priority value for the corresponding feature. Values are relative to each other — that is, a higher value indicates a higher priority, but the value itself is not meaningful.