[Microsoft代理程式從 Windows 7 開始已被取代,而且可能無法在後續版本的 Windows 中使用。]
HRESULT GetEnabled(
long * pbEnabled // address of variable for audio output Enabled setting
);
擷取值,指出是否啟用字元語音輸出。
- 傳回S_OK,表示作業成功。
-
pbEnabled
-
如果語音輸出目前已啟用,且停用則 為 False,則為 true 的變數位址。
由於此設定會影響所有字元的口語輸出 (TTS 和聲音檔案),因此只有使用者可以在 Microsoft agent 屬性表中變更此屬性。