QERROR Macro

Syntax

#define QERROR(FACILITY,RETURNCODE) (NAMESPACE_NEX qInt32)(QRESULT_ERROR_BIT | NAMESPACE_NEX qResultFacility::FACILITY<<16 | NAMESPACE_NEX FACILITY##ErrorCode::RETURNCODE)

Parameters

Name Description
in FACILITY Enumerator defined in qResultFacility
in RETURNCODE Facility name + enumerator defined in ErrorCode.

Description

Generates a return code from the facility and error enumerators.

Revision History

2011/01/27
Initial version.

CONFIDENTIAL