驅動程式 - Windows Driver Model (WDM) - 使用範例 - BASIC (FreeBASIC) - make.bat



del main.sys

"c:\freebasic\fbc32.exe" -c main.bas
"c:\masm32\bin\link.exe" main.o /driver /base:0x10000 /subsystem:native /entry:DriverEntry "c:\masm32\lib\wxp\i386\ntoskrnl.lib" "c:\masm32\lib\wxp\i386\csq.lib" /OUT:main.sys