示例#1
0
        // **********************************************************************

        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));
        }
示例#2
0
 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));
 }
示例#3
0
    // **********************************************************************

    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);
    }