| 发表于:2008-01-21 13:03:487楼 得分:0 |
请帮我瞧瞧,我改得对吗?谢了~~~~~~ 'typedef unsigned char (callback* lpzlgb_request)(unsigned char ,unsigned short *); private declare function lpzlgb_request lib "zlg500b.dll" (byval bytbuffer as byte, byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_anticoll)(unsigned char ,unsigned long *); private declare function lpzlgb_anticoll lib "zlg500b.dll" (byval bytbuffer as byte, byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_select)(unsigned long ,unsigned char *); private declare function lpzlgb_select lib "zlg500b.dll" (byval bytbuffer as long, byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_authentication)(unsigned char ,unsigned char ); private declare function lpzlgb_authentication lib "zlg500b.dll" (byval bytbuffer as byte, byval intbuffer as byte) as long 'typedef unsigned char (callback* lpzlgb_authentication2)(unsigned char ,unsigned char,unsigned char); private declare function lpzlgb_authentication2 lib "zlg500b.dll" (byval bytbuffer as byte, byval intbuffer as byte, byval int2 as byte) as long 'typedef unsigned char (callback* lpzlgb_halt)(void); private declare function lpzlgb_halt lib "zlg500b.dll" () as long 'typedef unsigned char (callback* lpzlgb_read)(unsigned char ,unsigned char *); private declare function lpzlgb_read lib "zlg500b.dll" (byval bytbuffer as byte, byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_write)(unsigned char ,unsigned char *); private declare function lpzlgb_write lib "zlg500b.dll" (byval bytbuffer as byte, byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_increment)(unsigned char ,long *); private declare function lpzlgb_increment lib "zlg500b.dll" (byval bytbuffer as byte, byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_decrement)(unsigned char ,long *); private declare function lpzlgb_decrenent lib "zlg500b.dll" (byval bytbuffer as byte, byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_writeval)(unsigned char ,long ); private declare function lpzlgb_writeval lib "zlg500b.dll" (byval bytbuffer as byte, byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_readval)(unsigned char ,long *); private declare function lpzlgb_readval lib "zlg500b.dll" (byval bytbuffer as byte, byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_changepwd)(unsigned char ,unsigned char,unsigned char *); private declare function lpzlgb_changepwd lib "zlg500b.dll" (byval bytbuffer as byte, byval byt2 as byte, byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_restore)(unsigned char ); private declare function lpzlgb_restore lib "zlg500b.dll" (byval bytbuffer as byte) as long 'typedef unsigned char (callback* lpzlgb_transfer)(unsigned char ); private declare function lpzlgb_transfer lib "zlg500b.dll" (byval bytbuffer as byte) as long 'typedef unsigned char (callback* lpzlgb_value)(unsigned char,unsigned char,long *,unsigned char); private declare function lpzlgb_value lib "zlg500b.dll" (byval bytbuffer as byte, byval byt2 as byte, byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_load_key)(unsigned char,unsigned char,unsigned char *); private declare function lpzlgb_load_key lib "zlg500b.dll" (byval bytbuffer as byte, byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_reset)(unsigned char); private declare function lpzlgb_reset lib "zlg500b.dll" (byval bytbuffer as byte) as long 'typedef unsigned char (callback* lpzlgb_close)(void); private declare function lpzlgb_close lib "zlg500b.dll" () as long 'typedef unsigned char (callback* lpzlgb_config)(void); private declare function lpzlgb_config lib "zlg500b.dll" () as long 'typedef unsigned char (callback* lpzlgb_get_info)(unsigned char *); private declare function lpzlgb_get_info lib "zlg500b.dll" (byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_check_write)(unsigned char,unsigned char,unsigned char,unsigned char *); private declare function lpzlgb_check_write lib "zlg500b.dll" (byval bytbuffer as byte, byval bytbuffer2 as byte, byval bytbuffer3 as byte, byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_set_control_bit)(); private declare function lpzlgb_set_control_bit lib "zlg500b.dll" () as long 'typedef unsigned char (callback* lpzlgb_clr_control_bit)(); private declare function lpzlgb_clr_control_bit lib "zlg500b.dll" () as long 'typedef unsigned char (callback* lpzlgb_buzzer)(unsigned char,unsigned char,unsigned char,unsigned char); private declare function lpzlgb_buzzer lib "zlg500b.dll" (byval bytbuffer as byte, byval bytbuffer2 as byte, byval bytbuffer3 as byte, byval bytbuffer4 as byte) as long 'typedef unsigned char (callback* lpzlgb_read_e2)(unsigned char,unsigned char ,unsigned char *); private declare function lpzlgb_read_e2 lib "zlg500b.dll" (byval bytbuffer as byte, byval bytbuffer2 as byte, byref intbuffer as integer) as long 'typedef unsigned char (callback* lpzlgb_write_e2)(unsigned char,unsigned char,unsigned char *); private declare function lpzlgb_write_e2 lib "zlg500b.dll" (byval bytbuffer as byte, byval bytbuffer2 as byte, byref intbuffer as integer) as long 'typedef unsigned char (callback *lpzlgb_init)(int , int ); private declare function lpzlgb_init lib "zlg500b.dll" (byval bytbuffer as integer, byval bytbuffer2 as integer) as long 'typedef void (callback* lpzlgb_exit)(void); private declare function lpzlgb_exit lib "zlg500b.dll" () as long | | |
|