Tim,
Obviously I cannot answer with authority but I recall being told at a DDC or
WinHEC that it was *decision* and not an implementation flaw to ensure that
32-bit WOW64 processes that might not realize they are running on Win64
cannot do stuff like install and manipulate drivers because they might well
try to stuff a 32-bit binary into the system (which I answered with, and
that won’t work anyway so why the prohibition?)
This has been a source of untold agony for device installation and kernel
driver installation as part of applications that are smart enough to know
how to tell what platform they are running on. There does not seem to be a
way (like the ability to disable WOW64 redirections of registry and file
system) to tell the CFGMGR and other parts of SETUPAPI and related (INetCfg)
to just ‘do it’ and stop protecting me from myself. These things *are* just
RPC or COM right?
I for one think it was a ‘accident’ of the design process but then again, I
have long ago built my cadre of work-a-rounds which essentially boil down to
hiding native code that gets invoked out of process when necessary.
Perhaps there is a magic switch and I just don’t know about it. That would
be a nice thing to learn…
Cheers,
Dave Cattley
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Friday, March 27, 2009 1:29 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Devcon 32 vs 64
While doing some driver testing on 64-bit Windows 7, I noticed that the
32-bit “devcon” binary was unable to restart my driver. Queries all
seemed to work fine, but “restart” failed.
That problem has a trivial solution, of course (use the 64-bit devcon
binary), but it made me wonder why. In my experience, most 32-bit apps
– even sophisticated 32-bit apps – work seamlessly on Win64. What is
it about a driver restart that cannot cross the 32/64 boundary?
Accident or design decision?
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer