|Microsoft DirectX 9.0|
The AllocateBuffer method allocates a chunk of memory for downloading
HRESULT AllocateBuffer( DWORD dwSize, IDirectMusicDownload** ppIDMDownload );
Requested size of buffer.
Address of a variable that receives the IDirectMusicDownload8 interface pointer.
If the method succeeds, it returns S_OK.
If it fails, the method can return one of the error values shown in the following table.
After a buffer has been allocated, its size cannot change.
The buffer is freed when the IDirectMusicDownload8 interface is released.
Header: Declared in dmusicc.h.