PFNDEREFERENCEDEVICEOBJECT callback function (ks.h)
The driver can use this routine to decrement the reference count of the PDO.
Syntax
PFNDEREFERENCEDEVICEOBJECT Pfndereferencedeviceobject;
void Pfndereferencedeviceobject(
[in] PVOID Context
)
{...}
Parameters
[in] Context
Pointer to a device extension of the device's PDO.
Return value
None
Remarks
Minidrivers access this method through the DereferenceDeviceObject member of the BUS_INTERFACE_REFERENCE structure.
When the PDO's reference count is 0, it becomes eligible for removal. Note that this condition does not guarantee removal.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | ks.h (include Ks.h, Swenum.h) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for