PFNREFERENCEDEVICEOBJECT - NtDoc

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

PFNREFERENCEDEVICEOBJECT Pfnreferencedeviceobject;

VOID Pfnreferencedeviceobject(
  [in] PVOID Context
)
{...}
View the official Windows Driver Kit DDI reference
// swenum.h

PFNREFERENCEDEVICEOBJECT Pfnreferencedeviceobject;

VOID Pfnreferencedeviceobject(
  [in] PVOID Context
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-ks-pfnreferencedeviceobject)

PFNREFERENCEDEVICEOBJECT callback function (ks.h)

Description

The driver can use this routine to increment the reference count of the PDO.

Parameters

Context [in]

Pointer to a device extension of the device's PDO.

Remarks

The driver can access this method through the ReferenceDeviceObject member of the BUS_INTERFACE_REFERENCE structure.

The device object remains active and enumerated until the reference count returns to 0.


Windows Driver Kit DDI reference (nc-swenum-pfnreferencedeviceobject)

PFNREFERENCEDEVICEOBJECT callback function (swenum.h)

Description

The driver can use this routine to increment the reference count of the PDO.

Parameters

Context [in]

Pointer to a device extension of the device's PDO.

Remarks

The driver can access this method through the ReferenceDeviceObject member of the BUS_INTERFACE_REFERENCE structure.

The device object remains active and enumerated until the reference count returns to 0.