Win32 API 日本語リファレンス
ホームMedia.Speech › SpeechGrammarWordType

SpeechGrammarWordType

列挙型
基底型i4

メンバー 4

名前10進16進
SGDisplay00x0
SGLexical10x1
SGPronounciation20x2
SGLexicalNoSpecialChars30x3

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum SpeechGrammarWordType : int {
    SGDisplay = 0,
    SGLexical = 1,
    SGPronounciation = 2,
    SGLexicalNoSpecialChars = 3
} SpeechGrammarWordType;
public enum SpeechGrammarWordType : int
{
    SGDisplay = 0,
    SGLexical = 1,
    SGPronounciation = 2,
    SGLexicalNoSpecialChars = 3,
}
Public Enum SpeechGrammarWordType As Integer
    SGDisplay = 0
    SGLexical = 1
    SGPronounciation = 2
    SGLexicalNoSpecialChars = 3
End Enum
import enum

class SpeechGrammarWordType(enum.IntEnum):
    SGDisplay = 0
    SGLexical = 1
    SGPronounciation = 2
    SGLexicalNoSpecialChars = 3
// SpeechGrammarWordType
pub const SGDisplay: i32 = 0;
pub const SGLexical: i32 = 1;
pub const SGPronounciation: i32 = 2;
pub const SGLexicalNoSpecialChars: i32 = 3;
// SpeechGrammarWordType
const (
	SGDisplay int32 = 0
	SGLexical int32 = 1
	SGPronounciation int32 = 2
	SGLexicalNoSpecialChars int32 = 3
)
const
  SGDisplay = 0;
  SGLexical = 1;
  SGPronounciation = 2;
  SGLexicalNoSpecialChars = 3;
// SpeechGrammarWordType
pub const SGDisplay: i32 = 0;
pub const SGLexical: i32 = 1;
pub const SGPronounciation: i32 = 2;
pub const SGLexicalNoSpecialChars: i32 = 3;
const
  SGDisplay* = 0
  SGLexical* = 1
  SGPronounciation* = 2
  SGLexicalNoSpecialChars* = 3
enum SpeechGrammarWordType : int {
    SGDisplay = 0,
    SGLexical = 1,
    SGPronounciation = 2,
    SGLexicalNoSpecialChars = 3,
}
#define global SGDisplay               0x0
#define global SGLexical               0x1
#define global SGPronounciation        0x2
#define global SGLexicalNoSpecialChars 0x3