The OEM-provided code in the cOEM_Hw_Int procedure may return the following values. The flags indicate the state of the pen-packet gathering process.
Constant | Description | Value |
---|---|---|
FF_COM_BASE | The base I/O address for the COM port is invalid in the _HARDWAREINFO structure and the virtual pen needs to access a COM port to gather pen information. This is an error code. | 0x00000002 |
FF_DATANOTREADY | There is no pen data to read from the hardware. This is an error code. | 0x00000400 |
FF_ERROR | There was an error. | 0x00000080 |
FF_EXPECTING_SYNC | Received data in the wrong order. A sync byte was expected and the byte received was not a sync byte. This is an error code. | 0x00000010 |
FF_INCOMPLETE | Data gathering is in process, but a complete packet has not been gathered yet. | 0x00000020 |
FF_OEMSPECIFIC | OEM-specific information. | 0x80000000 |
FF_OORPENPACKET | A complete out-of-range pen packet is ready. This is a success code. | 0x00000200 |
FF_OVERRUN | A data overrun occurred. This is an error code. | 0x00000004 |
FF_PENPACKET | A complete pen packet is ready. This is a success code. | 0x00000100 |
FF_RECORD_ERROR | The X point or the Y point in a received packet is invalid. This is an error code that is sent after a complete packet is gathered. | 0x00000008 |
FF_SUCCESS | A complete data packet is gathered and is ready to be serviced. | 0x00000001 |
FF_UNKNOWN | Unknown failure. This is an error code that is not used in the sample pen Unidriver code. | 0x00000000 |