Code Snippets


Home What's New! White Papers FAQ Knowledge Base Utilities Code Snippets Resources

 

Code Snippets by PCAUSA

These are sample code/snippets written by PCAUSA intended to be of interest to NDIS driver developers.

Extending The Microsoft PassThru NDIS Intermediate Driver
    Part 1 Adding a DeviceIoControl Interface
By Thomas Divine, Windows Driver Developer's Digest, Vol.1 No. 3, July 15, 2003
MACADDR II Sample (Added September 10, 2003)
The MACADDR II sample illustrates the use of Win32 DeviceIoControl calls to access NDIS MAC drivers using IOCTL_NDIS_QUERY_GLOBAL_STATS. Using this IOCTL a Win32 application can have limited (query-only) access to a NDIS MAC driver without needing the support of a companion NDIS protocol driver.

This technique is only available on Windows NT through Windows Server 2003 and may not be supported in future Windows releases.

[ MACADDR II Page at PCAUSA... ]

 

 

Code Snippets by Other NDIS Developers

These are NDIS-related sample code/snippets written by other developers in the NDIS community.

By James Antognini...

James Antognini is a software engineer in White Plains, New York and a Microsoft MVP in the DDK area. You can reach him at antognini@mindspring.com.

NDIS Packet Alteration/Encapsulation Techniques (Added September 9, 2003)
Driver excerpts of particular interest to NDIS Intermediate (IM) driver developers. The code snippets show how to change packets so as to encapsulate them, rather like VPN.

Note: This is not an entire application but rather a set of techniques that have been used in a full-fledged NDIS IM driver based on the DDK passthru sample.

[ Download ZIP File (31.03KB)... ]

 

PCAUSA Home · Privacy Statement · Products · Ordering · Support · Utilities · Resources
Mailing Lists  · PCAUSA Newsletter · PCAUSA Discussion List
Rawether for Windows, Rawether .NET, WinDis 32 and NDIS Press are trademarks of Printing Communications Assoc., Inc. (PCAUSA)
Microsoft, MS, Windows, Windows Vista, Windows 95, Windows 98, Windows Millennium, Windows 2000, and Win32 are registered trademarks and Visual C++ and Windows NT are trademarks of the Microsoft Corporation.
Copyright © 1996-2007 Printing Communications Assoc., Inc. (PCAUSA)
Last modified: January 20, 2007