IDirectMusicPortDownload::GetBuffer

This method retrieves the IDirectMusicDownload interface pointer of a buffer whose unique identifier is known.

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

Parameters

  • dwDLId
    Download identifier of the buffer. For more information, see DMUS_DOWNLOADINFO.
  • ppIDMDownload
    Address of a variable to receive the IDirectMusicDownload 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 following error values:

E_POINTER
DMUS_E_INVALID_DOWNLOADID
DMUS_E_NOT_DOWNLOADED_TO_PORT

Requirements

OS Versions: Windows CE .NET 4.0 and Windows CE .NET 4.1.
Header: Dmusicc.h.
Link Library: Dmusic.lib.

See Also

Low-Level DLS | IDirectMusicPortDownload::GetDLId | IDirectMusicDownload::GetBuffer | DMUS_DOWNLOADINFO

 Last updated on Monday, April 12, 2004

© 1992-2002 Microsoft Corporation. All rights reserved.