IAppxBlockMapBlock::GetHash method
Retrieves the hash value of the block.
Syntax
HRESULT GetHash( [out] UINT32 *bufferSize, [out, retval] BYTE **buffer );
Parameters
- bufferSize [out]
-
Type: UINT32*
The length of buffer.
- buffer [out, retval]
-
Type: BYTE**
The byte sequence representing the hash value of the block.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The buffer value corresponds to the Hash attribute of the Block element.
The caller is responsible for deallocating the memory used for buffer. Use the CoTaskMemFree function to deallocate the memory.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IAppxBlockMapBlock is defined as 75cf3930-3244-4fe0-a8c8-e0bcb270b889 |
See also