home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / rpc / ns / cds / nsiclt.idl < prev    next >
Encoding:
Text File  |  1995-11-14  |  1.8 KB  |  71 lines

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