Hi All,

There are many macros in NDIS.H and other places that I need in a user-
mode application.

#include' ing <ndis.h> and compiling with Visual Studio generates many
errors, and it appears that interdependencies of driver-mode/user-mode
headers cannot be eliminated.

What is typical strategy for circumventing this problem?

TIA,

-Le Chaud Lapin-

Re: Redefinition of NDIS_STATUS_ * Macros by Pavel

Pavel
Mon Jul 07 17:55:43 CDT 2008

Shared ndis definitions between kernel and user modes are in ntddndis.h.
Ndis.h is a kernel side include. No easy way to bring it to usermode
environment.
The best you can get is the software offered by pcausa.com.

--PA


"Le Chaud Lapin" <jaibuduvin@gmail.com> wrote in message
news:c1b65167-1824-4980-bc47-6642d15bd036@e39g2000hsf.googlegroups.com...
> Hi All,
>
> There are many macros in NDIS.H and other places that I need in a user-
> mode application.
>
> #include' ing <ndis.h> and compiling with Visual Studio generates many
> errors, and it appears that interdependencies of driver-mode/user-mode
> headers cannot be eliminated.
>
> What is typical strategy for circumventing this problem?
>
> TIA,
>
> -Le Chaud Lapin-