Receiving Notification of Network Events (Windows CE 5.0)
Use the following functions to ensure that an application receives notification of certain network events.
Note These functions block the application until notification is received.
The NotifyAddrChange function enables an application to request notification of any change that occurs in the table that maps IP addresses to interfaces on the local computer.
Similarly, the NotifyRouteChange function enables an application to request notification of any change that occurs in the IP routing table.
The notifications provided by these functions do not specify what changed. They simply specify that something changed. Use other IP Helper functions to determine the exact nature of the change.
The following table describes each NotifyAddrChange variable and OVERLAPPED member.
Value | Description |
---|---|
Handle | Pointer to a HANDLE variable that receives a handle to use in asynchronous notification. |
overlapped | Pointer to an OVERLAPPED structure that will notify the caller of any changes in the table that maps IP addresses to interfaces. |
OVERLAPPED (structure) | InternalHigh
Offset
OffsetHigh
hEvent
|
The following table describes each NotifyRouteChange variable.
Value | Description |
---|---|
Handle | Pointer to a HANDLE variable that receives a handle to use in asynchronous notification. |
overlapped | Pointer to an OVERLAPPED structure that will notify the caller of any changes in the routing table. (See the NotifyAddrChange description above). |
See Also
Send Feedback on this topic to the authors