Miscellaneous Driver Programming Techniques

This section contains various topics of interest to driver writers. It includes the following sections:

NTSTATUS Values

Singly and Doubly Linked Lists

Handling Exceptions

Logging Errors

Writing a Bug Check Callback Routine

Using Safe String Functions

Using Safe Integer Functions

Determining Whether the Operating System Is Running in Safe Mode

Using GUIDs in Drivers

Using Floating Point or MMX in a WDM Driver

Using Files In A Driver

Using the Registry in a Driver

Supporting Removable Media

Creating Export Drivers

Creating Reliable Kernel-Mode Drivers

Hiding Devices from Device Manager

Filtering Registry Calls

Object Reference Tracing with Tags

Programming Issues for 64-Bit Drivers

Obsolete and Reserved Kernel Programming Interfaces

Kernel Macros, Global Variables, and Opaque Structures


Send comments about this topic to Microsoft