ShlwApiHashData Method

Hashes an array of data.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("ShlwApi.dll", ExactSpelling = true)]
public static HResult HashData(
	IntPtr data,
	uint dataSize,
	IntPtr hash,
	uint hashSize
)

Parameters

data  IntPtr
A pointer to the data array.
dataSize  UInt32
The number of elements in the array at data.
hash  IntPtr
A pointer to a value that, when this function returns successfully, receives the hashed array.
hashSize  UInt32
The number of elements in hash. It should be no larger than 256.

Return Value

HResult
If this function succeeds, it returns S_OK. Otherwise, it returns an HResult error code.

Remarks

See Also