Platform SDK: DirectX

IDirectMusicPortDownload::GetAppend

The IDirectMusicPortDownload::GetAppend method retrieves the amount of memory that the port needs to be appended to the end of a download buffer. This extra memory can be used by the port to interpolate across a loop boundary.

HRESULT GetAppend(
  DWORD* pdwAppend
);

Parameters

pdwAppend
Address of a variable to receive the number of appended samples for which memory is required. The amount of memory can be calculated from the wave format.

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 error values:

E_POINTER
E_NOTIMPL

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.