Hi,
The Microsoft DDK documentation has a section of “Prohibited
Kernel-Mode Routines for NDIS-WDM Drivers”, which has listed
two functions, IoCreateDevice() and IoCreateSymbolicLink().
However in the sample code file \src\network\ndis\ndisuio\sys\ntdisp.c,
both prohibited functions are used to create a device object.
Is the DDK documentation is out of date or the sample code is
out of date?
regards
Jian-Rong Chen
********************************************
Jian-Rong Chen
SONY Broadcast & Professional Research Labs
Jays Close
Basingstoke
RG22 4SB
********************************************
**********************************************************************************************
The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only.
This email and any response may be monitored by Sony United Kingdom Limited.
(05)
**********************************************************************************************
Humm…
The admonition that you mentioned applies to NDIS-WDM drivers. These are
miniport drivers that have a NDIS MP “upper-edge” and use WDM functions at
the “lower-edge”.
NDISUIO is NOT a NDIS-WDM driver. It is a NDIS protocol driver. The
NDS_-WDM limitation does not reply.
Thomas F. Divine
www.ndis.com
“Chen, Jian-Rong” <jian-rong.chen> wrote in message
news:xxxxx@ntdev…
>
> Hi,
>
> The Microsoft DDK documentation has a section of “Prohibited
> Kernel-Mode Routines for NDIS-WDM Drivers”, which has listed
> two functions, IoCreateDevice() and IoCreateSymbolicLink().
> However in the sample code file \src\network\ndis\ndisuio\sys\ntdisp.c,
> both prohibited functions are used to create a device object.
>
> Is the DDK documentation is out of date or the sample code is
> out of date?
>
> regards
>
> Jian-Rong Chen
></jian-rong.chen>
Well, since the section is new with 2003 DDK documentation, I suspect
unfortunately it is the sample that is wrong. This is unfortunate since it
another case of requiring an NDIS wrapper function. Now that there is one
driver programming model, Microsoft should be trying to rework NDIS (and
scsiport/storport) to be support libraries for WDM.
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
----- Original Message -----
From: “Chen, Jian-Rong” <jian-rong.chen>
To: “Windows System Software Devs Interest List”
Sent: Monday, October 27, 2003 5:46 AM
Subject: [ntdev] A question about prohibited kernel-mode routines for NDIS
driver
> Hi,
>
> The Microsoft DDK documentation has a section of “Prohibited
> Kernel-Mode Routines for NDIS-WDM Drivers”, which has listed
> two functions, IoCreateDevice() and IoCreateSymbolicLink().
> However in the sample code file \src\network\ndis\ndisuio\sys\ntdisp.c,
> both prohibited functions are used to create a device object.
>
> Is the DDK documentation is out of date or the sample code is
> out of date?
>
> regards
>
> Jian-Rong Chen
>
>
> Jian-Rong Chen
>
> SONY Broadcast & Professional Research Labs
> Jays Close
> Basingstoke
> RG22 4SB
>
>
>
>
>
**********************************************************
> The information contained in this message or any of its attachments may be
confidential and is intended for the exclusive use of the addressee(s). Any
disclosure, reproduction, distribution or other dissemination or use of this
communication is strictly prohibited without the express permission of the
sender. The views expressed in this email are those of the individual and
not necessarily those of Sony or Sony affiliated companies. Sony email is
for business use only.
>
> This email and any response may be monitored by Sony United Kingdom
Limited.
> (05)
>
**********************************************************
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@acm.org
> To unsubscribe send a blank email to xxxxx@lists.osr.com</jian-rong.chen>