IDirectMusicPortDownload::Unload

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

HRESULT Unload(
  IDirectMusicDownload* pIDMDownload
);
 

Parameters

pIDMDownload
IDirectMusicDownload interface pointer 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 may return one of the following values:

E_NOINTERFACE
DMUS_E_SYNTHNOTCONFIGURED

QuickInfo

  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.