IHardwareAudioEngineBase::GetGfxState 方法 (audioengineendpoint.h)

GetGfxState 方法會擷取卸除音訊數據流的 GFX 狀態。

語法

HRESULT GetGfxState(
  [in]  IMMDevice *pDevice,
  [out] BOOL      *_pbEnable
);

參數

[in] pDevice

IMMDevice 介面的指標。

[out] _pbEnable

布爾變數的指標。

傳回值

GetGfxState 方法會傳回S_OK,表示它已順利完成。 否則會傳回適當的錯誤碼。

規格需求

需求
目標平台 Windows
標頭 audioengineendpoint.h

另請參閱

IHardwareAudioEngineBase

IMMDevice