TTSMODEINFORANK

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

Syntax

typedef struct { // ttsmir
DWORD
dwEngineID;
DWORD
dwMfgName;
DWORD
dwProductName;
DWORD
dwModeID;
DWORD
dwModeName;
DWORD
dwLanguage;
DWORD
dwDialect;
DWORD
dwSpeaker;
DWORD
dwStyle;
DWORD
dwGender;
DWORD
dwAge;
DWORD
dwFeatures;
DWORD
dwInterfaces;
DWORD
dwEngineFeatures;
} TTSMODEINFORANK, *PTTSMODEINFORANK;

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 TTSMODEINFO.
dwSpeaker
Specifies the relative importance of the requested speaker.
dwStyle
Specifies the relative importance of the requested speaking style.
dwGender
Specifies the relative importance of the requested gender.
dwAge
Specifies the relative importance of the requested age. The text-to-speech (TTS) mode that is closest to the requested age is selected.
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 TTSMODEINFORANK 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.