The IDirectMusicPortDownload::GetDLId method obtains sequential identifiers for one or more download buffers.
Every memory chunk downloaded to the synthesizer must have a unique identifier placed in its DMUS_DOWNLOADINFO structure. The GetDLId method guarantees that no two downloads have the same identifier.
HRESULT GetDLId(
DWORD* pdwStartDLId,
DWORD dwCount
);
If the method succeeds, it returns S_OK.
If it fails, the method may return one of the following error values:
E_POINTER |
E_INVALIDARG |
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dmusicc.h.