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.

118 lines
2.1 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. faxcfg.h
  5. Abstract:
  6. Public interface to the fax configuration DLL
  7. Environment:
  8. Windows NT fax configuration applet
  9. Revision History:
  10. 05/22/96 -davidx-
  11. Created it.
  12. dd-mm-yy -author-
  13. description
  14. Note:
  15. The fax configuration DLL is not thread-safe. Make sure you're not
  16. using it simultaneously from multiples of a single process.
  17. --*/
  18. #ifndef _FAXCFG_H_
  19. #define _FAXCFG_H_
  20. //
  21. // Fax configuration types
  22. //
  23. #define FAXCONFIG_CLIENT 0
  24. #define FAXCONFIG_SERVER 1
  25. #define FAXCONFIG_WORKSTATION 2
  26. //
  27. // Initialize the fax configuration DLL
  28. //
  29. // Parameters:
  30. //
  31. // pServerName - Specifies the name of the fax server machine.
  32. // Pass NULL for local machine.
  33. //
  34. // Return value:
  35. //
  36. // -1 - An error has occurred
  37. // FAXCONFIG_CLIENT -
  38. // FAXCONFIG_SERVER -
  39. // FAXCONFIG_WORKSTATION - Indicates the type of configuration the user can run
  40. //
  41. INT
  42. FaxConfigInit(
  43. LPTSTR pServerName,
  44. BOOL CplInit
  45. );
  46. //
  47. // De-initialize the fax configuration DLL
  48. //
  49. // You should call this function after you're done using the
  50. // fax configuration DLL.
  51. //
  52. VOID
  53. FaxConfigCleanup(
  54. VOID
  55. );
  56. //
  57. // Get an array of handles to client/server/workstation configuration pages
  58. //
  59. // Parameters:
  60. //
  61. // phPropSheetPages - Specifies a buffer for storing property page handles
  62. // count - Specifies the maximum number of handles the input buffer can hold
  63. //
  64. // Return value:
  65. //
  66. // -1 - An error has occurred
  67. // >0 - Total number of configuration pages available
  68. //
  69. // Note:
  70. //
  71. // To figure out how large the input buffer should be, the caller can
  72. // first call these functions with phPropSheetPages set to NULL and
  73. // count set to 0.
  74. //
  75. INT
  76. FaxConfigGetClientPages(
  77. HPROPSHEETPAGE *phPropSheetPages,
  78. INT count
  79. );
  80. INT
  81. FaxConfigGetServerPages(
  82. HPROPSHEETPAGE *phPropSheetPages,
  83. INT count
  84. );
  85. INT
  86. FaxConfigGetWorkstationPages(
  87. HPROPSHEETPAGE *phPropSheetPages,
  88. INT count
  89. );
  90. #endif // !_FAXCFG_H_