Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Hashes an array of data.
Syntax
LWSTDAPI HashData(
[in] BYTE *pbData,
DWORD cbData,
[out] BYTE *pbHash,
DWORD cbHash
);
Parameters
[in] pbData
Type: BYTE*
A pointer to the data array.
cbData
Type: DWORD
The number of elements in the array at pbData.
[out] pbHash
Type: BYTE*
A pointer to a value that, when this function returns successfully, receives the hashed array.
cbHash
Type: DWORD
The number of elements in pbHash. It should be no larger than 256.
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | shlwapi.h |
Library | Shlwapi.lib |
DLL | Shlwapi.dll (version 5.0 or later) |