// ndis.h
PVOID NdisGetDeviceReservedExtension(
[in] PDEVICE_OBJECT DeviceObject
);
View the official Windows Driver Kit DDI referenceNo description available.
The NdisGetDeviceReservedExtension function gets a pointer to the device extension that is associated with a device object.
DeviceObject [in]A pointer to a DEVICE_OBJECT structure.
NdisGetDeviceReservedExtension returns a pointer to the device extension. If an error occurs, it returns NULL.