i have a very serious problem.
i have no idea how to load driver using inf file.
i always used service method, but inf file is just bad.
i just cant get it, where will i find any info?
im referring now to ndis passthru example from DDK.
i want to make my own driver in asm because i dont get 80% of macro-crap contained in there, and i dont know what to do with inf file.
[Passthru.AddService]
DisplayName = %PassthruService_Desc%
ServiceType = 1 ;SERVICE_KERNEL_DRIVER
StartType = 3 ;SERVICE_DEMAND_START
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary = %12%\passthru.sys
AddReg = Passthru.AddService.AddReg
it create service? why? cant i do it myself? SERVICE_KERNEL_DRIVER really i cant?
[Passthru.ndi.Services]
AddService = Passthru,, Passthru.AddService
wtf is that. WTF?!WTF?!
[Version]
Signature = "$Windows NT$"
Class = NetService
ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318}
Provider = %Msft%
DriverVer =10/01/2002,6.0.5019.0
what is that? guid? pathetic.
[SourceDisksFiles]
passthru.sys=1
[DestinationDirs]
DefaultDestDir = 12
Passthru.Files.Sys = 12 ; %windir%\System32\drivers
[Passthru.Files.Sys]
passthru.sys,,,2
ur kidding me.
if i can avoid this crap, tell me. i want to run driver from universal, redirectable console via stdins command, not via gui inf installing.
if i can install it via CreateService/StartService - its ok.
Can i start ndis intermediate driver in service manner, or im stuck with inf files?