Group: Shell Lightweight Utility APIs -- misc. functions - Library: shlwapi
Creating hash values for the list of names
HRESULT HashData(
LPBYTE pbData,
DWORD cbData,
LPBYTE pbHash,
DWORD cbHash
);
DECLARE INTEGER HashData IN shlwapi;
STRING @ pbData,;
INTEGER cbData,;
STRING @ pbHash,;
INTEGER cbHash
pbData [in] Pointer to the data array.
cbData [in] Number of elements in pbData.
pbHash [out] Value used to return 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: UrlHash.