SetWANEvent

BOOL __stdcall SetWANEvent ( HANDLE hOpen, HANDLE hEvent );

Return Value:
TRUE if call was successful, FALSE otherwise

Parameters:
hOpen
Specifies driver object open handle.

hEvent
Handle to user created Win32 event. Set it to NULL if you want to release event.

Remarks:
This member is a C-wrapper for CNdisApi::SetWANEvent. User application should create Win32 event (with CreateEvent API call) and pass event handle to this function. Helper driver will signal this event when WAN (dial-up, DSL, ADSL or etc.) connection is established or terminated.