NdisGetDeviceReservedExtension function

The NdisGetDeviceReservedExtension function gets a pointer to the device extension that is associated with a device object.

Syntax

PVOID NdisGetDeviceReservedExtension(
  PDEVICE_OBJECT DeviceObject
);

Parameters

DeviceObject

A pointer to a DEVICE_OBJECT structure.

Return Value

NdisGetDeviceReservedExtension returns a pointer to the device extension. If an error occurs, it returns NULL.

Requirements

   
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL Any level

See Also

DEVICE_OBJECT