Share via


IDirectMusicPerformance8::SetPrepareTime

The SetPrepareTime method sets the interval between the time when messages are sent by tracks and the time when the sound is heard. This interval allows sufficient time for the message to be processed by tools.

Syntax

HRESULT SetPrepareTime(
  DWORD dwMilliSeconds
);

Parameters

dwMilliSeconds

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

Return Values

The method returns S_OK.

Requirements

**  Header:** Dmusici.h
  Library: Dmime.dll, Dmimed.dll

See Also

© 2004 Microsoft Corporation. All rights reserved.