Microsoft DirectX 8.0 (C++)

IDirectMusicPort8::GetRunningStats

Retrieves information about the state of the synthesizer.

HRESULT GetRunningStats(
  LPDMUS_SYNTHSTATS pStats
);

Parameters

pStats
Address of a DMUS_SYNTHSTATS8 structure that receives running statistics of the synthesizer. The dwSize member of this structure must be properly initialized before the method is called.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return one of the following error values:

E_POINTER
E_INVALIDARG
E_NOTIMPL

Remarks

Some hardware synthesizers might continue to report running statistics even though the port has been deactivated.

Requirements

  Header: Declared in dmusicc.h.