DirectX SDK |
The IDirectMusicPerformance::GetPrepareTime method retrieves the amount of time ahead that IDirectMusicTrack::Play is called before the messages is heard through the speakers. This interval allows sufficient time for the message to be processed by tools.
HRESULT GetPrepareTime( DWORD* pdwMilliSeconds );
If the method succeeds, the return value is S_OK.
If it fails, the method can return E_POINTER.
The default value is 1000 milliseconds.
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.