PFNREFERENCEDEVICEOBJECT callback function (swenum.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 | swenum.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