The IDirectMusicPerformance::GetPrepareTime method retrieves the amount of time ahead that IDirectMusicTrack::Play is called before the messages should actually be heard through the speaker. This interval allows sufficient time for the message to be processed by tools.
HRESULT GetPrepareTime(
DWORD* pdwMilliSeconds
);
If the method succeeds, the return value is S_OK.
If it fails, the method may return E_POINTER.
The default value is 1000 milliseconds.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dmusici.h.