Prototype

BOOL WaitWhileAttrib(int Row, int Col, unsigned char AttribDatum,
       unsigned char MskDatum= 0xFF, PS_PLANE plane = FieldPlane,
       long TimeOut = INFINITE, BOOL bWaitForIR = TRUE)