Microsoft DirectX 9.0 SDK Update (October 2004)

IDirectMusicPortDownload8::GetBuffer

The GetBuffer method retrieves the IDirectMusicDownload8 interface pointer of a buffer whose unique identifier is known.

Syntax

HRESULT GetBuffer(
  DWORD dwDLId,
  IDirectMusicDownload** ppIDMDownload
);

Parameters

dwDLId

Download identifier of the buffer. See DMUS_DOWNLOADINFO.

ppIDMDownload

Address of a variable that receives the IDirectMusicDownload8 interface pointer for the buffer.

Return Values

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
DMUS_E_INVALID_DOWNLOADID
DMUS_E_NOT_DOWNLOADED_TO_PORT

Requirements

  Header: Dmusicc.h

See Also


© 2004 Microsoft Corporation. All rights reserved.