ISymUnmanagedDocumentWriter::SetCheckSum Method

Sets checksum information.

Syntax

HRESULT SetCheckSum(  
    [in]  GUID     algorithmId,  
    [in]  ULONG32  checkSumSize,  
    [in, size_is(checkSumSize)]  BYTE checkSum[]);  

Parameters

algorithmId
[in] The GUID that represents the algorithm identifier.

checkSumSize
[in] A ULONG32 that indicates the size, in bytes, of the checkSum buffer.

checkSum
[in] The buffer that stores the checksum information.

Return Value

S_OK if the method succeeds; otherwise, E_FAIL or some other error code.

Requirements

Header: CorSym.idl, CorSym.h

See also