Windows NT 4.0 source code leak
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.

70 lines
1.7 KiB

4 years ago
  1. [
  2. uuid (d3fbb514-0e3b-11cb-8fad-08002b1d29c3),
  3. version (1.0),
  4. pointer_default (unique)]
  5. interface NsiC
  6. {
  7. import"nsicom.idl";
  8. /*
  9. * N S I _ B I N D I N G _ L O O K U P _ B E G I N
  10. *
  11. * Create an import context for an interface and optionally an object.
  12. */
  13. void nsi_binding_lookup_begin
  14. (
  15. [in] UNSIGNED32 entry_name_syntax,
  16. [in] STRING_T entry_name,
  17. [in] NSI_INTERFACE_ID_T *if_spec,
  18. [in] NSI_UUID_P_T obj_uuid,
  19. [in] UNSIGNED32 binding_max_count,
  20. [in] UNSIGNED32 ignore,
  21. [out] NSI_NS_HANDLE_T *import_context,
  22. [out] UNSIGNED16 *status
  23. );
  24. /*
  25. * N S I _ B I N D I N G _ L O O K U P _ D O N E
  26. *
  27. * Delete an import context.
  28. */
  29. void nsi_binding_lookup_done
  30. (
  31. [in,out] NSI_NS_HANDLE_T *import_context,
  32. [out] UNSIGNED16 *status
  33. );
  34. /*
  35. * N S I _ B I N D I N G _ L O O K U P _ N E X T
  36. *
  37. * Look up an interface and optionally an object from a name-service
  38. * database and return a binding of a compatible server (if found).
  39. */
  40. void nsi_binding_lookup_next
  41. (
  42. [in] NSI_NS_HANDLE_T import_context,
  43. [in,out] NSI_BINDING_VECTOR_P_T *binding_vector,
  44. [out] UNSIGNED16 *status
  45. );
  46. /*
  47. * N S I _ M G M T _ H A N D L E _ E N T R Y _ S E T _ E X P _ A G E
  48. *
  49. * Set the maxium age that a cached entry can be returned through a lookup
  50. * context.
  51. */
  52. void nsi_mgmt_handle_set_exp_age
  53. (
  54. [in] NSI_NS_HANDLE_T inq_context,
  55. [in] UNSIGNED32 expiration_age,
  56. [out] UNSIGNED16 * status
  57. );
  58. }
  59.