void HangUpCall()
{
RWsSession ws;
ws.Connect();
TRawEvent ev1;
ev1.Set(TRawEvent::EKeyDown, EStdKeyNo);
ws.SimulateRawEvent(ev1); //
CAPABILITY Req. SwEvent
User::After(1000000);
TRawEvent ev2;
ev2.Set(TRawEvent::EKeyUp, EStdKeyNo);
ws.SimulateRawEvent(ev2); //
CAPABILITY Req. SwEvent
ws.Close();
}
阅读(798) | 评论(0) | 转发(0) |