// wdm.h
__drv_aliasesMem PVOID IoGetDriverObjectExtension(
[in] PDRIVER_OBJECT DriverObject,
[in] PVOID ClientIdentificationAddress
);
View the official Windows Driver Kit DDI referenceNo description available.
The IoGetDriverObjectExtension routine retrieves a previously allocated per-driver context area.
DriverObject [in]Specifies the driver object with which the context area is associated.
ClientIdentificationAddress [in]Specifies the unique identifier, provided when it was allocated, of the context area to be retrieved.
IoGetDriverObjectExtension returns a pointer to the context area, if any or returns NULL.
Drivers call IoGetDriverObjectExtension to retrieve a pointer to a previously allocated extension area.
IoAllocateDriverObjectExtension