IHardwareAudioEngineBase::SetGfxState method (audioengineendpoint.h)

The SetGfxState method sets the GFX state of the offloaded audio stream.

Syntax

HRESULT SetGfxState(
  [in] IMMDevice *pDevice,
  [in] BOOL      _bEnable
);

Parameters

[in] pDevice

Pointer to an IMMDevice interface.

[in] _bEnable

Pointer to a boolean variable.

Return value

The SetGfxState method returns S_OK to indicate that it has completed successfully. Otherwise it returns an appropriate error code.

Requirements

Requirement Value
Target Platform Windows
Header audioengineendpoint.h

See also

IHardwareAudioEngineBase

IMMDevice