The following tables list the members exposed by HRESULTS.
Name | Description | |
---|---|---|
HRESULTS Constructor |
Name | Description | |
---|---|---|
CONNECT_E_ADVISELIMIT | Advise limit exceeded for this object. | |
CONNECT_E_NOCONNECTION | Unable to impersonate DCOM client. | |
E_ABORT | Operation aborted. | |
E_FAIL | The operation failed. | |
E_INVALIDARG | The value of one or more parameters was not valid. | |
E_NOINTERFACE | No such interface supported. | |
E_NOTIMPL | Not implemented. | |
E_OUTOFMEMORY | Out of memory. | |
OPC_E_ALREADYACKED | The condition has already been acknowleged. | |
OPC_E_BADRIGHTS | The item's access rights do not allow the operation. | |
OPC_E_BADTYPE | The server cannot convert the data between the specified format and/or requested data type and the canonical data type. | |
OPC_E_BUSY | A refresh is currently in progress. | |
OPC_E_DATAEXISTS | Unable to insert - data already present. | |
OPC_E_DUPLICATENAME | The item's access path is not known to the server. | |
OPC_E_INVALID_PID | The specified property ID is not valid for the item. | |
OPC_E_INVALIDAGGREGATE | The aggregate requested is not valid. | |
OPC_E_INVALIDATTRID | The supplied attribute ID is not valid. | |
OPC_E_INVALIDBRANCHNAME | The string was not recognized as an area name. | |
OPC_E_INVALIDBUFFERTIME | The buffer time parameter was invalid. | |
OPC_E_INVALIDCONFIGFILE | The server's configuration file is an invalid format. | |
OPC_E_INVALIDCONTINUATIONPOINT | The specified browse continuation point is invalid. | |
OPC_E_INVALIDDATATYPE | The supplied value for the attribute is not a correct data type. | |
OPC_E_INVALIDFILTER | The filter string was not valid. | |
OPC_E_INVALIDHANDLE | The value of the handle is invalid. | |
OPC_E_INVALIDITEMID | The item ID does not conform to the server's syntax | |
OPC_E_INVALIDMAXSIZE | The max size parameter was invalid. | |
OPC_E_INVALIDTIME | The time does not match the latest active time. | |
OPC_E_MAXEXCEEDED | The maximum number of values requested exceeds the server's limit. | |
OPC_E_NODATAEXISTS | The server has no value for the specified time and item ID. | |
OPC_E_NOINFO | Information is not available. | |
OPC_E_NOT_AVAIL | The requested aggregate is not available for the specified item. | |
OPC_E_NOTFOUND | The requested object was not found. | |
OPC_E_NOTSUPPORTED | The requested feature is not supported. | |
OPC_E_PUBLIC | The requested operation cannot be done on a internal group. | |
OPC_E_RANGE | The value was out of range. | |
OPC_E_READONLY | The item is only readable. | |
OPC_E_UNKNOWNATTRID | The server does not support this attribute. | |
OPC_E_UNKNOWNITEMID | The item ID is not defined in the server address space or no longer exists in the server address space. | |
OPC_E_UNKNOWNPATH | The item's access path is not known to the server. | |
OPC_S_CLAMP | A value passed to write was accepted but the output was clamped. | |
OPC_S_CURRENTVALUE | The server only returns current values for the requested item attributes. | |
OPC_S_EXTRADATA | Additional data satisfying the query was found. | |
OPC_S_INSERTED | The requested insert occurred. | |
OPC_S_INUSE | The operation cannot be performed because the object is being referenced. | |
OPC_S_MOREDATA | There is more data satisfying the query than was returned | |
OPC_S_NODATA | There is no data within the specified parameters. | |
OPC_S_REPLACED | The requested replace occurred. | |
OPC_S_UNSUPPORTEDRATE | The value was out of range. | |
OPC_W_NOFILTER | The server does not support this filter. | |
S_FALSE | The server handled the call successfully but there are error or warning indications for some items. The error array has to be checked for individual item error codes. | |
S_OK | The server handled the call successfully. |
Name | Description | |
---|---|---|
Failed | The function returns true if the HRESULTS code is a failure code. It returns false for S_OK or any success code such as S_FALSE. | |
Succeeded | The function returns true if the HRESULTS code is a success code such as S_OK or S_FALSE. |