📄 callback.h
字号:
////////////////////////////////////////////////////////////////////////////
//
// CALLBACK FUNCTION
//
// The following are the function prototypes of the callback function used
// by "601cman.dll".
// These function are used by the DLL to signal an application when an
// event has occured.
// To hook these callback functions to "601cman.dll", you need to use the
// RegisterAppCallBack() API to register your callback function and each
// callback has an unique VxD message correspond to it.
//
////////////////////////////////////////////////////////////////////////////
#include "vitc.h"
//====================================================
// VITC CODE CALLBACK FUNCTION
//
// Description: Signal when VxD need to pass a VITC
// code to an application.
//
// Register Message: VITC_UPDATE_VXDMSG
//
// Params: 1st param - VITC structue pointer
// 2nd param - Reserved
//
//====================================================
typedef BOOL (CALLBACK* VITCUPDATEPROC)(VITCTYPE *, DWORD);
//====================================================
// FAST FORWARD CALLBACK FUNCTION
//
// Description: Signal when VxD need to report the
// field number during fast forward.
//
// Register Message: FF_UPDATE_VXDMSG
//
// Params: 1st param - VITC structue pointer
// 2nd param - Reserved
//
//====================================================
typedef BOOL (CALLBACK* FFUPDATEPROC)(VITCTYPE *, DWORD);
//====================================================
// REWIND CALLBACK FUNCTION
//
// Description: Signal when VxD need to report the
// field number during rewind.
//
// Register Message: REW_UPDATE_VXDMSG
//
// Params: 1st param - VITC structue pointer
// 2nd param - Reserved
//
//====================================================
typedef BOOL (CALLBACK* REWUPDATEPROC)(VITCTYPE *, DWORD);
//====================================================
// INTERRUPT HALT CALLBACK FUNCTION
//
// Description: Signal when interrupt stop. This
// could happen when an error occures or
// the mission has completed.
//
// Register Message: INT_HALT_VXDMSG
//
// Params: 1st param - Error code from VxD
//
//====================================================
typedef BOOL (CALLBACK* INTHALTPROC)(DWORD);
//====================================================
// STATISTIC READY CALLBACK FUNCTION
//
// Description: Signal when ADV601's statistic data is
// ready for Bin Width Calculation. This
// function will be called after
// "601cman.dll" has completed the B.W.
// calculation.
//
// Register Message: BW_STAT_RDY_VXDMSG
//
// Params: 1st param - Count of B.W. caluclation
//
//====================================================
typedef BOOL (CALLBACK* BWSTATRDYPROC)(DWORD);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -