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.

77 lines
2.4 KiB

  1. /*++
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. pxypoolt.h
  5. Abstract:
  6. The pool tag definitions for PROXY mini redirector
  7. Author:
  8. Balan Sethu Raman (SethuR) - Created 2-March-95
  9. Revision History:
  10. This file contains all the pool tag definitions related to the PROXY mini redirector.
  11. The mechanism is intended to balance the number of pool tags to be used with the
  12. total number of tags available in the system.
  13. By specifying special flags the total number of tags consumed by the mini redirector
  14. can be controlled. For most builds the tags should be aliased such that about
  15. 3 tags are consumed by the mini redirector. In special builds the aliasing of tags
  16. will be suppressed, thereby consuming more tags to track down memory leaks easily.
  17. The following are the five major tags ....
  18. 1) PxUs -- the Proxy Mini upper structures.
  19. 2) PxRw -- the Proxy mini redirector read/write paths
  20. 3) PxMs -- the miscellanous category.
  21. --*/
  22. #ifndef _PROXYPOOLT_H_
  23. #define _PROXYPOOLT_H_
  24. #define MRXPROXY_US_POOLTAG ('SUxP')
  25. #define MRXPROXY_RW_POOLTAG ('wRxP')
  26. #define MRXPROXY_MISC_POOLTAG ('sMxP')
  27. extern ULONG MRxProxyExplodePoolTags;
  28. #define MRXPROXY_DEFINE_POOLTAG(ExplodedPoolTag,DefaultPoolTag) \
  29. ((MRxProxyExplodePoolTags == 0) ? (DefaultPoolTag) : (ExplodedPoolTag))
  30. #define MRXPROXY_FSCTL_POOLTAG MRXPROXY_DEFINE_POOLTAG('cFxP',MRXPROXY_MISC_POOLTAG)
  31. #define MRXPROXY_DIRCTL_POOLTAG MRXPROXY_DEFINE_POOLTAG('cDxP',MRXPROXY_MISC_POOLTAG)
  32. #define MRXPROXY_DEFROPEN_POOLTAG MRXPROXY_DEFINE_POOLTAG('ODxP',MRXPROXY_MISC_POOLTAG)
  33. #define MRXPROXY_ASYNCENGINECONTEXT_POOLTAG MRXPROXY_DEFINE_POOLTAG('EAxP',MRXPROXY_MISC_POOLTAG)
  34. #define MRXPROXY_VNETROOT_POOLTAG MRXPROXY_DEFINE_POOLTAG('rVxP',MRXPROXY_US_POOLTAG)
  35. #define MRXPROXY_SERVER_POOLTAG MRXPROXY_DEFINE_POOLTAG('rSxP',MRXPROXY_US_POOLTAG)
  36. #define MRXPROXY_NETROOT_POOLTAG MRXPROXY_DEFINE_POOLTAG('rNxP',MRXPROXY_US_POOLTAG)
  37. // NodeType Codes
  38. #if 0
  39. #define PROXY_EXCHANGE_CATEGORY (0xed)
  40. #define PROXY_CONNECTION_ENGINE_DB_CATEGORY (0xea)
  41. #define PROXY_SERVER_TRANSPORT_CATEGORY (0xeb)
  42. #define PROXY_EXCHANGE_NTC(x) \
  43. ((PROXY_EXCHANGE_CATEGORY << 8) | (x))
  44. #define PROXY_CONNECTION_ENGINE_NTC(x) \
  45. ((PROXY_CONNECTION_ENGINE_DB_CATEGORY << 8) | (x))
  46. #endif
  47. #define PROXY_NTC_ASYNCENGINE_CONTEXT ((USHORT)0xedd0)
  48. #endif _PROXYPOOLT_H_
  49.