共用方式為


IAgentCommandWindow::GetVisible

[Microsoft代理程式從 Windows 7 開始已被取代,而且可能無法在後續版本的 Windows 中使用。]

HRESULT GetVisible(
   long * pbVisible  // address of variable for Visible setting for 
);                   // Voice Commands Window

判斷語音命令視窗是否可見或隱藏。

  • 傳回S_OK,表示作業成功。

pbVisible

如果 [語音命令視窗] 為可見,則接收 True 的變數位址,或隱藏時 False

另請參閱

IAgentCommandWindow::SetVisible