次の方法で共有


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

**  Minimum Supported Client:** Windows 2000.
**  Minimum Supported Server:** Windows 2000 Server.

**  Header:** Dmusicc.h

See Also

© 2004 Microsoft Corporation. All rights reserved.