home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / dbmsg / mapi / remote.srv / rmsrpc.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-11  |  1.4 KB  |  61 lines

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. //  File Name 
  4. //      RMSRPC.CPP
  5. //
  6. //  Description
  7. //      This file implements all the remote functions available to client
  8. //      WINDS public folder store providers. 
  9. //      
  10. //  Author
  11. //      Irving De la Cruz
  12. //
  13. //  Revision: 1.7
  14. //
  15. // Written for Microsoft Windows Developer Support
  16. // Copyright (c) 1995-1996 Microsoft Corporation. All rights reserved.
  17. //
  18. #include "_WINDS.H"
  19. #include <RPC.H>
  20. #include "WINDS.H"     // Header file generated by the MIDL compiler
  21.  
  22. ///////////////////////////////////////////////////////////////////////////////
  23. //    RemoteGetPublicFoldersList()
  24. //
  25. //    Parameters
  26. //
  27. //    Purpose
  28. //
  29. //    Return Value
  30. //
  31. long RemoteGetPublicFoldersList (short nFlags, long * pPipeNumber)
  32. {
  33.     long lResult = GetServiceState();
  34.     if (lResult)
  35.     {
  36.         return lResult;
  37.     }
  38.     return lResult;
  39. }
  40.  
  41. ///////////////////////////////////////////////////////////////////////////////
  42. //    RemoteGetPublicFolderMessages()
  43. //
  44. //    Parameters
  45. //
  46. //    Purpose
  47. //
  48. //    Return Value
  49. //
  50. long RemoteGetPublicFolderMessages (short nFlags, unsigned long ulFolderID, long * pPipeNumber)
  51. {
  52.     long lResult = GetServiceState();
  53.     if (lResult)
  54.     {
  55.         return lResult;
  56.     }
  57.     return lResult;
  58. }
  59.  
  60. // End of file for RMSRPC.CPP
  61.