Leaked source code of windows server 2003
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.

60 lines
2.3 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // File Name: fxocFile.h
  4. //
  5. // Abstract: Header file used by Fax File source files
  6. //
  7. // Environment: Windows XP / User Mode
  8. //
  9. // Copyright (c) 2000 Microsoft Corporation
  10. //
  11. // Revision History:
  12. //
  13. // Date: Developer: Comments:
  14. // ----- ---------- ---------
  15. // 15-Mar-2000 Oren Rosenbloom (orenr) Created
  16. //////////////////////////////////////////////////////////////////////////////
  17. #ifndef _FXOCFILE_H_
  18. #define _FXOCFILE_H_
  19. struct FAX_SHARE_Description
  20. {
  21. TCHAR szPath[MAX_PATH]; // <path to folder on which share is created>
  22. TCHAR szName[MAX_PATH]; // <name of share as it appears to the user>
  23. TCHAR szComment[MAX_PATH]; // <share comment as it appears to the user>
  24. INT iPlatform; // <platform on which share should be created>
  25. PSECURITY_DESCRIPTOR pSD; // <Security Descriptor to apply to share>
  26. FAX_SHARE_Description();
  27. ~FAX_SHARE_Description();
  28. };
  29. struct FAX_FOLDER_Description
  30. {
  31. TCHAR szPath[MAX_PATH]; // <path to folder to create>
  32. INT iPlatform; // <platform on which share should be created>
  33. PSECURITY_DESCRIPTOR pSD; // <Security Descriptor to apply to share>
  34. INT iAttributes; // <attributes to apply to the folder - optional>
  35. FAX_FOLDER_Description();
  36. ~FAX_FOLDER_Description();
  37. };
  38. DWORD fxocFile_Init(void);
  39. DWORD fxocFile_Term(void);
  40. DWORD fxocFile_Install(const TCHAR *pszSubcomponentId,
  41. const TCHAR *pszInstallSection);
  42. DWORD fxocFile_Uninstall(const TCHAR *pszSubcomponentId,
  43. const TCHAR *pszUninstallSection);
  44. DWORD fxocFile_CalcDiskSpace(const TCHAR *pszSubcomponentId,
  45. BOOL bIsBeingAdded,
  46. HDSKSPC DiskSpace);
  47. DWORD fxocFile_ProcessDirectories(const TCHAR *pszSection,
  48. LPCTSTR pszINFKeyword);
  49. DWORD fxocFile_ProcessShares(const TCHAR *pszSection);
  50. #endif // _FAXOCM_H_