Ok... I made a communication program
and I want to add a Cancel button...
But I don't understand how it works...
Here's what I know:
In the MdmInfoType struct that contains modem infomation
theres a variable called modemP->canProcP = PrvUserCanProc;
( I assume it mean UserCancelProcedure )
This function is supposed to stop the modem when its trying to connect.
There was an exemple on www.palmos.com/dev called SerCom.c
and its ussed. Here it is...
static Int PrvUserCanProc(DWord userRef)
{
return( SyncStatus.cancelPending );
}
How can I use this it ???
I tried copying it in my code but the SyncStatus.CancelPending were
undefiened...
Thanx for the help !!
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Patrick Ouellet - Programmeur
[EMAIL PROTECTED]
Recherche & Devloppement
Les Entreprise Microtec inc.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/