IDirectMusicPortDownload8::GetAppend

DirectMusic

Microsoft DirectX 9.0 SDK Update (Summer 2004)

IDirectMusicPortDownload8::GetAppend

The 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.

Syntax

HRESULT GetAppend(
  DWORD* pdwAppend
);

Parameters

pdwAppend

Address of a variable that receives the number of appended samples for which memory is required. The amount of memory can be calculated from the WAV 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 error values shown in the following table.

Return code
E_POINTER
E_NOTIMPL

Requirements

  Header: Declared in dmusicc.h.

See Also


© 2004 Microsoft Corporation. All rights reserved.