All the core VB6/C functions in this API 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 and ActiveX
interfaces behave differently (and more conveniently) - please
refer to the detailed documentation on those interfaces.
Functions either
The exception is the set of _Init
functions which return a non-zero context handle on success or zero if an
error has occurred. Always check the return value before continuing.
Use the _InitError
function to find out the code for the error that has occurred.
The value itself of the context handle is unimportant, but do not change its value.