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.

55 lines
1.1 KiB

  1. /********************************************************************/
  2. /** Copyright(c) 1989 Microsoft Corporation. **/
  3. /********************************************************************/
  4. //***
  5. //
  6. // Filename: rpcbind.c
  7. //
  8. // Description: Contains the RPC bind and un-bind routines for the AFP
  9. // Admin. client-side APIs.
  10. //
  11. // History:
  12. // June 11,1992. NarenG Created original version.
  13. //
  14. #include "client.h"
  15. //**
  16. //
  17. // Call: AFPSVC_HANDLE_bind
  18. //
  19. // Returns: The binding handle is returned to the stub routine. If the
  20. // binding is unsuccessful, a NULL will be returned.
  21. //
  22. // Description: This routine will simply return what was passed to it. The
  23. // RPC runtime will pass it a handle of the binding that was
  24. // obtained by calling AfpRpcBind.
  25. //
  26. handle_t
  27. AFPSVC_HANDLE_bind(
  28. IN AFPSVC_HANDLE hServer
  29. )
  30. {
  31. return( (handle_t)hServer );
  32. }
  33. //**
  34. //
  35. // Call: AFPSVC_HANDLE_unbind
  36. //
  37. // Returns: none
  38. //
  39. // Description: Unbinds from the RPC interface.
  40. //
  41. void
  42. AFPSVC_HANDLE_unbind(
  43. IN AFPSVC_HANDLE hServer,
  44. IN handle_t hBinding
  45. )
  46. {
  47. AFP_UNREFERENCED( hServer );
  48. AFP_UNREFERENCED( hBinding );
  49. return;
  50. }