hash.cpp

#include "headers.h"

ULONG ComputeHash(const WCHAR * psz)
{
AssertReadString(psz);
ULONG hash = 0;

while (*psz != '
{
hash = 17 * hash + *psz;
++psz;
}
return hash;
}