Source code of Windows XP (NT5)
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.

97 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. lookup.h
  5. Abstract:
  6. contains prototypes for functions in lookup.c
  7. Author:
  8. Kanwaljit Marok (kmarok) 01-March-2000
  9. Revision History:
  10. --*/
  11. #ifndef _LOOKUP_H_
  12. #define _LOOKUP_H_
  13. //
  14. // this structure contains all the relevant pointers after
  15. // the lookup blob is loaded in memory
  16. //
  17. typedef struct _BLOB_INFO
  18. {
  19. //
  20. // Pointer to Start of blob in memory
  21. //
  22. PBYTE LookupBlob;
  23. //
  24. // Pointer to Start of path tree in memory
  25. //
  26. PBYTE LookupTree;
  27. //
  28. // Pointer to Start of hash list in memory
  29. //
  30. PBYTE LookupList;
  31. //
  32. // Default type of the node.
  33. //
  34. DWORD DefaultType;
  35. } BLOB_INFO, * PBLOB_INFO;
  36. //
  37. // lookup function prototypes
  38. //
  39. NTSTATUS
  40. SrLoadLookupBlob(
  41. IN PUNICODE_STRING pFileName,
  42. IN PDEVICE_OBJECT pTargetDevice,
  43. OUT PBLOB_INFO pBlobInfo
  44. );
  45. NTSTATUS
  46. SrReloadLookupBlob(
  47. IN PUNICODE_STRING pFileName,
  48. IN PDEVICE_OBJECT pTargetDevice,
  49. IN PBLOB_INFO pBlobInfo
  50. );
  51. NTSTATUS
  52. SrFreeLookupBlob(
  53. IN PBLOB_INFO pBlobInfo
  54. );
  55. NTSTATUS
  56. SrIsExtInteresting(
  57. IN PUNICODE_STRING pszPath,
  58. OUT PBOOLEAN pInteresting
  59. );
  60. NTSTATUS
  61. SrIsPathInteresting(
  62. IN PUNICODE_STRING pszFullPath,
  63. IN PUNICODE_STRING pszVolPrefix,
  64. IN BOOLEAN IsDirectory,
  65. OUT PBOOLEAN pInteresting
  66. );
  67. #endif // _LOOKUP_H_