VideoSetCallbackΒΆ
VideoSetCallback enables or disables the callback function.
-
bool = VideoSetCallback(hVideo, bSet)
Return Value
Is TRUE (1), if the function was successful and otherwise FALSE (0).
Parameters
-
hVideo
Identifies the Video.
-
bSet
bSet == TRUE (1) enables the callback function. bSet == FALSE (0) disables the callback function.
Comment
The callback function is set with OBJSetCallbackFunction, for example
OBJSetCallbackFunction(hVideo, "VideoPos", "VideoPosCallback")
If the position is changed, the following callback function will be invoked:
def VideoPosCallback(hVideo, pos)
{
}
If the mode is changed (start, stop, pause), the following callback function is invoked:
def VideoModeCallback(hVideo, mode)
{
}
mode is one of the following values:
#define MCI_MODE_NOT_READY 524
#define MCI_MODE_STOP 525
#define MCI_MODE_PLAY 526
#define MCI_MODE_RECORD 527
#define MCI_MODE_SEEK 528
#define MCI_MODE_PAUSE 529
#define MCI_MODE_OPEN 530
History
Version | Description |
---|---|
R2013.3 | New. |
id-1316989