Hardware Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Show:
© 2015 Microsoft