2.2.3 Protocol Return Codes

Codes that are returned by the protocol are represented as an HRESULT, as specified in [MS-ERREF] section 2.1.

The HRESULT values that are documented in the following table are interpreted by the protocol through a specific set of interface methods, as specified in sections 3.1.4.3, 3.1.4.4.2, and 3.2.4.1.1.

The severity bit of HRESULT MUST be interpreted as specified in [MS-ERREF] section 2.1. HRESULT errors are not recoverable by the protocol. HRESULT successes, other than the ones specified in the following table, MUST be considered as equal to WBEM_S_NO_ERROR.

Constant/value

Description

WBEM_S_NO_ERROR

0x00000000

The operation was successful.

WBEM_S_FALSE

0x00000001

Either no more CIM objects are available, the number of returned CIM objects is less than the number requested, or this is the end of an enumeration.

WBEM_S_TIMEDOUT

0x00040004

A call timed out. This is not an error condition.

WBEM_S_NEW_STYLE

0x000400FF

The operation was successful and indicates that the receiver of the call is able to receive optimized IWbemObjectSink::Indicate calls.