?? proto.h
字號:
// prototypes shared with USBSTOR.SYS
#include "..\inc\iopacket.h"
// USBIO.C
VOID USBSTOR_Request(pIOP piop);
USHORT USBSTOR_Device_Inquiry(PAEP_inquiry_device Aep);
VOID _stdcall USBSTOR_CompleteRequest(PIOPACKET IoPacket);
VOID USBSTOR_ErrorHandler(pIOP Iop);
VOID USBSTOR_CompleteIOP(pIOP Iop);
VOID USBSTOR_StartIo(pIOP Iop);
// USBAER.C
VOID USBSTOR_AER (PAEP paep);
USHORT USBSTOR_AEP_Init(PAEP_bi_init Aep);
USHORT USBSTOR_Config_DCB(PAEP_dcb_config Aep);
// USBCTL.ASM
VOID _cdecl IosRegister (PDRP DrvPkt);
extern ILB USBSTOR_Ilb;
extern USBSTOR_GETNEXTPDO pfnGetNextPdo;
extern USBSTOR_STARTREQUEST pfnStartRequest;
extern USBSTOR_REGISTERHANDLER pfnRegisterCompletionHandler;
// Macros to hide ILB function call ugliness
#define ILBService(_x_) USBSTOR_Ilb.ILB_service_rtn((PISP)_x_)
#define ILBCriteria(_x_) ((ILB_internal_request_func)(USBSTOR_Ilb.ILB_int_io_criteria_rtn))((PISP)_x_)
#define ILBEnqueueIop(Iop, Dcb) ((ILB_enqueue_iop_func)(USBSTOR_Ilb.ILB_enqueue_iop))(piop, Dcb)
#define ILBDequeueIop(Dcb) ((ILB_dequeue_iop_func)(USBSTOR_Ilb.ILB_dequeue_iop))(Dcb)
#define ILBRequest(Iop, Dcb) \
_asm mov edi, Iop \
_asm mov ebx, Dcb \
_asm mov edx, 0 \
_asm call USBSTOR_Ilb.ILB_internal_request
#define SaveEbx() _asm push ebx
#define RestoreEbx() _asm pop ebx
#define IOPCallBack(IopCB, Iop) ((PIOPCB)(IopCB->IOP_CB_address))(Iop)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -