Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1997 - 98, Microsoft Corporation
  3. Module Name:
  4. rtminfo.h
  5. Abstract:
  6. Contains defines related to getting info
  7. on various objects pointed to by handles.
  8. Author:
  9. Chaitanya Kodeboyina (chaitk) 04-Sep-1998
  10. Revision History:
  11. --*/
  12. #ifndef __ROUTING_RTMINFO_H__
  13. #define __ROUTING_RTMINFO_H__
  14. //
  15. // Macro to allocate the var-sized DestInfo structure
  16. //
  17. #define AllocDestInfo(_NumViews_) \
  18. (PRTM_DEST_INFO) AllocNZeroMemory(RTM_SIZE_OF_DEST_INFO(_NumViews_))
  19. //
  20. // Info Helper Functions
  21. //
  22. VOID
  23. GetDestInfo (
  24. IN PENTITY_INFO Entity,
  25. IN PDEST_INFO Dest,
  26. IN ULONG ProtocolId,
  27. IN RTM_VIEW_SET TargetViews,
  28. OUT PRTM_DEST_INFO DestInfo
  29. );
  30. VOID
  31. WINAPI
  32. GetRouteInfo (
  33. IN PDEST_INFO Dest,
  34. IN PROUTE_INFO Route,
  35. OUT PRTM_ROUTE_INFO RouteInfo
  36. );
  37. #endif //__ROUTING_RTMINFO_H__