PFNREFERENCEDEVICEOBJECT callback function (ks.h)
The driver can use this routine to increment the reference count of the PDO.
Syntax
PFNREFERENCEDEVICEOBJECT Pfnreferencedeviceobject;
void Pfnreferencedeviceobject(
[in] PVOID Context
)
{...}
Parameters
[in] Context
Pointer to a device extension of the device's PDO.
Return value
None
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | ks.h (include Ks.h, Swenum.h) |