The maximum length of time in milliseconds to wait. This parameter is
optional. The default is INFINITE.
BOOL bWaitForIR
If this value is true, after meeting the wait condition the function
will wait until the OIA indicates the PS is ready to accept input. This parameter
is optional and is defaulted to TRUE.
BOOL bCaseSens
If this value is True, the wait condition is verified as case-sensitive.
This parameter is optional. The default is TRUE.