// ********************************************************************** public static Result SET_CONNECTION_STATUS_CALLBACK( CONNECTION_STATUS_CALLBACK pfConnectionStatusCallback, out int pnExtendedErrorCode, byte[] lpstrErrorMessage, int dwErrorMessageSize) { connection_status_callback = pfConnectionStatusCallback; return(SET_CONNECTION_STATUS_CALLBACK_UNMGR( connection_status_callback_unmgr, out pnExtendedErrorCode, lpstrErrorMessage, lpstrErrorMessage.Length)); }
public static QuikResult SET_CONNECTION_STATUS_CALLBACK( CONNECTION_STATUS_CALLBACK pfConnectionStatusCallback, out int pnExtendedErrorCode, StringBuilder lpstrErrorMessage, int dwErrorMessageSize) { connection_status_callback = pfConnectionStatusCallback; return(SET_CONNECTION_STATUS_CALLBACK_UNMGR( connection_status_callback_unmgr, out pnExtendedErrorCode, lpstrErrorMessage, lpstrErrorMessage.Capacity)); }
// ********************************************************************** public static Result SET_CONNECTION_STATUS_CALLBACK( CONNECTION_STATUS_CALLBACK pfConnectionStatusCallback, out int pnExtendedErrorCode, byte[] lpstrErrorMessage, int dwErrorMessageSize) { connection_status_callback = pfConnectionStatusCallback; return SET_CONNECTION_STATUS_CALLBACK_UNMGR( connection_status_callback_unmgr, out pnExtendedErrorCode, lpstrErrorMessage, lpstrErrorMessage.Length); }