int hb_inkey( BOOL fWait, double dSeconds, int iEventMask ) { PHB_GT pGT; HB_TRACE( HB_TR_DEBUG, ( "hb_inkey(%d, %f, %d)", ( int ) fWait, dSeconds, iEventMask ) ); pGT = hb_gt_Base(); return pGT ? HB_GTSELF_INKEYGET( pGT, fWait, dSeconds, iEventMask ) : 0; }
int hb_inkey( HB_BOOL fWait, double dSeconds, int iEventMask ) { int iKey = 0; PHB_GT pGT; HB_TRACE( HB_TR_DEBUG, ( "hb_inkey(%d, %f, %d)", ( int ) fWait, dSeconds, iEventMask ) ); pGT = hb_gt_Base(); if( pGT ) { iKey = HB_GTSELF_INKEYGET( pGT, fWait, dSeconds, iEventMask ); hb_gt_BaseFree( pGT ); } return iKey; }