Enumerating Registered Entities

After a client has registered, the client can obtain a list of all the other clients that have registered with the routing table manager. Some clients must perform certain operations if the presence of a particular type of client is detected.

The client can call the RtmGetRegisteredEntities function. A buffer of RTM_ENTITY_INFO structures is returned. After the client has processed this information, the client should call RtmReleaseEntities to release the handles in the RTM_ENTITY_INFO structures.

If the routing table manager client supplied a callback function in the call to RtmRegisterEntity, the client is notified when any other clients register or unregister.

For sample code that shows how to use these functions, see Enumerate the Registered Entities and Use the Event Notification Callback.