CommandCallback

A callback invoked when a command is ready.

The parameter command holds the command’s content in a CommandResult structure.

The userData parameter matches whatever value was set when subscribing (see SubscribeCommand(String,CommandCallback,IntPtr)).

Any memory held by the CommandResult will be invalidated when the callback returns.

Parameters