flat assembler
Message board for the users of flat assembler.

Index > Windows > loading drivers with inf files

Author
Thread Post new topic Reply to topic
b1528932



Joined: 21 May 2010
Posts: 287
b1528932
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.


Quote:
[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?



Quote:
[Passthru.ndi.Services]
AddService = Passthru,, Passthru.AddService

wtf is that. WTF?!WTF?!


Quote:
[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.

Quote:
[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?
Post 24 Aug 2010, 12:30
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
Just googling "INF file" gives handful of relevant results. Try it.
Post 24 Aug 2010, 14:16
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.