// poscx.h
NTSTATUS PosCxClose(
[in] WDFDEVICE device,
[in] WDFFILEOBJECT fileObject
);
View the official Windows Driver Kit DDI referenceNo description available.
PosCxClose is called to delete an opened PosCx library instance. This function releases the device if the caller is the owner, and cancels pending requests. It should be called from the driver's EVT_WDF_FILE_CLOSE callback.
device [in]A handle to a framework device object that represents the device.
fileObject [in]A handle to a framework file object that identifies the caller associated with the open instance.
An appropriate NTSTATUS error code that indicates the close instance completion status.