IDirectMusicPerformance::SetPrepareTime

This 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
);

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.

Requirements

OS Versions: Windows CE .NET 4.0 and Windows CE .NET 4.1.
Header: Dmusici.h.
Link Library: Dmusic.lib.

See Also

IDirectMusicPerformance::GetPrepareTime | IDirectMusicPerformance::SetBumperLength | IDirectMusicTrack::Play

 Last updated on Monday, April 12, 2004

© 1992-2002 Microsoft Corporation. All rights reserved.