TIEDirectShow.GetEventCode
Declaration
function GetEventCode(var Event: integer): boolean;
Description
Read current event obtained from DirectShow.
A
OnDShowEvent occurs whenever there is an event available.
Common events are:
IEEC_ACTIVATE = $0013;
IEEC_BUFFERING_DATA = $0011;
IEEC_BUILT = $0300;
IEEC_CLOCK_CHANGED = $000D;
IEEC_CLOCK_UNSET = $0051;
IEEC_CODECAPI_EVENT = $0057;
IEEC_COMPLETE = $0001;
IEEC_DEVICE_LOST = $001F;
IEEC_DISPLAY_CHANGED = $0016;
IEEC_END_OF_SEGMENT = $001C;
IEEC_ERROR_STILLPLAYING = $0008;
IEEC_ERRORABORT = $0003;
IEEC_EXTDEVICE_MODE_CHANGE = $0031;
IEEC_FULLSCREEN_LOST = $0012;
IEEC_GRAPH_CHANGED = $0050;
IEEC_LENGTH_CHANGED = $001E;
IEEC_NEED_RESTART = $0014;
IEEC_NOTIFY_WINDOW = $0019;
IEEC_OLE_EVENT = $0018;
IEEC_OPENING_FILE = $0010;
IEEC_PALETTE_CHANGED = $0009;
IEEC_PAUSED = $000E;
IEEC_PREPROCESS_COMPLETE = $0056;
IEEC_QUALITY_CHANGE = $000B;
IEEC_REPAINT = $0005;
IEEC_SEGMENT_STARTED = $001D;
IEEC_SHUTTING_DOWN = $000C;
IEEC_SNDDEV_IN_ERROR = $0200;
IEEC_SNDDEV_OUT_ERROR = $0201;
IEEC_STARVATION = $0017;
IEEC_STATE_CHANGE = $0032;
IEEC_STEP_COMPLETE = $0024;
IEEC_STREAM_CONTROL_STARTED = $001B;
IEEC_STREAM_CONTROL_STOPPED = $001A;
IEEC_STREAM_ERROR_STILLPLAYING = $0007;
IEEC_STREAM_ERROR_STOPPED = $0006;
IEEC_TIMECODE_AVAILABLE = $0030;
IEEC_UNBUILT = $0301;
IEEC_USERABORT = $0002;
IEEC_VIDEO_SIZE_CHANGED = $000A;
IEEC_VMR_RENDERDEVICE_SET = $0053;
IEEC_VMR_SURFACE_FLIPPED = $0054;
IEEC_VMR_RECONNECTION_FAILED = $0055;
IEEC_WINDOW_DESTROYED = $0015;
IEEC_WMT_EVENT = $0252;
IEEC_WMT_INDEX_EVENT = $0251;
IEEC_USER = $8000;
// DVD events
IEEC_DVD_DOMAIN_CHANGE = ($0100 + $01)
IEEC_DVD_TITLE_CHANGE = ($0100 + $02)
IEEC_DVD_CHAPTER_START = ($0100 + $03)
IEEC_DVD_AUDIO_STREAM_CHANGE = ($0100 + $04)
IEEC_DVD_SUBPICTURE_STREAM_CHANGE = ($0100 + $05)
IEEC_DVD_ANGLE_CHANGE = ($0100 + $06)
IEEC_DVD_BUTTON_CHANGE = ($0100 + $07)
IEEC_DVD_VALID_UOPS_CHANGE = ($0100 + $08)
IEEC_DVD_STILL_ON = ($0100 + $09)
IEEC_DVD_STILL_OFF = ($0100 + $0a)
IEEC_DVD_CURRENT_TIME = ($0100 + $0b)
IEEC_DVD_ERROR = ($0100 + $0c)
IEEC_DVD_WARNING = ($0100 + $0d)
IEEC_DVD_CHAPTER_AUTOSTOP = ($0100 + $0e)
IEEC_DVD_NO_FP_PGC = ($0100 + $0f)
IEEC_DVD_PLAYBACK_RATE_CHANGE = ($0100 + $10)
IEEC_DVD_PARENTAL_LEVEL_CHANGE = ($0100 + $11)
IEEC_DVD_PLAYBACK_STOPPED = ($0100 + $12)
IEEC_DVD_ANGLES_AVAILABLE = ($0100 + $13)
IEEC_DVD_PLAYPERIOD_AUTOSTOP = ($0100 + $14)
IEEC_DVD_BUTTON_AUTO_ACTIVATED = ($0100 + $15)
IEEC_DVD_CMD_START = ($0100 + $16)
IEEC_DVD_CMD_END = ($0100 + $17)
IEEC_DVD_DISC_EJECTED = ($0100 + $18)
IEEC_DVD_DISC_INSERTED = ($0100 + $19)
IEEC_DVD_CURRENT_HMSF_TIME = ($0100 + $1a)
IEEC_DVD_KARAOKE_MODE = ($0100 + $1b)
IEEC_DVD_PROGRAM_CELL_CHANGE = ($0100 + $1c)
IEEC_DVD_TITLE_SET_CHANGE = ($0100 + $1d)
IEEC_DVD_PROGRAM_CHAIN_CHANGE = ($0100 + $1e)
IEEC_DVD_VOBU_Offset = ($0100 + $1f)
IEEC_DVD_VOBU_Timestamp = ($0100 + $20)
IEEC_DVD_GPRM_Change = ($0100 + $21)
IEEC_DVD_SPRM_Change = ($0100 + $22)
IEEC_DVD_BeginNavigationCommands = ($0100 + $23)
IEEC_DVD_NavigationCommand = ($0100 + $24)