Platform SDK: DirectX

IDirectMusicPortDownload::Unload

The IDirectMusicPortDownload::Unload method unloads a buffer that was previously downloaded by using IDirectMusicPortDownload::Download.

HRESULT Unload(
  IDirectMusicDownload* pIDMDownload
);

Parameters

pIDMDownload
Address of the IDirectMusicDownload interface for the buffer.

Return Values

Return values are determined by the port implementation.

If the method succeeds, the return value is S_OK.

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

E_NOINTERFACE
DMUS_E_SYNTHNOTCONFIGURED

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dmusicc.h.