Register stream constructors for the library to use
If a registration structure is already set, it will be overwritten.
Pass NULL
in order to deregister the current constructor and return
to the system defaults.
The type parameter may be a bitwise AND of types.
0 or an error code