Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > How to determine if driver is x32 or x64

Reply
Thread Tools Display Modes

How to determine if driver is x32 or x64

 
 
David F.
Guest
Posts: n/a

 
      04-23-2010
Hi,

Is there a easy way to tell if a driver is for x32 or x64 by just having the
..sys binary?

TIA!!

 
Reply With Quote
 
 
 
 
Pavel A.
Guest
Posts: n/a

 
      04-23-2010
Yes. Open it in dependency viewer (depends.exe) and it will show this.

--pa


"David F." <> wrote in message
news:517B2DDF-4F7A-48DE-923F-...
> Hi,
>
> Is there a easy way to tell if a driver is for x32 or x64 by just having
> the .sys binary?
>
> TIA!!
>

 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      04-23-2010
link -dump -headers myfile.sys

FILE HEADER VALUES
14C machine (x86)

or

FILE HEADER VALUES
8664 machine (x64)

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

"David F." <> wrote in message news:517B2DDF-4F7A-48DE-923F-...
> Hi,
>
> Is there a easy way to tell if a driver is for x32 or x64 by just having the
> .sys binary?
>
> TIA!!
>

 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      05-06-2010
>options for microsoft linker such as -dump -header? It seems that the
>output is same as dumpbin.


"link -dump" is the same as "dumpbin", and I cannot make "dumpbin" working in more-or less modern WDK, while "link -dump" works.

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
 
Tim Roberts
Guest
Posts: n/a

 
      05-07-2010
Chequer <> wrote:
>
>Would you like to tell me, where to find the undocumented argument
>options for microsoft linker such as -dump -header? It seems that the
>output is same as dumpbin.


Look at the directory that contains "link.exe". Note that "lib.exe",
"dumpbin.exe", and "editbit.exe" are each only 18k bytes. That's not big
enough to do anything useful. All three of those utilities do nothing
other than invoke link.

lib => link /lib
dumpbin => link /dump
editbin => link /edit
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: WDDM Driver Vidpn implementation. Ivan Brugiolo [MSFT] Windows Vista Drivers 8 01-24-2010 02:12 AM
What's the different for PNPDTest between WLK 1.5 and WLK 1.2 Wayne Windows Vista Drivers 2 01-18-2010 08:32 PM
Re: Driver "update" during development cycle and WHQL certification Don Burn Windows Vista Drivers 0 11-20-2009 06:10 PM
COM port driver inf issue shivaprasad Windows Vista Drivers 4 11-14-2009 04:45 PM
Going Golfing but not with Vista markbyrn Windows Vista Games 15 03-08-2007 10:59 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59