Method ITcComObject:TcGetObjState

The method TcGetObjState retrieves the current state of the object.

Syntax


HRESULT TcGetObjState(TCOM_STATE* pState)

Parameter

pState: (type: TCOM_STATE*) pointer to the state.

Return value

If successful, S_OK ("0") or another positive value will be returned, cf. Return values. Extended messages refer in particular to the column HRESULT in ADS Return Codes.

Description

The TcGetObjState method queries the current state of the object.