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.

54 lines
1.8 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // File Name: fxocUtil.h
  4. //
  5. // Abstract: Header file used by Utility 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 _FXOCUTIL_H_
  18. #define _FXOCUTIL_H_
  19. DWORD fxocUtil_Init(void);
  20. DWORD fxocUtil_Term(void);
  21. DWORD fxocUtil_GetUninstallSection(const TCHAR *pszSection,
  22. TCHAR *pszValue,
  23. DWORD dwNumBufChars);
  24. DWORD fxocUtil_GetKeywordValue(const TCHAR *pszSection,
  25. const TCHAR *pszKeyword,
  26. TCHAR *pszValue,
  27. DWORD dwNumBufChars);
  28. DWORD fxocUtil_DoSetup(HINF hInf,
  29. const TCHAR *pszSection,
  30. BOOL bInstall,
  31. DWORD dwFlags,
  32. const TCHAR *pszFnName);
  33. BOOL fxocUtil_CreateNetworkShare(const FAX_SHARE_Description* fsdShare);
  34. BOOL fxocUtil_DeleteNetworkShare(LPCWSTR lpcwstrShareName);
  35. DWORD fxocUtil_SearchAndExecute
  36. (
  37. const TCHAR* pszInstallSection,
  38. const TCHAR* pszSearchKey,
  39. UINT Flags,
  40. HSPFILEQ hQueue
  41. );
  42. DWORD SetDirSecurity(LPTSTR lpszFolder, LPCTSTR lpszSD);
  43. DWORD SetDirSecurityFromReg(LPCTSTR lpszKey, LPCTSTR lpszVal, LPCTSTR lpszSD);
  44. #endif // _FXOCUTIL_H_