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.

34 lines
813 B

  1. /*===================================================================
  2. Microsoft Denali
  3. Microsoft Confidential.
  4. Copyright 1996 Microsoft Corporation. All Rights Reserved.
  5. Component: Hash table for Script Manager
  6. File: SMHash.h
  7. Owner: AndrewS
  8. This is the Link list and Hash table for use by the Script Manager only
  9. ===================================================================*/
  10. #ifndef SMHASH_H
  11. #define SMHASH_H
  12. #include "LinkHash.h"
  13. /*
  14. * C S M H a s h
  15. *
  16. * CSMHash is identical to CHashTable, but AddElem has differing behavior.
  17. */
  18. class CSMHash : public CLinkHash
  19. {
  20. public:
  21. CLruLinkElem *AddElem(CLruLinkElem *pElem);
  22. CLruLinkElem *FindElem(const void *pKey, int cbKey, PROGLANG_ID proglang_id, DWORD dwInstanceID, BOOL fCheckLoaded);
  23. };
  24. #endif // SMHASH_H