Hi,
I have an NDIS driver, registered as below …
macChar.MajorNdisVersion = NDIS_MAJOR_VERSION;
macChar.MinorNdisVersion = NDIS_MINOR_VERSION;
macChar.Reserved = 0;
macChar.OpenAdapterHandler = my_OpenAdapter;
macChar.CloseAdapterHandler = my_CloseAdapter;
macChar.SendHandler = my_Send;
macChar.TransferDataHandler = my_TransferData;
macChar.ResetHandler = my_Reset;
macChar.RequestHandler = my_Request;
macChar.QueryGlobalStatisticsHandler = my_QueryGlobal;
macChar.UnloadMacHandler = my_Unload;
macChar.AddAdapterHandler = my_AddAdapter;
macChar.RemoveAdapterHandler = elan_RemoveAdapter;
macChar.Name = my_macName;
…
…
…
NdisRegisterMac(&status, &driverp->driverHandle, wrapperHandle,
(void *) driverp,&macChar, sizeof(macChar));
the problem is that “my_Unload” is never invoked when i stop the driver
using the applet in Control Panel/Devices
am i missing something here ? ? ?
thanks,
-girish
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 Girish,
You must be working with an old version of the DDK.
NdisRegisterMac is now obsolete and should not be used.
Have a look at MiniportHalt and MiniportShutdown in
the Windows 2000 DDK.
Regards,
Evan
-----Original Message-----
From: Girish Dattatreya Kulkarni [mailto:xxxxx@wipro.com]
Sent: 29 June 2001 11:47
To: NT Developers Interest List
Subject: [ntdev] unloading an NDIS driver
Hi,
I have an NDIS driver, registered as below …
macChar.MajorNdisVersion =
NDIS_MAJOR_VERSION;
macChar.MinorNdisVersion =
NDIS_MINOR_VERSION;
macChar.Reserved = 0;
macChar.OpenAdapterHandler = my_OpenAdapter;
macChar.CloseAdapterHandler = my_CloseAdapter;
macChar.SendHandler = my_Send;
macChar.TransferDataHandler = my_TransferData;
macChar.ResetHandler = my_Reset;
macChar.RequestHandler = my_Request;
macChar.QueryGlobalStatisticsHandler = my_QueryGlobal;
macChar.UnloadMacHandler = my_Unload;
macChar.AddAdapterHandler = my_AddAdapter;
macChar.RemoveAdapterHandler =
elan_RemoveAdapter;
macChar.Name = my_macName;
…
…
…
NdisRegisterMac(&status, &driverp->driverHandle, wrapperHandle,
(void *) driverp,&macChar,
sizeof(macChar));
the problem is that “my_Unload” is never invoked when i stop the driver
using the applet in Control Panel/Devices
am i missing something here ? ? ?
thanks,
-girish
You are currently subscribed to ntdev as: xxxxx@eicon.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
Who writes full mac driver nowadays. These drivers are no longer
supported. It may work on Win2K but definitely not on XP.
-----Original Message-----
From: Girish Dattatreya Kulkarni [mailto:xxxxx@wipro.com]
Sent: Friday, June 29, 2001 3:47 AM
To: NT Developers Interest List
Subject: [ntdev] unloading an NDIS driver
Hi,
I have an NDIS driver, registered as below …
macChar.MajorNdisVersion =
NDIS_MAJOR_VERSION;
macChar.MinorNdisVersion =
NDIS_MINOR_VERSION;
macChar.Reserved = 0;
macChar.OpenAdapterHandler =
my_OpenAdapter;
macChar.CloseAdapterHandler =
my_CloseAdapter;
macChar.SendHandler = my_Send;
macChar.TransferDataHandler =
my_TransferData;
macChar.ResetHandler = my_Reset;
macChar.RequestHandler = my_Request;
macChar.QueryGlobalStatisticsHandler = my_QueryGlobal;
macChar.UnloadMacHandler = my_Unload;
macChar.AddAdapterHandler = my_AddAdapter;
macChar.RemoveAdapterHandler =
elan_RemoveAdapter;
macChar.Name = my_macName;
…
…
…
NdisRegisterMac(&status, &driverp->driverHandle, wrapperHandle,
(void *)
driverp,&macChar, sizeof(macChar));
the problem is that “my_Unload” is never invoked when i stop the driver
using the applet in Control Panel/Devices
am i missing something here ? ? ?
thanks,
-girish
You are currently subscribed to ntdev as: xxxxx@microsoft.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
its for NT4 SP6 … does it appy for that too ?
>-----Original Message-----
>From: xxxxx@lists.osr.com
>[mailto:xxxxx@lists.osr.com]On Behalf Of Evan Lloyd
>Sent: Friday, June 29, 2001 8:04 PM
>To: NT Developers Interest List
>Subject: [ntdev] RE: unloading an NDIS driver
>
>
>Hi Girish,
>You must be working with an old version of the DDK.
>NdisRegisterMac is now obsolete and should not be used.
>Have a look at MiniportHalt and MiniportShutdown in
>the Windows 2000 DDK.
>
>Regards,
>Evan
>
>-----Original Message-----
>From: Girish Dattatreya Kulkarni [mailto:xxxxx@wipro.com]
>Sent: 29 June 2001 11:47
>To: NT Developers Interest List
>Subject: [ntdev] unloading an NDIS driver
>
>
>Hi,
>I have an NDIS driver, registered as below …
>
>macChar.MajorNdisVersion =
>NDIS_MAJOR_VERSION;
>macChar.MinorNdisVersion =
>NDIS_MINOR_VERSION;
>macChar.Reserved = 0;
>macChar.OpenAdapterHandler = my_OpenAdapter;
>macChar.CloseAdapterHandler = my_CloseAdapter;
>macChar.SendHandler = my_Send;
>macChar.TransferDataHandler = my_TransferData;
>macChar.ResetHandler = my_Reset;
>macChar.RequestHandler =
>my_Request;
>macChar.QueryGlobalStatisticsHandler = my_QueryGlobal;
>macChar.UnloadMacHandler = my_Unload;
>macChar.AddAdapterHandler = my_AddAdapter;
>macChar.RemoveAdapterHandler =
>elan_RemoveAdapter;
>macChar.Name = my_macName;
>
>…
>…
>…
>NdisRegisterMac(&status, &driverp->driverHandle, wrapperHandle,
> (void *) driverp,&macChar,
>sizeof(macChar));
>
>the problem is that “my_Unload” is never invoked when i stop the driver
>using the applet in Control Panel/Devices
>
>am i missing something here ? ? ?
>
>thanks,
>-girish
>
>
>—
>You are currently subscribed to ntdev as: xxxxx@eicon.com
>To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>—
>You are currently subscribed to ntdev as: xxxxx@wipro.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
Yes, if you don’t want to support NT 3.51 and older. Personally, I was more
happy with full MAC drivers but MS made them obsolete (it confirms the basic
rule “every change makes things worse”).
Best regards,
Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]
From: Girish Dattatreya Kulkarni[SMTP:xxxxx@wipro.com]
Reply To: NT Developers Interest List
Sent: Sunday, July 01, 2001 8:38 AM
To: NT Developers Interest List
Subject: [ntdev] RE: unloading an NDIS driver
its for NT4 SP6 … does it appy for that too ?
>>-----Original Message-----
>>From: xxxxx@lists.osr.com
>>[mailto:xxxxx@lists.osr.com]On Behalf Of Evan Lloyd
>>Sent: Friday, June 29, 2001 8:04 PM
>>To: NT Developers Interest List
>>Subject: [ntdev] RE: unloading an NDIS driver
>>
>>
>>Hi Girish,
>>You must be working with an old version of the DDK.
>>NdisRegisterMac is now obsolete and should not be used.
>>Have a look at MiniportHalt and MiniportShutdown in
>>the Windows 2000 DDK.
>>
>>Regards,
>>Evan
>>
>>-----Original Message-----
>>From: Girish Dattatreya Kulkarni [mailto:xxxxx@wipro.com]
>>Sent: 29 June 2001 11:47
>>To: NT Developers Interest List
>>Subject: [ntdev] unloading an NDIS driver
>>
>>
>>Hi,
>>I have an NDIS driver, registered as below …
>>
>>macChar.MajorNdisVersion =
>>NDIS_MAJOR_VERSION;
>>macChar.MinorNdisVersion =
>>NDIS_MINOR_VERSION;
>>macChar.Reserved = 0;
>>macChar.OpenAdapterHandler = my_OpenAdapter;
>>macChar.CloseAdapterHandler = my_CloseAdapter;
>>macChar.SendHandler = my_Send;
>>macChar.TransferDataHandler = my_TransferData;
>>macChar.ResetHandler = my_Reset;
>>macChar.RequestHandler =
>>my_Request;
>>macChar.QueryGlobalStatisticsHandler = my_QueryGlobal;
>>macChar.UnloadMacHandler = my_Unload;
>>macChar.AddAdapterHandler = my_AddAdapter;
>>macChar.RemoveAdapterHandler =
>>elan_RemoveAdapter;
>>macChar.Name =
my_macName;
>>
>>…
>>…
>>…
>>NdisRegisterMac(&status, &driverp->driverHandle, wrapperHandle,
>> (void *) driverp,&macChar,
>>sizeof(macChar));
>>
>>the problem is that “my_Unload” is never invoked when i stop the driver
>>using the applet in Control Panel/Devices
>>
>>am i missing something here ? ? ?
>>
>>thanks,
>>-girish
>>
>>
>>—
>>You are currently subscribed to ntdev as: xxxxx@eicon.com
>>To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>>
>>—
>>You are currently subscribed to ntdev as: xxxxx@wipro.com
>>To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>>
You are currently subscribed to ntdev as: xxxxx@rkk.cz
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