User`s manual

Function Library 63
Visual Basic (Windows 98/NT/2000/XP)
AngeloMPEG4_Encode_Set_Callback (ByVal
Encoder_Index As Long, ByVal
Encode_CallBackProcas As Long) As Long
Delphi (Windows 98/NT/2000/XP)
AngeloMPEG4_Encode_Set_Callback(Encoder_Index:Lo
ngint;
lpEncodeCallBackProc:EncodeCallBackProc):Lo
ngint;
@ Argument
Encoder_Index: Indicates the channel Index for the MPEG4
encoder. The range of channels is 0 – 15.
@ Return Code
@ Example
< VC/BCB >
int Result;
int Encoder_Index = 0;
void __stdcall Encode_Callback(int Encoder_Index,
long int_status, param_str *param_struct)
{
if(int_status & 0x01 ==1) //Image Ready
{
}
if(int_status >> 4 & 0x01 ==1) //Motion
Dection
{
}
}
Result =
AngeloMPEG4_Encode_Set_Callback(Encoder_Ind
ex, Encode_Callback);