Mensaje    Asunto: COMO usar WaitCommEvent Responder citando

necesito utilizar la funcion waitcommevent pero no me funciona , como puedo hacerlo ?