CryptoSys PKI Pro Manual

PKI_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 PKI_PowerUpTests Lib "diCrPKI.dll" (ByVal nOptions As Long) As Long

nRet = PKI_PowerUpTests(nOptions)

C/C++ Syntax

long __stdcall PKI_PowerUpTests(long nOptions);

Parameters

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

Returns (VBA/C)

If successful, returns zero; otherwise it returns a nonzero 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 = PKI_PowerUpTests(0)
    Debug.Print "PKI_PowerUpTests returns " & nRet

See Also

Self Tests

[Contents] [Index]

[PREV: PKI_Platform...]   [Contents]   [Index]   
   [NEXT: PKI_Version...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.