IoGetDriverObjectExtension - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

__drv_aliasesMem PVOID IoGetDriverObjectExtension(
  [in] PDRIVER_OBJECT DriverObject,
  [in] PVOID          ClientIdentificationAddress
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-iogetdriverobjectextension)

IoGetDriverObjectExtension function

Description

The IoGetDriverObjectExtension routine retrieves a previously allocated per-driver context area.

Parameters

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.

Return value

IoGetDriverObjectExtension returns a pointer to the context area, if any or returns NULL.

Remarks

Drivers call IoGetDriverObjectExtension to retrieve a pointer to a previously allocated extension area.

See also

IoAllocateDriverObjectExtension