text: /* ========================================================================
   * Copyright (c) 2005-2019 The OPC Foundation, Inc. All rights reserved.
   *
   * OPC Foundation MIT License 1.00
   * 
   * Permission is hereby granted, free of charge, to any person
   * obtaining a copy of this software and associated documentation
   * files (the "Software"), to deal in the Software without
   * restriction, including without limitation the rights to use,
   * copy, modify, merge, publish, distribute, sublicense, and/or sell
   * copies of the Software, and to permit persons to whom the
   * Software is furnished to do so, subject to the following
   * conditions:
   * 
   * The above copyright notice and this permission notice shall be
   * included in all copies or substantial portions of the Software.
   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
   * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
   * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
   * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
   * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
   * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
   * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
   * OTHER DEALINGS IN THE SOFTWARE.
   *
   * The complete license agreement can be found here:
   * http://opcfoundation.org/License/MIT/1.00/
   * ======================================================================*/
  
  #ifndef __OPCBATCHERROR_H
  #define __OPCBATCHERROR_H
  
  #if _MSC_VER >= 1000
  #pragma once
  #endif // _MSC_VER >= 1000
  
  // The 'Facility' is set to the standard for COM interfaces or FACILITY_ITF (i.e. 0x004)
  // The 'Code' is set in the range defined OPC Commmon for Batch (i.e. 0x0500 to 0x05FF)
  // Note that for backward compatibility not all existing codes use this range.
  
  //
  //  Values are 32 bit values layed out as follows:
  //
  //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  //   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  //  +---+-+-+-----------------------+-------------------------------+
  //  |Sev|C|R|     Facility          |               Code            |
  //  +---+-+-+-----------------------+-------------------------------+
  //
  //  where
  //
  //      Sev - is the severity code
  //
  //          00 - Success
  //          01 - Informational
  //          10 - Warning
  //          11 - Error
  //
  //      C - is the Customer code flag
  //
  //      R - is a reserved bit
  //
  //      Facility - is the facility code
  //
  //      Code - is the facility's status code
  //
  //
  // Define the facility codes
  //
  
  
  //
  // Define the severity codes
  //
  
  
  //
  // MessageId: OPCB_E_NOT_MEANINGFUL
  //
  // MessageText:
  //
  //  The data is not meaningful at the present time.
  //
  #define OPCB_E_NOT_MEANINGFUL            ((HRESULT)0xC0040300L)
  
  #endif // __OPCBATCHERROR_H
  