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.

75 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. sfcfiles.h
  5. Abstract:
  6. Implementation of protected DLLs.
  7. Author:
  8. Wesley Witt (wesw) 18-Dec-1998
  9. Revision History:
  10. Andrew Ritz (andrewr) 2-Jul-1999 : added comments
  11. --*/
  12. #pragma once
  13. //
  14. // structures
  15. //
  16. typedef struct _PROTECT_FILE_ENTRY {
  17. PWSTR SourceFileName; // will be NULL if file is not renamed on installation
  18. PWSTR FileName; // destination filename plus full path to file
  19. PWSTR InfName; // inf file which provides layout information
  20. // may be NULL if we use the default layout file
  21. } PROTECT_FILE_ENTRY, *PPROTECT_FILE_ENTRY;
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. //
  26. // prototypes
  27. //
  28. NTSTATUS
  29. SfcGetFiles(
  30. OUT PPROTECT_FILE_ENTRY *Files,
  31. OUT PULONG FileCount
  32. );
  33. NTSTATUS
  34. pSfcGetFilesList(
  35. IN ULONG Mask,
  36. OUT PPROTECT_FILE_ENTRY *Files,
  37. OUT PULONG FileCount
  38. );
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42. //
  43. // define valid mask bits for pSfcGetFilesList Mask parameter
  44. //
  45. #define SFCFILESMASK_PROFESSIONAL 0x00000000
  46. #define SFCFILESMASK_PERSONAL 0x00000001
  47. #define SFCFILESMASK_SERVER 0x00000100
  48. #define SFCFILESMASK_ADVSERVER 0x00010000
  49. #define SFCFILESMASK_DTCSERVER 0x01000000
  50. #define SFCFILESMASK_SBSERVER 0x00000010
  51. #define SFCFILESMASK_BLASERVER 0x00001000
  52. typedef NTSTATUS (*PSFCGETFILES)(PPROTECT_FILE_ENTRY*,PULONG);