|queue||Pointer to a queue to add character to.|
|inChar||UTF-16 character to be added to queue.|
The number (count) of processed characters available for output.
This function inserts a character into the given processing queue. Characters are processed as they are inserted.
Characters should be entered into the appropriate queue as they are generated by the keyboard. Immediately after entering the character in the queue, the application should try to get the processed characters from the queue. The application should try to remove characters in a loop, since one input may generate multiple outputs. An output of 0 indicates that the queue is empty.
It is an application error to add characters to a queue and not try to remove them immediately afterwards. The queue is not designed to hold more characters than can be processed immediately. Overflowing the queue will result in a fatal error.
To support ALT+keypad keys, the private Unicode values
KBK_Keypad_9 are placed in a queue whenever the ALT key is pressed while NUM LOCK is active and the 0-9 keys on the keypad
are entered. To generate output when the ALT key is released, the value
KPR_FLUSH_AKP_CHAR should be entered into the queue. This value itself is absorbed by the queue and does not
become available for output.
This function may also be used to flush all the unprocessed characters in the queue (and make them available for output). To do so, the value
KPR_FLUSH_ALL_CHAR should be entered into the
queue. This value itself is absorbed by the queue and does not become available for output.
|Background||Do not call this function from the background.|
|Callbacks||Do not call this function from any callback function.|
|Interrupt handler||Do not call this function from any interrupt handler.|
|Exception handler||Do not call this function from any exception handler.|
2013/05/08 Automated cleanup pass.