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.

85 lines
1.5 KiB

  1. //
  2. // Interface Attributes
  3. //
  4. [
  5. uuid(83da7c00-e84f-11d2-9807-00c04f8ec850),
  6. version(2.0),
  7. #ifdef __midl
  8. ms_union,
  9. #endif // __midl
  10. pointer_default(unique)
  11. ]
  12. //
  13. // Interface Keyword
  14. //
  15. interface sfcapi
  16. //
  17. // Interface Body
  18. //
  19. {
  20. import "imports.idl";
  21. error_status_t
  22. GetNextProtectedFile(
  23. [in] handle_t hBinding,
  24. [in] DWORD FileNumber,
  25. [in, out, unique, size_is(,*FileNameSize)] LPBYTE *FileName,
  26. [in,out] LPDWORD FileNameSize
  27. );
  28. error_status_t
  29. IsFileProtected(
  30. [in] handle_t hBinding,
  31. [in,string,unique] PCWSTR ProtFileName
  32. );
  33. error_status_t
  34. FileException(
  35. [in] handle_t hBinding,
  36. [in,string,unique] PCWSTR FileName,
  37. [in] DWORD ExpectedChangeType
  38. );
  39. error_status_t
  40. InitiateScan(
  41. [in] handle_t hBinding,
  42. [in] DWORD ScanWhen
  43. );
  44. error_status_t
  45. PurgeCache(
  46. [in] handle_t hBinding
  47. );
  48. error_status_t
  49. SetCacheSize(
  50. [in] handle_t hBinding,
  51. [in] DWORD NewSize
  52. );
  53. error_status_t
  54. SetDisable(
  55. [in] handle_t hBinding,
  56. [in] DWORD NewValue
  57. );
  58. error_status_t
  59. InstallProtectedFiles(
  60. [in] handle_t hBinding,
  61. [in, unique, size_is(FileNamesSize)] const LPBYTE FileNames,
  62. [in] DWORD FileNamesSize,
  63. [in, out, unique, size_is(,*BufferSize)] LPBYTE *InstallStatus,
  64. [in,out] LPDWORD BufferSize,
  65. [out] LPDWORD Count,
  66. [in] BOOL AllowUI,
  67. [in, string, unique] PCWSTR ClassName,
  68. [in, string, unique] PCWSTR WindowName
  69. );
  70. }