PosCxClose function (poscx.h)
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.
Syntax
NTSTATUS PosCxClose(
[in] WDFDEVICE device,
[in] WDFFILEOBJECT fileObject
);
Parameters
[in] device
A handle to a framework device object that represents the device.
[in] fileObject
A handle to a framework file object that identifies the caller associated with the open instance.
Return value
An appropriate NTSTATUS error code that indicates the close instance completion status.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | poscx.h (include Poscx.h) |