CryptoSys PKI Toolkit Manual

Return Values

All the core VB6/C functions in this toolkit return a 32-bit signed integer value, that is a Long in VB6/VBA and a long in C/C++, but an Integer in VB.NET and an int in C#. The wrapper functions provided in the .NET interface behave differently (and more conveniently) - please refer to the detailed documentation on that interface.

Functions either

  1. return zero to indicate success or a non-zero error code on failure; or
  2. return a positive value to indicate, say, a required length or other value, or a negative error code on failure.

[Contents] [Index]

[HOME]   [NEXT: "Hello world" programs...]

Copyright © 2004-9 D.I. Management Services Pty Ltd. All rights reserved.