Export (0) Print
Expand All

HashData function

Hashes an array of data.

Syntax


HRESULT HashData(
  _In_   BYTE *pbData,
  DWORD cbData,
  _Out_  BYTE *pbHash,
  DWORD cbHash
);

Parameters

pbData [in]

Type: BYTE*

A pointer to the data array.

cbData

Type: DWORD

The number of elements in the array at pbData.

pbHash [out]

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

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlwapi.h

Library

Shlwapi.lib

DLL

Shlwapi.dll (version 5.0 or later)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft