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 the value set when subscribing
(see SubscribeCommand(String,CommandCallback,IntPtr)).
Any memory held by the CommandResult is invalidated when the callback returns.
Parameters
command : CommandResult : A CommandResult structure containing the command content.
userData : IntPtr : IntPtr value set with SubscribeCommand(String,CommandCallback,IntPtr).