ShlwApiHashData Method
Hashes an array of data.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("ShlwApi.dll", ExactSpelling := true>]
Public Shared Function HashData (
data As IntPtr,
dataSize As UInteger,
hash As IntPtr,
hashSize As UInteger
) As HResult
Dim data As IntPtr
Dim dataSize As UInteger
Dim hash As IntPtr
Dim hashSize As UInteger
Dim returnValue As HResult
returnValue = ShlwApi.HashData(data,
dataSize, hash, hashSize)
public:
[DllImportAttribute(L"ShlwApi.dll", ExactSpelling = true)]
static HResult HashData(
IntPtr data,
unsigned int dataSize,
IntPtr hash,
unsigned int hashSize
)
[<DllImportAttribute("ShlwApi.dll", ExactSpelling = true)>]
static member HashData :
data : IntPtr *
dataSize : uint32 *
hash : IntPtr *
hashSize : uint32 -> HResult
No code example is currently available or this language may not be supported.
- 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.
HResult
If this function succeeds, it returns
S_OK.
Otherwise, it returns an
HResult error code.