博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
OPCError.h(OPC2.0规范)
阅读量:4077 次
发布时间:2019-05-25

本文共 3784 字,大约阅读时间需要 12 分钟。

/*++

Module Name:

 OpcError.h

Author:

OPC Task Force

 

Revision History:

Release 1.0A

     Removed Unused messages

     Added OPC_S_INUSE, OPC_E_INVALIDCONFIGFILE, OPC_E_NOTFOUND

Release 2.0

     Added OPC_E_INVALID_PID

--*/

 

/*

Code Assignements:

  0000 to 0200 are reserved for Microsoft use

  (although some were inadverdantly used for OPC 1.0 errors).

  0200 to 7FFF are reserved for future OPC use.

  8000 to FFFF can be vendor specific.

 

*/

 

#ifndef __OPCERROR_H

#define __OPCERROR_H

 

//

//  Values are 32 bit values laid 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

//

//

 

//

// MessageId: OPC_E_INVALIDHANDLE

//

// MessageText:

//

//  The value of the handle is invalid.

//

#define OPC_E_INVALIDHANDLE              ((HRESULT)0xC0040001L)

 

//

// MessageId: OPC_E_BADTYPE

//

// MessageText:

//

//  The server cannot convert the data between the

//  requested data type and the canonical data type.

//

#define OPC_E_BADTYPE                    ((HRESULT)0xC0040004L)

 

//

// MessageId: OPC_E_PUBLIC

//

// MessageText:

//

//  The requested operation cannot be done on a public group.

// 

//

#define OPC_E_PUBLIC                     ((HRESULT)0xC0040005L)

 

//

// MessageId: OPC_E_BADRIGHTS

//

// MessageText:

//

//  The Items AccessRights do not allow the operation.

//

#define OPC_E_BADRIGHTS                  ((HRESULT)0xC0040006L)

 

//

// MessageId: OPC_E_UNKNOWNITEMID

//

// MessageText:

//

//  The item is no longer available in the server address space

// 

//

#define OPC_E_UNKNOWNITEMID              ((HRESULT)0xC0040007L)

 

//

// MessageId: OPC_E_INVALIDITEMID

//

// MessageText:

//

//  The item definition doesn't conform to the server's syntax.

//

#define OPC_E_INVALIDITEMID              ((HRESULT)0xC0040008L)

 

//

// MessageId: OPC_E_INVALIDFILTER

//

// MessageText:

//

//  The filter string was not valid

//

#define OPC_E_INVALIDFILTER              ((HRESULT)0xC0040009L)

 

 

//

// MessageId: OPC_E_UNKNOWNPATH

//

// MessageText:

//

//  The item's access path is not known to the server.

// 

//

#define OPC_E_UNKNOWNPATH                ((HRESULT)0xC004000AL)

 

 

//

// MessageId: OPC_E_RANGE

//

// MessageText:

//

//  The value was out of range.

// 

//

#define OPC_E_RANGE                      ((HRESULT)0xC004000BL)

 

//

// MessageId: OPC_E_DUPLICATENAME

//

// MessageText:

//

//  Duplicate name not allowed.

//

//

#define OPC_E_DUPLICATENAME              ((HRESULT)0xC004000CL)

 

//

// MessageId: OPC_S_UNSUPPORTEDRATE

//

// MessageText:

//

//  The server does not support the requested data rate

//  but will use the closest available rate.

// 

//

#define OPC_S_UNSUPPORTEDRATE            ((HRESULT)0x0004000DL)

 

//

// MessageId: OPC_S_CLAMP

//

// MessageText:

//

//  A value passed to WRITE was accepted but the output was clamped.

//

#define OPC_S_CLAMP                      ((HRESULT)0x0004000EL)

 

//

// MessageId: OPC_S_INUSE

//

// MessageText:

//

//  The operation cannot be completed because the

//  object still has references that exist.

// 

//

#define OPC_S_INUSE                      ((HRESULT)0x0004000FL)

 

//

// MessageId: OPC_E_INVALIDCONFIGFILE

//

// MessageText:

//

//  The server's configuration file is an invalid format.

//

#define OPC_E_INVALIDCONFIGFILE          ((HRESULT)0xC0040010L)

 

//

// MessageId: OPC_E_NOTFOUND

//

// MessageText:

//

//  The server could not locate the requested object.

//

#define OPC_E_NOTFOUND                   ((HRESULT)0xC0040011L)

 

//

// MessageId: OPC_E_INVALID_PID

//

// MessageText:

//

//  The server does not recognise the passed property ID.

//

#define OPC_E_INVALID_PID               ((HRESULT)0xC0040203L)

 

#endif // OpcError


转载地址:http://pkini.baihongyu.com/

你可能感兴趣的文章
db db2 base / instance database tablespace container
查看>>
hd disk / disk raid / disk io / iops / iostat / iowait / iotop / iometer
查看>>
project ASP.NET
查看>>
db db2_monitorTool IBM Rational Performace Tester
查看>>
OS + Unix Aix telnet
查看>>
IBM Lotus
查看>>
Linux +Win LAMPP Tools XAMPP 1.7.3 / 5.6.3
查看>>
my read_university
查看>>
network manager
查看>>
OS + Linux Disk disk lvm / disk partition / disk mount / disk io
查看>>
RedHat + OS CPU、MEM、DISK
查看>>
net TCP/IP / TIME_WAIT / tcpip / iperf / cain
查看>>
webServer kzserver/1.0.0
查看>>
OS + Unix IBM Aix basic / topas / nmon / filemon / vmstat / iostat / sysstat/sar
查看>>
my ReadMap subway / metro / map / ditie / gaotie / traffic / jiaotong
查看>>
OS + Linux DNS Server Bind
查看>>
linux下安装django
查看>>
Android 解决TextView设置文本和富文本SpannableString自动换行留空白问题
查看>>
Android开发中Button按钮绑定监听器的方式完全解析
查看>>
Android自定义View实现商品评价星星评分控件
查看>>