Leaked source code of windows server 2003
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.

90 lines
1.6 KiB

  1. /*
  2. File: rpbk.h
  3. Defines functions that operate on the router phonebook portions
  4. of the mpr structures.
  5. */
  6. #ifndef __MPRDIM_RPBK_H
  7. #define __MPRDIM_RPBK_H
  8. //
  9. // Utilities
  10. //
  11. DWORD
  12. RpbkGetPhonebookPath(
  13. OUT PWCHAR* ppszPath);
  14. DWORD
  15. RpbkFreePhonebookPath(
  16. IN PWCHAR pszPath);
  17. //
  18. // Entry api's
  19. //
  20. DWORD
  21. RpbkOpenEntry(
  22. IN ROUTER_INTERFACE_OBJECT* pIfObject,
  23. OUT PHANDLE phEntry );
  24. DWORD
  25. RpbkCloseEntry(
  26. IN HANDLE hEntry );
  27. DWORD
  28. RpbkSetEntry(
  29. IN DWORD dwLevel,
  30. IN LPBYTE pInterfaceData );
  31. DWORD
  32. RpbkDeleteEntry(
  33. IN PWCHAR pszInterfaceName );
  34. DWORD
  35. RpbkEntryToIfDataSize(
  36. IN HANDLE hEntry,
  37. IN DWORD dwLevel,
  38. OUT LPDWORD lpdwcbSizeOfData );
  39. DWORD
  40. RpbkEntryToIfData(
  41. IN HANDLE hEntry,
  42. IN DWORD dwLevel,
  43. OUT LPBYTE pInterfaceData );
  44. //
  45. // Subentry api's
  46. //
  47. DWORD
  48. RpbkOpenSubEntry(
  49. IN ROUTER_INTERFACE_OBJECT* pIfObject,
  50. IN DWORD dwIndex,
  51. OUT PHANDLE phSubEntry );
  52. DWORD
  53. RpbkCloseSubEntry(
  54. IN HANDLE hSubEntry );
  55. DWORD
  56. RpbkSetSubEntry(
  57. IN PWCHAR pszInterface,
  58. IN DWORD dwIndex,
  59. IN DWORD dwLevel,
  60. OUT LPBYTE pInterfaceData );
  61. DWORD
  62. RpbkSubEntryToDevDataSize(
  63. IN HANDLE hSubEntry,
  64. IN DWORD dwLevel,
  65. OUT LPDWORD lpdwcbSizeOfData );
  66. DWORD
  67. RpbkSubEntryToDevData(
  68. IN HANDLE hSubEntry,
  69. IN DWORD dwLevel,
  70. OUT LPBYTE pDeviceData );
  71. #endif