IDirectMusicPerformance::SetPrepareTime

The IDirectMusicPerformance::SetPrepareTime method sets the interval between the time the IDirectMusicTrack::Play method is called and when the messages should actually be heard through the speaker.

HRESULT SetPrepareTime(
  DWORD dwMilliSeconds
);
 

Parameters

dwMilliSeconds
Amount of prepare time, in milliseconds. The default value is 1000.

Return Values

The method returns S_OK.

Remarks

For an overview, see Timing.

QuickInfo

  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.

See Also

IDirectMusicPerformance::GetPrepareTime, IDirectMusicPerformance::SetBumperLength