| DirectX SDK | 
The members of the CONST_DMUS_PMSGF_FLAGS enumeration are used in the various message-sending methods of DirectMusicPerformance to specify when a message should be delivered to tools.
Enum CONST_DMUS_PMSGF_FLAGS
    DMUS_PMSGF_MUSICTIME      = 2
    DMUS_PMSGF_REFTIME        = 1
    DMUS_PMSGF_TOOL_ATTIME   = 16 (&H10)
    DMUS_PMSGF_TOOL_FLUSH    = 32 (&H20)
    DMUS_PMSGF_TOOL_IMMEDIATE = 4
    DMUS_PMSGF_TOOL_QUEUE     = 8
End Enum
Because DirectX for Visual Basic does not support DirectMusic tools, only DMUS_PMSGF_REFTIME and DMUS_PMSGF_MUSICTIME are currently valid. The time of messages is in music time by default, so DMUS_PMSGF_REFTIME is the only flag that applications normally use.