Honeywell recommends using these C/C++ macros to evaluate return codes. All macros are located in itc50MsgSys.h. This file is in the Include directory.
Returns the facility value.
DWORD ITC_FACILITY (HRESULT hStatusCode);
hStatusCode
[in] The 32-bit message identifier for the requested message.
Facility value.
Returns TRUE if hStatusCode has error severity.
BOOL ITC_ISERROR (HRESULT hStatusCode);
hStatusCode
[in] The 32-bit message identifier for the requested message.
TRUE: hStatusCode has error severity.
FALSE: hStatusCode does not have error severity.
Returns TRUE if hStatusCode has informational severity.
BOOL ITC_ISINFO (HRESULT hStatusCode);
hStatusCode
[in] The 32-bit message identifier for the requested message.
TRUE: hStatusCode has informational severity.
FALSE: hStatusCode does not have informational severity.
Returns TRUE if hStatusCode has success, informational, or warning severity.
BOOL ITC_ISOK (HRESULT hStatusCode);
hStatusCode
[in] The 32-bit message identifier for the requested message.
TRUE: hStatusCode has success, informational, or warning severity.
FALSE: hStatusCode does not have success, informational, or warning severity.
Returns TRUE if hStatusCode is a success code.
BOOL ITC_ISSUCCESS (HRESULT hStatusCode);
hStatusCode
[in] The 32-bit message identifier for the requested message.
TRUE: hStatusCode is a success code.
FALSE: hStatusCode is not a success code.
Returns TRUE if hStatusCode has warning severity.
BOOL ITC_ISWARNING (HRESULT hStatusCode);
hStatusCode
[in] The 32-bit message identifier for the requested message.
TRUE: hStatusCode has warning severity.
FALSE: hStatusCode does not have warning severity.
Header File: ITC50.H
Library: ITC50.LIB