| 2718 | |
| 2719 | |
| 2720 | void InitEventArray(void *aMem, UINT aMaxEvents, modLR_type aModifiersLR) |
| 2721 | { |
| 2722 | sEventPB = (PlaybackEvent *)aMem; // Sets sEventSI too, since both are the same. |
| 2723 | sMaxEvents = aMaxEvents; |
| 2724 | sEventModifiersLR = aModifiersLR; |
| 2725 | sSendInputCursorPos.x = COORD_UNSPECIFIED; |
| 2726 | sSendInputCursorPos.y = COORD_UNSPECIFIED; |
| 2727 | sHooksToRemoveDuringSendInput = 0; |
| 2728 | sEventCount = 0; |
| 2729 | sAbortArraySend = false; // If KeyEvent() ever sets it to true, that allows us to send nothing at all rather than a partial send. |
| 2730 | sFirstCallForThisEvent = true; |
| 2731 | // The above isn't a local static inside PlaybackProc because PlaybackProc might get aborted in the |
| 2732 | // middle of a NEXT/SKIP pair by user pressing Ctrl-Esc, etc, which would make it unreliable. |
| 2733 | } |
| 2734 | |
| 2735 | |
| 2736 |
no outgoing calls
no test coverage detected