home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 August / Chip_2000-08_cd1.bin / sharewar / dvcpp / _SETUP.5 / Group3 / rpcnsi.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-03-08  |  7.4 KB  |  113 lines

  1. #ifndef _RPCNSI_H
  2. #define _RPCNSI_H
  3. typedef void *RPC_NS_HANDLE;
  4. #define RPC_C_NS_SYNTAX_DEFAULT 0
  5. #define RPC_C_NS_SYNTAX_DCE 3
  6. #define RPC_C_PROFILE_DEFAULT_ELT 0
  7. #define RPC_C_PROFILE_ALL_ELT 1
  8. #define RPC_C_PROFILE_MATCH_BY_IF 2
  9. #define RPC_C_PROFILE_MATCH_BY_MBR 3
  10. #define RPC_C_PROFILE_MATCH_BY_BOTH 4
  11. #define RPC_C_NS_DEFAULT_EXP_AGE -1
  12.  
  13. RPC_STATUS RPC_ENTRY RpcNsBindingExportA(unsigned long,unsigned char*,RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*);
  14. RPC_STATUS RPC_ENTRY RpcNsBindingUnexportA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID_VECTOR*);
  15. RPC_STATUS RPC_ENTRY RpcNsBindingLookupBeginA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID*,unsigned long,RPC_NS_HANDLE*);
  16. RPC_STATUS RPC_ENTRY RpcNsBindingLookupNext(RPC_NS_HANDLE,RPC_BINDING_VECTOR**);
  17. RPC_STATUS RPC_ENTRY RpcNsBindingLookupDone(RPC_NS_HANDLE*);
  18. RPC_STATUS RPC_ENTRY RpcNsGroupDeleteA(unsigned long,unsigned char*);
  19. RPC_STATUS RPC_ENTRY RpcNsGroupMbrAddA(unsigned long,unsigned char*,unsigned long,unsigned char*);
  20. RPC_STATUS RPC_ENTRY RpcNsGroupMbrRemoveA(unsigned long,unsigned char*,unsigned long,unsigned char*);
  21. RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqBeginA(unsigned long,unsigned char*,unsigned long,RPC_NS_HANDLE*);
  22. RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqNextA(RPC_NS_HANDLE,unsigned char**);
  23. RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqDone(RPC_NS_HANDLE*);
  24. RPC_STATUS RPC_ENTRY RpcNsProfileDeleteA(unsigned long,unsigned char*);
  25. RPC_STATUS RPC_ENTRY RpcNsProfileEltAddA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,unsigned char*,unsigned long,unsigned char*);
  26. RPC_STATUS RPC_ENTRY RpcNsProfileEltRemoveA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,unsigned char*);
  27. RPC_STATUS RPC_ENTRY RpcNsProfileEltInqBeginA(unsigned long,unsigned char*,unsigned long,RPC_IF_ID*,unsigned long,unsigned long,unsigned char*,RPC_NS_HANDLE*);
  28. RPC_STATUS RPC_ENTRY RpcNsProfileEltInqNextA(RPC_NS_HANDLE,RPC_IF_ID*,unsigned char**,unsigned long*,unsigned char**);
  29. RPC_STATUS RPC_ENTRY RpcNsProfileEltInqDone(RPC_NS_HANDLE*);
  30. RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqNext(IN  RPC_NS_HANDLE,OUT UUID*);
  31. RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqDone(IN OUT RPC_NS_HANDLE*);
  32. RPC_STATUS RPC_ENTRY RpcNsEntryExpandNameA(unsigned long,unsigned char*,unsigned char**);
  33. RPC_STATUS RPC_ENTRY RpcNsMgmtBindingUnexportA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,UUID_VECTOR*);
  34. RPC_STATUS RPC_ENTRY RpcNsMgmtEntryCreateA(unsigned long,unsigned char*);
  35. RPC_STATUS RPC_ENTRY RpcNsMgmtEntryDeleteA(unsigned long,unsigned char*);
  36. RPC_STATUS RPC_ENTRY RpcNsMgmtEntryInqIfIdsA(unsigned long,unsigned char*,RPC_IF_ID_VECTOR**);
  37. RPC_STATUS RPC_ENTRY RpcNsMgmtHandleSetExpAge(RPC_NS_HANDLE,unsigned long);
  38. RPC_STATUS RPC_ENTRY RpcNsMgmtInqExpAge(unsigned long*);
  39. RPC_STATUS RPC_ENTRY RpcNsMgmtSetExpAge(unsigned long);
  40. RPC_STATUS RPC_ENTRY RpcNsBindingImportNext(RPC_NS_HANDLE,RPC_BINDING_HANDLE*);
  41. RPC_STATUS RPC_ENTRY RpcNsBindingImportDone(RPC_NS_HANDLE*);
  42. RPC_STATUS RPC_ENTRY RpcNsBindingSelect(RPC_BINDING_VECTOR*,RPC_BINDING_HANDLE*);
  43. #ifndef UNICODE_ONLY
  44. RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqBeginA(unsigned long,unsigned char*,RPC_NS_HANDLE*);
  45. RPC_STATUS RPC_ENTRY RpcNsBindingImportBeginA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID*,RPC_NS_HANDLE*);
  46. #endif
  47. #ifdef RPC_UNICODE_SUPPORTED
  48. RPC_STATUS RPC_ENTRY RpcNsBindingExportW(unsigned long,unsigned short*,RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*);
  49. RPC_STATUS RPC_ENTRY RpcNsBindingUnexportW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID_VECTOR*);
  50. RPC_STATUS RPC_ENTRY RpcNsBindingLookupBeginW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID*,unsigned long,RPC_NS_HANDLE*);
  51. RPC_STATUS RPC_ENTRY RpcNsGroupDeleteW(unsigned long,unsigned short*);
  52. RPC_STATUS RPC_ENTRY RpcNsGroupMbrAddW(unsigned long,unsigned short*,unsigned long,unsigned short*);
  53. RPC_STATUS RPC_ENTRY RpcNsGroupMbrRemoveW(unsigned long,unsigned short*,unsigned long,unsigned short*);
  54. RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqBeginW(unsigned long,unsigned short*,unsigned long,RPC_NS_HANDLE*);
  55. RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqNextW(RPC_NS_HANDLE,unsigned short**);
  56. RPC_STATUS RPC_ENTRY RpcNsProfileDeleteW(unsigned long,unsigned short*);
  57. RPC_STATUS RPC_ENTRY RpcNsProfileEltAddW(unsigned long,unsigned short*, RPC_IF_ID*,unsigned long,unsigned short*,unsigned long,unsigned short*);
  58. RPC_STATUS RPC_ENTRY RpcNsProfileEltRemoveW(unsigned long,unsigned short*, RPC_IF_ID*,unsigned long,unsigned short*);
  59. RPC_STATUS RPC_ENTRY RpcNsProfileEltInqBeginW(unsigned long,unsigned short*, unsigned long,RPC_IF_ID*,unsigned long,unsigned long,unsigned short*, RPC_NS_HANDLE*);
  60. RPC_STATUS RPC_ENTRY RpcNsProfileEltInqNextW(RPC_NS_HANDLE,RPC_IF_ID*, unsigned short**,unsigned long*,unsigned short**);
  61. RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqBeginW(unsigned long,unsigned short*,RPC_NS_HANDLE*);
  62. RPC_STATUS RPC_ENTRY RpcNsEntryExpandNameW(unsigned long,unsigned short*,unsigned short**);
  63. RPC_STATUS RPC_ENTRY RpcNsMgmtBindingUnexportW(unsigned long,unsigned short*,RPC_IF_ID*,unsigned long,UUID_VECTOR*);
  64. RPC_STATUS RPC_ENTRY RpcNsMgmtEntryCreateW(unsigned long,unsigned short*);
  65. RPC_STATUS RPC_ENTRY RpcNsMgmtEntryDeleteW(unsigned long,unsigned short*);
  66. RPC_STATUS RPC_ENTRY RpcNsMgmtEntryInqIfIdsW(unsigned long,unsigned short , RPC_IF_ID_VECTOR**);
  67. RPC_STATUS RPC_ENTRY RpcNsBindingImportBeginW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID*,RPC_NS_HANDLE*);
  68. #endif /* RPC_UNICODE_SUPPORTED */
  69. #ifdef UNICODE
  70. #define RpcNsBindingLookupBegin RpcNsBindingLookupBeginW
  71. #define RpcNsBindingImportBegin RpcNsBindingImportBeginW
  72. #define RpcNsBindingExport RpcNsBindingExportW
  73. #define RpcNsBindingUnexport RpcNsBindingUnexportW
  74. #define RpcNsGroupDelete RpcNsGroupDeleteW
  75. #define RpcNsGroupMbrAdd RpcNsGroupMbrAddW
  76. #define RpcNsGroupMbrRemove RpcNsGroupMbrRemoveW
  77. #define RpcNsGroupMbrInqBegin RpcNsGroupMbrInqBeginW
  78. #define RpcNsGroupMbrInqNext RpcNsGroupMbrInqNextW
  79. #define RpcNsEntryExpandName RpcNsEntryExpandNameW
  80. #define RpcNsEntryObjectInqBegin RpcNsEntryObjectInqBeginW
  81. #define RpcNsMgmtBindingUnexport RpcNsMgmtBindingUnexportW
  82. #define RpcNsMgmtEntryCreate RpcNsMgmtEntryCreateW
  83. #define RpcNsMgmtEntryDelete RpcNsMgmtEntryDeleteW
  84. #define RpcNsMgmtEntryInqIfIds RpcNsMgmtEntryInqIfIdsW
  85. #define RpcNsProfileDelete RpcNsProfileDeleteW
  86. #define RpcNsProfileEltAdd RpcNsProfileEltAddW
  87. #define RpcNsProfileEltRemove RpcNsProfileEltRemoveW
  88. #define RpcNsProfileEltInqBegin RpcNsProfileEltInqBeginW
  89. #define RpcNsProfileEltInqNext RpcNsProfileEltInqNextW
  90. #else
  91. #define RpcNsBindingLookupBegin RpcNsBindingLookupBeginA
  92. #define RpcNsBindingImportBegin RpcNsBindingImportBeginA
  93. #define RpcNsBindingExport RpcNsBindingExportA
  94. #define RpcNsBindingUnexport RpcNsBindingUnexportA
  95. #define RpcNsGroupDelete RpcNsGroupDeleteA
  96. #define RpcNsGroupMbrAdd RpcNsGroupMbrAddA
  97. #define RpcNsGroupMbrRemove RpcNsGroupMbrRemoveA
  98. #define RpcNsGroupMbrInqBegin RpcNsGroupMbrInqBeginA
  99. #define RpcNsGroupMbrInqNext RpcNsGroupMbrInqNextA
  100. #define RpcNsEntryExpandName RpcNsEntryExpandNameA
  101. #define RpcNsEntryObjectInqBegin RpcNsEntryObjectInqBeginA
  102. #define RpcNsMgmtBindingUnexport RpcNsMgmtBindingUnexportA
  103. #define RpcNsMgmtEntryCreate RpcNsMgmtEntryCreateA
  104. #define RpcNsMgmtEntryDelete RpcNsMgmtEntryDeleteA
  105. #define RpcNsMgmtEntryInqIfIds RpcNsMgmtEntryInqIfIdsA
  106. #define RpcNsProfileDelete RpcNsProfileDeleteA
  107. #define RpcNsProfileEltAdd RpcNsProfileEltAddA
  108. #define RpcNsProfileEltRemove RpcNsProfileEltRemoveA
  109. #define RpcNsProfileEltInqBegin RpcNsProfileEltInqBeginA
  110. #define RpcNsProfileEltInqNext RpcNsProfileEltInqNextA
  111. #endif
  112. #endif
  113.