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.

83 lines
2.1 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: nsiclt.idl
  8. //
  9. //--------------------------------------------------------------------------
  10. [
  11. uuid (d3fbb514-0e3b-11cb-8fad-08002b1d29c3),
  12. version (1.0),
  13. pointer_default (unique)]
  14. interface NsiC
  15. {
  16. import"nsicom.idl";
  17. /*
  18. * N S I _ B I N D I N G _ L O O K U P _ B E G I N
  19. *
  20. * Create an import context for an interface and optionally an object.
  21. */
  22. void nsi_binding_lookup_begin
  23. (
  24. #ifdef __CLIENT__ // workaround for midl bug.
  25. [in] handle_t function_explicit_handle,
  26. #endif
  27. [in] UNSIGNED32 entry_name_syntax,
  28. [in] STRING_T entry_name,
  29. [in] NSI_INTERFACE_ID_T *if_spec,
  30. [in] NSI_UUID_P_T obj_uuid,
  31. [in] UNSIGNED32 binding_max_count,
  32. [in] UNSIGNED32 ignore,
  33. [out] NSI_NS_HANDLE_T *import_context,
  34. [out] UNSIGNED16 *status
  35. );
  36. /*
  37. * N S I _ B I N D I N G _ L O O K U P _ D O N E
  38. *
  39. * Delete an import context.
  40. */
  41. void nsi_binding_lookup_done
  42. (
  43. [in,out] NSI_NS_HANDLE_T *import_context,
  44. [out] UNSIGNED16 *status
  45. );
  46. /*
  47. * N S I _ B I N D I N G _ L O O K U P _ N E X T
  48. *
  49. * Look up an interface and optionally an object from a name-service
  50. * database and return a binding of a compatible server (if found).
  51. */
  52. void nsi_binding_lookup_next
  53. (
  54. [in] NSI_NS_HANDLE_T import_context,
  55. [in,out] NSI_BINDING_VECTOR_P_T *binding_vector,
  56. [out] UNSIGNED16 *status
  57. );
  58. /*
  59. * 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
  60. *
  61. * Set the maxium age that a cached entry can be returned through a lookup
  62. * context.
  63. */
  64. void nsi_mgmt_handle_set_exp_age
  65. (
  66. [in] NSI_NS_HANDLE_T inq_context,
  67. [in] UNSIGNED32 expiration_age,
  68. [out] UNSIGNED16 * status
  69. );
  70. }
  71.