이 이벤트는 다른 클라이언트가 디바이스를 클레임하려고 할 때 발생합니다. 이 이벤트의 데이터 버퍼는 다음과 같습니다.
Syntax
typedef struct _PosEventDataHeader
{
// Event enumeration value
PosEventType EventType;
// Size of buffer required to read entire event (including header)
UINT32 DataLength;
} PosEventDataHeader;
다음 표에서는 이 이벤트에 대한 데이터 버퍼의 메모리 레이아웃을 보여줍니다.
| Memory value | Description |
|---|---|
| 0x00000001 | EventType = PosEventType::ReleaseDeviceRequested |
| 0x00000008 | sizeof(PosEventDataHeader) |
Remarks
이 이벤트는 PosCx(Point of Service Class Extension)에서 디바이스 드라이버를 대신하여 처리됩니다. 클라이언트가 다른 클라이언트가 사용 중인 디바이스를 클레임하려고 하면 PosCx는 현재 스캐너 디바이스에 클레임이 있는 클라이언트에서 이 이벤트를 발생시도하여 다른 클라이언트가 디바이스를 클레임하려고 함을 나타냅니다. The current client is expected to either retain its claim (IOCTL_POINT_OF_SERVICE_RETAIN_DEVICE) or release its claim (IOCTL_POINT_OF_SERVICE_RELEASE_DEVICE) of the device in response to this event. If the current client does not retain its claim on the device, its ClaimedBarcodeScanner object will no longer be valid.
Requirements
Header: pointofservicedriverinterface.h