Function Documentation

Given a pointer to the required version of the port library allocate and initialize the structure. The startup function is not called (hyport_startup_library) allowing the application to override any functions they desire. In the event hyport_startup_library fails when called by the application the port library memory will be freed.

Parameters:

[in]

version

The required version of the port library.

[out]

portLibrary

Pointer to the allocated port library table.

Returns:

0 on success, negative return value on failure

Note:

portLibrary will be NULL on failure

The portlibrary version must be compatabile with the that which we are compiled against