Microsoft DirectX 8.0 (C++)

IDirectMusicTrack8::EndPlay

Called when the object that originally called IDirectMusicTrack8::InitPlay is destroyed.

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.