ntddk.h in Numega driverstudio

Hi All,
We are having problem with porting of the driver. We had generated a NDIS_WDM driver using Numega DriverStudio for W2K, now we want it on NT, as NT doesn’t support WDM, we generated a simple NDIS driver, which is fine, as our driver requires kernel mode APIs, but we are not able to include the ntddk.h, eventhough we set the BINARY_COMPATIBLE = 0, i’m getting the redefination error. Please help me to port the driver onto NT. Please do reply.

I wrote a skeleton driver without using Numega DriverStudio, its working fine, where i could include the ntddk.h by setting BINARY_COMPATIBLE flag to zero

Thanks in advance,
Vishu


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

Do not add the include line for ntddk.h. The header is already included for
you in the NDIS headers if you set BINARY_COMPATIBLE = 0.

Gary G. Little
Broadband Storage, Inc.
xxxxx@broadstor.com
xxxxx@inland.net
(949) 7372731

-----Original Message-----
From: maram vishwanath [mailto:xxxxx@rediffmail.com]
Sent: Monday, December 10, 2001 10:55 PM
To: NT Developers Interest List
Subject: [ntdev] ntddk.h in Numega driverstudio

Hi All,
We are having problem with porting of the driver. We had generated a
NDIS_WDM driver using Numega DriverStudio for W2K, now we want it on NT, as
NT doesn’t support WDM, we generated a simple NDIS driver, which is fine, as
our driver requires kernel mode APIs, but we are not able to include the
ntddk.h, eventhough we set the BINARY_COMPATIBLE = 0, i’m getting the
redefination error. Please help me to port the driver onto NT. Please do
reply.

I wrote a skeleton driver without using Numega DriverStudio, its working
fine, where i could include the ntddk.h by setting BINARY_COMPATIBLE flag to
zero

Thanks in advance,
Vishu


You are currently subscribed to ntdev as: xxxxx@broadstor.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

Hi,
Thanks for the reply.
Our problem is not yet solved, I removed the include line for ntddk.h, then while building its not recognizing the kernel mode APIs. For example i added Irql = GetCurrentIrql(), it saying undeclared identifier. Is this because of Numega DriverStudio which i have used to genereate the driver? or else what may be the reason?
please do reply,
thanks in advance,
Vishu.

Subject: RE: ntddk.h in Numega driverstudio
From: Gary Little
Date: Tue, 11 Dec 2001 08:26:07 -0800
X-Message-Number: 26

Do not add the include line for ntddk.h. The header is already included for
you in the NDIS headers if you set BINARY_COMPATIBLE = 0.

Gary G. Little
Broadband Storage, Inc.
xxxxx@broadstor.com
xxxxx@inland.net
(949) 7372731

-----Original Message-----
From: maram vishwanath [mailto:xxxxx@rediffmail.com]
Sent: Monday, December 10, 2001 10:55 PM
To: NT Developers Interest List
Subject: [ntdev] ntddk.h in Numega driverstudio

Hi All,
We are having problem with porting of the driver. We had generated a
NDIS_WDM driver using Numega DriverStudio for W2K, now we want it on NT, as
NT doesn’t support WDM, we generated a simple NDIS driver, which is fine, as
our driver requires kernel mode APIs, but we are not able to include the
ntddk.h, eventhough we set the BINARY_COMPATIBLE = 0, i’m getting the
redefination error. Please help me to port the driver onto NT. Please do
reply.

I wrote a skeleton driver without using Numega DriverStudio, its working
fine, where i could include the ntddk.h by setting BINARY_COMPATIBLE flag to
zero

Thanks in advance,
Vishu


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