Initializing help system before first use

CreateIOCallback Method (XPRMIOCallbackInput, Object)

This returns the name of an IO driver callback stream. The supplied delegate will be called whenever Mosel needs to read data from the stream; you should return the data to Mosel in a byte array, up to the limit supplied by Mosel.

Namespace:   Mosel
Assembly:  xprmdn (in xprmdn.dll) Version: 5.0.2.0
Syntax
C#
public string CreateIOCallback(
	XPRMIOCallbackInput cb,
	Object obj
)

Parameters

cb
Type:  MoselXPRMIOCallbackInput
Callback function to call for I/O
obj
Type:  SystemObject
Object to pass to that callback function; can be any .NET object you desire.

Return Value

Type:  String
A string representing this callback, that can be passed into Mosel as a filename. You should call DestroyIOCallback when you've finished using this callback filename
See Also