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.

88 lines
2.8 KiB

  1. //--------------------------------------------------------------------------
  2. //
  3. // Module Name: AWNETFAX.H
  4. //
  5. // Brief Description: This module contains declarations for the At Work
  6. // Fax Net Fax.
  7. //
  8. // Author: Kent Settle (kentse)
  9. // Created: 13-Sep-1994
  10. //
  11. // Copyright (c) 1994 Microsoft Corporation
  12. //
  13. //--------------------------------------------------------------------------
  14. #ifndef _AWNETFAX_H_
  15. #define _AWNETFAX_H_
  16. #ifndef LPTSTR
  17. #ifdef UNICODE
  18. typedef LPWSTR PTSTR, LPTSTR;
  19. #else
  20. typedef LPSTR PTSTR, LPTSTR;
  21. #endif
  22. #endif
  23. typedef struct _SERVERCHEAPTIME {
  24. SYSTEMTIME stStart;
  25. SYSTEMTIME stEnd;
  26. } SERVERCHEAPTIME, FAR *LPSERVERCHEAPTIME;
  27. //--------------------------------------------------------------------------
  28. // BOOL NetInitServer(LPTSTR lpstrTransportDir, LPTSTR lpstrSharedDir,
  29. // LPTSTR lpstrPhoneNumber, LPTSTR lpstrModemName,
  30. // LPMODEMCAPS lpModemCaps, LPTSTR lpstrDefRecipAddr,
  31. // LPTSTR lpstrDefRecipName)
  32. //
  33. // This function is called to initialize the server machine.
  34. //
  35. // Parameters
  36. // lpstrTransportDir Pointer to string specifying the directory where our
  37. // MAPI transport will be placing it's files.
  38. //
  39. // lpstrSharedDir Pointer to string specifying the directory which
  40. // has been shared. This is the directory into which
  41. // all the server status files will be placed. This is
  42. // also the directory into which the client will be
  43. // looking.
  44. //
  45. // lpstrPhoneNumber Pointer to string specifying modem's phone number.
  46. //
  47. // lpstrModemName Pointer to string specifying modem's name.
  48. //
  49. // lpModemCaps Pointer to MODEMCAPS structure.
  50. //
  51. // lpstrDefRecipAddr Pointer to string specifying default recipient addr.
  52. //
  53. // lpstrDefRecipName Pointer to string specifying default recipeint name.
  54. //
  55. // Returns
  56. // This function returns TRUE for success, FALSE otherwise.
  57. //
  58. // History:
  59. // 14-Jul-1994 -by- Kent Settle (kentse)
  60. // Cleaned up.
  61. //--------------------------------------------------------------------------
  62. extern BOOL NetInitServer(LPTSTR, LPTSTR, LPTSTR, LPTSTR, LPMODEMCAPS,
  63. LPTSTR, LPTSTR, SERVERCHEAPTIME *);
  64. //--------------------------------------------------------------------------
  65. // BOOL NetDeinitServer(VOID)
  66. //
  67. // This function is called to deinitialize the server machine.
  68. //
  69. // Parameters
  70. // None.
  71. //
  72. // Returns
  73. // This function returns TRUE for success, FALSE otherwise.
  74. //
  75. // History:
  76. // 14-Jul-1994 -by- Kent Settle (kentse)
  77. // Cleaned up.
  78. //--------------------------------------------------------------------------
  79. extern BOOL NetDeinitServer(VOID);
  80. #endif // _AWNETFAX_H_