NdisGetDeviceReservedExtension function (ndis.h)

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

Syntax

PVOID NdisGetDeviceReservedExtension(
  [in] PDEVICE_OBJECT DeviceObject
);

Parameters

[in] 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

Requirement Value
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