i wanna write a program to be launched immediate once it's connected.
Posted on 2001-01-10 03:20:00 by ___
The RasConnectionNotification function specifies an event object that the system sets to the signaled state when a RAS connection is created or terminated
Posted on 2001-01-10 03:53:00 by Iczelion
High, I use this in response to a WM_Timer message. Code snippet: Timer_RasEnumConnections: mov TimerBufferSize,10000h ; mov eax,OFFSET TimerBuffer ; mov ebx,19Ch ; ! mov ,ebx ; ;------------------------------------------------------------------------------ ; API "RasEnumConnections" lists all active Remote Access Service connections. ;------------------------------------------------------------------------------ push OFFSET ActiveRAS_Connections;lpcConnections, # connections written buff push OFFSET TimerBufferSize ;lpcb, size in bytes of buffer push eax ;lprasconn, buffer receive connections data call RasEnumConnectionsA ;- API Function - cmp ActiveRAS_Connections,1h ; jae Timer_LED_Online ; Timer_LED_Offline: so long Test
Posted on 2001-01-10 11:34:00 by Test Department