CryptoSys API Library Manual

MAC_Reset

Resets the MAC context.

VBA/VB6 Syntax

Public Declare Function MAC_Reset Lib "diCryptoSys.dll" (ByVal hContext As Long) As Long

nRet = MAC_Reset(hContext)

C/C++ Syntax

long __stdcall MAC_Reset(long hContext);

Parameters

hContext
[in] handle to the MAC context.

Returns (VBA/C)

If successful, the return value is 0; otherwise it returns a non-zero error code.

.NET Equivalent

Mac.Reset Method

Remarks

Destroys the existing context. The results of any part-messages added to the context will be lost.

Example

See Also

MAC_Init

[Contents] [Index]

[PREV: MAC_Init...]   [Contents]   [Index]   
   [NEXT: MD5_AddBytes...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.