CryptoSys API Library Manual

API_PowerUpTests

Carries out on demand the full set of power-up tests automatically performed by the toolkit when first powered up (i.e. when the DLL is first attached to the process).

VBA/VB6 Syntax

Public Declare Function API_PowerUpTests Lib "diCryptoSys.dll" (ByVal nOptions As Long) As Long

nRet = API_PowerUpTests(nOptions)

C/C++ Syntax

long __stdcall API_PowerUpTests(long nOptions);

Parameters

nOptions
[in] option flags: not used in this release. Specify zero.

Returns (VBA/C)

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

.NET Equivalent

General.PowerUpTests Method ()

Remarks

This is an optional function. Unlike the tests carried out on actual power-up, this function does not cause the DLL to quit. If errors do occur, an error event will be recorded in the Application event log for NT+ operating systems or in an error log file on W9x systems. For more information on error logging after a self-test error, see Self Tests. Users are warned not to use the toolkit if an error has occurred after using this optional test. In such an event, please contact us.

Example

Dim nRet As Long  
nRet = API_PowerUpTests(0)
Debug.Print "API_PowerUpTests returns " & nRet

See Also

[Back to Top]

[PREV: API_Platform...]   [Contents]   [Index]   
   [NEXT: API_Version...]

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