WDM driver installation in Windows 98

Hi friends,

Is here a way to install a WDM driver with given INF file in Windows 98 with SetupDiXXX
calls ? I will use 32 bit code and not 16 bit code !.

elli


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Why do you want to use the 32-bit code? The installation calls for 16-bit
code. . .

Joe McCloskey
Gamry Instruments, Inc.
xxxxx@gamry.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Mathias Ellinger
Sent: Tuesday, October 30, 2001 9:17 AM
To: NT Developers Interest List
Subject: [ntdev] WDM driver installation in Windows 98

Hi friends,

Is here a way to install a WDM driver with given INF file in Windows 98 with
SetupDiXXX
calls ? I will use 32 bit code and not 16 bit code !.

elli


You are currently subscribed to ntdev as: xxxxx@gamry.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

>Why do you want to use the 32-bit code? The installation calls for 16-bit

code. . .

The first thing. I don’t like 16 bit code in 2001 !!! grrr…
The second thing I will install/deinstall devices from 32 bit applications
at run time. Deinstall works with the same code for 98,2000 and XP.

elli


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi Elli,

Certainly Yes, you can use the SetupDiXXX
calls to install the WDM driver on windows 98 using
the 32 bit code. Tinker along the code provided by the
DDK 2000 to get the stuff work on 98. Most of the
changes involved replacing the
UpdatePlugAndPlayDrivers with other SetupDi Calls. I
have done this.

Cheers,
Jay

— Mathias Ellinger wrote:
> Hi friends,
>
> Is here a way to install a WDM driver with given INF
> file in Windows 98 with SetupDiXXX
> calls ? I will use 32 bit code and not 16 bit code
> !.
>
> elli
>
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi Jay,

Certainly Yes, you can use the SetupDiXXX
calls to install the WDM driver on windows 98 using
the 32 bit code. Tinker along the code provided by the
DDK 2000 to get the stuff work on 98. Most of the
changes involved replacing the
UpdatePlugAndPlayDrivers with other SetupDi Calls.

I have assumed the same and will use SetupDiCallClassInstaller()
with DIF_INSTALLDEVICE instead. But my problem after creation
of device info list I use SetupDiCreateDeviceInfo() and this
call fails with error 0x0D. Now I’m little bit confused.

elli


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi,Mathias Ellinger,
I’ve the same problem withi SetupDiCreateDeviceInfo,now I use 16bit code complete it !

???

=================================

Hi Jay,

> Certainly Yes, you can use the SetupDiXXX
>calls to install the WDM driver on windows 98 using
>the 32 bit code. Tinker along the code provided by the
>DDK 2000 to get the stuff work on 98. Most of the
>changes involved replacing the
>UpdatePlugAndPlayDrivers with other SetupDi Calls.

I have assumed the same and will use SetupDiCallClassInstaller()
with DIF_INSTALLDEVICE instead. But my problem after creation
of device info list I use SetupDiCreateDeviceInfo() and this
call fails with error 0x0D. Now I’m little bit confused.

elli


You are currently subscribed to ntdev as: guodongzi@163.net
To unsubscribe send a blank email to xxxxx@lists.osr.com

= = = = = = = = = = = = = = = = = = = =

??
???

Crasher
guodongzi@163.net
2001-10-31
b???.???????&?v?'?ׯj?.n?Qyȩf??]?:.?˛???m??֛???zf???%y?ޞ?^?˛??^r*Lzfެ?…???l??ܢ

Elli,
Here is some code snippet. Ofcourse,even i had
problems with this call and after some good shots i
got it to work.

HDEVINFO hDeviceInfoSet;
// Get this using SetupDiGetClassDevs( )
SP_DEVINFO_DATA hDeviceInfoData;

// Initialise the hDeviceInfoData before this call
// “MyHardwareId” is the hardware id in your Inf file.
if (!SetupDiCreateDeviceInfo(hDeviceInfoSet,
_TEXT(“Root\MyHardwareId\0000”), // 0000is the
instance number
&uClassGUID,
“My Hardware FriendlyName”,
NULL,
DICD_INHERIT_CLASSDRVS,
&hDeviceInfoData
))
{
return FALSE;
}

Note Elli: This call is asynchronous, what i mean is
that the control come out of this call even before the
driver is actually loaded. So synchronize by having a
windows had will get the WM_DEVICECHANGE message with
DBT_DEVICEARRIVAL notification.

Cheers,
Jay

— Mathias Ellinger wrote:
> Hi Jay,
>
> > Certainly Yes, you can use the SetupDiXXX
> >calls to install the WDM driver on windows 98 using
> >the 32 bit code. Tinker along the code provided by
> the
> >DDK 2000 to get the stuff work on 98. Most of the
> >changes involved replacing the
> >UpdatePlugAndPlayDrivers with other SetupDi Calls.
>
> I have assumed the same and will use
> SetupDiCallClassInstaller()
> with DIF_INSTALLDEVICE instead. But my problem after
> creation
> of device info list I use SetupDiCreateDeviceInfo()
> and this
> call fails with error 0x0D. Now I’m little bit
> confused.
>
> elli
>
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com