mirror of
https://github.com/vxunderground/VX-API
synced 2026-06-06 16:54:55 +00:00
e56f07d798
2.0.607
23 lines
281 B
C++
23 lines
281 B
C++
#include "Win32Helper.h"
|
|
|
|
DWORD HashStringLoseLoseA(_In_ LPCSTR String)
|
|
{
|
|
ULONG Hash = 0;
|
|
INT c;
|
|
|
|
while (c = *String++)
|
|
Hash += c;
|
|
|
|
return Hash;
|
|
}
|
|
|
|
DWORD HashStringLoseLoseW(_In_ LPCWSTR String)
|
|
{
|
|
ULONG Hash = 0;
|
|
INT c;
|
|
|
|
while (c = *String++)
|
|
Hash += c;
|
|
|
|
return Hash;
|
|
} |