IHardwareAudioEngineBase::SetEngineDeviceFormat method

The SetEngineDeviceFormat method sets the waveform audio format for the hardware audio engine.

Syntax


HRESULT SetEngineDeviceFormat(
  [in]  IMMDevice *pDevice,
  [in]  WAVEFORMATEX *_pwfxFormat
);

Parameters

pDevice [in]

A pointer to an IMMDevice interface.

_pwfxFormat [in]

A pointer to a WAVEFORMATEX structure that provides information about the hardware audio engine.

Return value

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

See also

IHardwareAudioEngineBase
IMMDevice

 

 

Community Additions

ADD
Show:
© 2014 Microsoft