Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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 NotifyAddrChangefunction 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 NotifyRouteChangefunction 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 NotifyAddrChangevariable and OVERLAPPEDmember.
Value | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Handle |
Pointer to a HANDLE variable that receives a handle to use in asynchronous notification. |
||||||||
overlapped |
Pointer to an OVERLAPPEDstructure 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 NotifyRouteChangevariable.
Value | Description |
---|---|
Handle |
Pointer to a HANDLE variable that receives a handle to use in asynchronous notification. |
overlapped |
Pointer to an OVERLAPPEDstructure that will notify the caller of any changes in the routing table. (See the NotifyAddrChangedescription above). |