IOCTL_POINT_OF_SERVICE_RELEASE_DEVICE IOCTL (pointofservicedriverinterface.h)
This I/O control function is called when a client is ready to relinquish its claim on a device.
Major code
Input buffer
Not used with this operation; set to NULL.
Input buffer length
Not used with this operation; set to 0 (zero).
Output buffer
Not used with this operation; set to NULL.
Output buffer length
Not used with this operation; set to 0 (zero).
Status block
Returns TRUE if successful; otherwise, returns FALSE.
Remarks
To get extended error information, call GetLastError. The following list shows common error values:
STATUS_ACCESS_DENIED: The device is currently claimed by another client.
STATUS_DEVICE_NOT_READY: The POS library has not been successfully initialized.
The driver can handle this IOCTL by calling PosCxReleaseDevice.
To use this IOCTL, the client must have previously called IOCTL_POINT_OF_SERVICE_CLAIM_DEVICE.
Requirements
Requirement | Value |
---|---|
Header | pointofservicedriverinterface.h (include Pointofservicedriverinterface.h) |