private static extern Int32 SetTransactionReplyCallback(TransactionReplyCallback pfTransactionReplyCallback, ref Int32 pnExtendedErrorCode, byte[] lpstrErrorMessage, UInt32 dwErrorMessageSize);
public static CallResult SetTransactionReplyCallback(TransactionReplyCallback transactionReplyCallback) { return(Call(SetTransactionReplyCallbackImpl, transactionReplyCallback)); }
public QUIKOrderProvider() { _transactionCallback = new TransactionReplyCallback(TransactionReplyCallbackIMPL); _tradeCallback = new TradeStatusCallback(TradeStatusCallbackIMPL); _orderCallback = new OrderStatusCallback(OrderStatusCallbackIMPL); }
private static extern Int32 SetTransactionReplyCallbackImpl( TransactionReplyCallback transactionReplyCallback, ref Int32 extendedErrorCode, byte[] errorMessage, UInt32 errorMessageSize);