#define ONFRONTCONNECTED 1 #define ONFRONTDISCONNECTED 2 #define ONRSPUSERLOGIN 3 #define ONRSPUSERLOGOUT 4 #define ONRSPINSERTORDER 5 #define ONRSPCANCELORDER 6 #define ONRTNERRORMSG 7 #define ONRTNMATCHEDINFO 8 #define ONRTNORDER 9 #define ONRTNCANCELORDER 10 #define ONRSPQRYORDERINFO 11 #define ONRSPQRYMATCHINFO 12 #define ONRSPQRYPOSITION 13 #define ONRSPCUSTOMERCAPITAL 14 #define ONRSPQRYEXCHANGEINSTRUMENT 15 #define ONRSPARBITRAGEINSTRUMENT 16 #define ONRSPQRYSPECIFYINSTRUMENT 17 #define ONRSPQRYPOSITIONDETAIL 18 #define ONRTNTRADINGNOTICE 19 #define ONRSPRESETPASSWORD 20 #define ONRSPQRYTRADECODE 21 #define ONRSPBILLCONFIRM 22 #define ONRSPEQUITYCOMPUTMODE 23 #define ONRSPQRYBILL 24 #define ONRSPCONFIRMPRODUCTINFO 25 #define ONRSPTRADINGDAY 26 #define ONRSPQUOTEINSERT 27 #define ONRTNQUOTEINSERT 28 #define ONRSPQUOTECANCEL 29 #define ONRTNQUOTECANCEL 30 #define ONRTNQUOTEMATCHEDINFO 31 #define ONRSPCANCELALLORDER 32 #define ONRSPQRYQUOTENOTICE 33 #define ONRSPFORQUOTE 34 #define ONRTNFORQUOTE 35 #define ONRSPQRYQUOTEORDERINFO 36 #define ONRSPQRYFORQUOTE 37 #define ONRSPQRYTRANSFERBANK 38 #define ONRSPQRYTRANSFERSERIAL 39 #define ONRSPFROMBANKTOFUTUREBYFUTURE 40 #define ONRSPFROMFUTURETOBANKBYFUTURE 41 #define ONRTNFROMBANKTOFUTUREBYFUTURE 42 #define ONRTNFROMFUTURETOBANKBYFUTURE 43 #define ONRTNREPEALFROMFUTURETOBANKBYBANK 44 #define ONRSPQRYEXCHANGESTATUS 45 #define ONRTNEXCHANGESTATUS 46 #define ONRSPQRYDEPTHMARKETDATA 47