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.

87 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. sfc.h
  5. Abstract:
  6. Header file for public SFC interfaces.
  7. Author:
  8. Wesley Witt (wesw) 2-Feb-1999
  9. Revision History:
  10. --*/
  11. #ifndef _SFC_
  12. #define _SFC_
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. #define SFC_DISABLE_NORMAL 0
  17. #define SFC_DISABLE_ASK 1
  18. #define SFC_DISABLE_ONCE 2
  19. #define SFC_DISABLE_SETUP 3
  20. #define SFC_DISABLE_NOPOPUPS 4
  21. #define SFC_SCAN_NORMAL 0
  22. #define SFC_SCAN_ALWAYS 1
  23. #define SFC_SCAN_ONCE 2
  24. #define SFC_SCAN_IMMEDIATE 3
  25. #define SFC_QUOTA_DEFAULT 50
  26. #define SFC_QUOTA_ALL_FILES ((ULONG)-1)
  27. #define SFC_IDLE_TRIGGER L"WFP_IDLE_TRIGGER"
  28. typedef struct _PROTECTED_FILE_DATA {
  29. WCHAR FileName[MAX_PATH];
  30. DWORD FileNumber;
  31. } PROTECTED_FILE_DATA, *PPROTECTED_FILE_DATA;
  32. BOOL
  33. WINAPI
  34. SfcGetNextProtectedFile(
  35. IN HANDLE RpcHandle, // must be NULL
  36. IN PPROTECTED_FILE_DATA ProtFileData
  37. );
  38. BOOL
  39. WINAPI
  40. SfcIsFileProtected(
  41. IN HANDLE RpcHandle, // must be NULL
  42. IN LPCWSTR ProtFileName
  43. );
  44. //
  45. // new APIs which are not currently supported, but are stubbed out
  46. //
  47. BOOL
  48. WINAPI
  49. SfpVerifyFile(
  50. IN LPCSTR pszFileName,
  51. IN LPSTR pszError,
  52. IN DWORD dwErrSize
  53. );
  54. #ifdef __cplusplus
  55. }
  56. #endif
  57. #endif // _SFC_