驱动:
UCHAR* OutputBuffer = (UCHAR*)pIrp->AssociatedIrp.SystemBuffer;
memset(OutputBuffer,0x11,cbout);
VB:
dim l as Long
ManagerDrive.IoControl &H800, StrPtr(strInbuffer), Len(strInbuffer) * 2, StrPtr(l), Len(l), 0
msgbox l
VB传驱动成功了,不知道驱动怎么传到VB。