This method sets the amount of time to buffer ahead of the port's latency for messages to be sent to the port for rendering. For an overview of this topic, see Timing.

HRESULT SetBumperLength(
  DWORD dwMilliSeconds


  • dwMilliSeconds
    Amount of preplay time, in milliseconds. The default value is 50.

Return Values

The method returns S_OK.


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

See Also

IDirectMusicPerformance::GetBumperLength | IDirectMusicPerformance::SetPrepareTime

 Last updated on Monday, April 12, 2004

© 1992-2002 Microsoft Corporation. All rights reserved.