Microsoft DirectX 8.1 (C++)

IDirectMusicTrack8::EndPlay

The EndPlay method called when the object that originally called IDirectMusicTrack8::InitPlay is destroyed.

Syntax

HRESULT EndPlay(
  void * pStateData
);

Parameters

pStateData

Pointer to state data returned from IDirectMusicTrack8::InitPlay. This data should be freed in the EndPlay method.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return E_POINTER.

Requirements

  Header: Declared in dmplugin.h.

See Also