Share via


NotifyRouteChange

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function causes a notification to be sent to the caller whenever a change occurs in the IP routing table.

Syntax

DWORD NotifyRouteChange(
  PHANDLE Handle, 
  LPOVERLAPPED overlapped 
);

Parameters

  • Handle
    [in] Pointer to a handle to use in asynchronous notification. The application should close this handle by calling the CloseHandle when it is finished listening for events.
  • overlapped
    [in] Not supported in Windows Embedded CE.

Return Value

Returns NO_ERROR if successful. If the function fails, it returns an error code. For a complete list of error codes, see Error Values or the SDK header file Winerror.h.

Remarks

If the application specifies NULL for the Handle parameter, the call to this function blocks until a routing table change occurs.

Requirements

Header iphlpapi.h
Library Iphlpapi.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IP Helper Functions
NotifyAddrChange