SendCCancelRequest Example for Delphi
//send a Cancel Request Command to the server
//gCancelPresentationID is a global variable that should be set before sending a command that could be canceled
//gCancelMessageID is a global variable that should be set before sending a command that could be canceled
LEADDicomNet1.SendCCancelRequest(LEADDicomNet1.hNet, gCancelPresentationID, gCancelMessageID);