Method ITcComObject:TcGetObjState

The method TcGetObjState retrieves the current state of the object.

Syntax

 

Parameter

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

Method ITcComObject:TcGetObjState 1: 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.