共用方式為


DMUS_IO_SCRIPTTRACK_EVENTHEADER

The DMUS_IO_SCRIPTTRACK_EVENTHEADER structure is used in a Script Track List.

Syntax

typedef struct _DMUS_IO_SCRIPTTRACK_EVENTHEADER {
  DWORD dwFlags;
  MUSIC_TIME lTimeLogical;
  MUSIC_TIME lTimePhysical;
} DMUS_IO_SCRIPTTRACK_EVENTHEADER;

Members

dwFlags

Flag that determines when the event is set. Can be one of the values shown in the following table.

Value Description
DMUS_IO_SCRIPTTRACKF_PREPARE Fire the event in advance of the time stamp, at prepare time. This is the default because it leaves the script enough time to change the music happening at the target time.
DMUS_IO_SCRIPTTRACKF_QUEUE Fire the event just before the time stamp, at queue time.
DMUS_IO_SCRIPTTRACKF_ATTIME Fire the event exactly at the time stamp.

lTimeLogical

Logical time of the event.

lTimePhysical

Actual time of the event.

Requirements

**  Header:** Dmusicf.h

See Also

See Also

© 2004 Microsoft Corporation. All rights reserved.