DirectX SDK |
The IDirectMusicPerformance::SetPrepareTime method sets the interval between the time that the IDirectMusicTrack::Play method is called and the time at which the messages should be heard through the speakers.
HRESULT SetPrepareTime( DWORD dwMilliSeconds );
The method returns S_OK.
For an overview, see Timing.
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.
IDirectMusicPerformance::GetPrepareTime, IDirectMusicPerformance::SetBumperLength