Group: Shell Lightweight Utility APIs -- Path Functions - Library: shlwapi
Creating two-byte hashes for a list of URLs
HRESULT UrlHash(
LPCTSTR pszURL,
LPBYTE pbHash,
DWORD cbHash
);
DECLARE INTEGER UrlHash IN shlwapi;
STRING pszURL,;
STRING @ pbHash,;
INTEGER cbHash
pszURL [in] null-terminated string of maximum length INTERNET_MAX_URL_LENGTH that contains the URL.
pbHash [out] Buffer to receive the hashed array.
cbHash [in] Number of elements in pbHash. It should be no larger than 256.
Returns S_OK (0) if successful, or a standard OLE error value otherwise.
See also: HashData.