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 / nsisvr.idl < prev    next >
Encoding:
Text File  |  1995-11-14  |  1.2 KB  |  45 lines

  1. [
  2.  uuid (d6d70ef0-0e3b-11cb-acc3-08002b1d29c3),
  3.  version (1.0),
  4.  pointer_default (unique)
  5. ]
  6. interface NsiS
  7. {
  8.  
  9. import"nsicom.idl";
  10.  
  11.  
  12. /*
  13.  * N S I _ B I N D I N G _ E X P O R T
  14.  *
  15.  * Export a name service database entry with multiple binding handles
  16.  * and multiple objects for a server.
  17.  */
  18.  
  19. void nsi_binding_export
  20.     (
  21.     [in]  UNSIGNED32                        entry_name_syntax,
  22.     [in]  STRING_T                          entry_name,
  23.     [in]  NSI_INTERFACE_ID_T              * interface_object,
  24.     [in]  NSI_SERVER_BINDING_VECTOR_P_T     binding,
  25.     [in]  NSI_UUID_VECTOR_P_T               object_uuid_vec,
  26.     [out] UNSIGNED16                      * status
  27.     );
  28.  
  29. /*
  30.  * N S I _ B I N D I N G _ U N E X P O R T
  31.  *
  32.  * Removes the binding handles for an interface and/or objects from an
  33.  * entry in the name service database.
  34.  */
  35.  
  36. void nsi_binding_unexport
  37.     (
  38.     [in]  UNSIGNED32                        entry_name_syntax,
  39.     [in]  STRING_T                          entry_name,
  40.     [in]  NSI_INTERFACE_ID_T              * interface_object,
  41.     [in]  NSI_UUID_VECTOR_P_T               object_uuid_vec,
  42.     [out] UNSIGNED16                      * status
  43.     );
  44. }
  45.