Method ITcComObject:TcGetObjectName

The method TcGetObjectName stores the Object name into buffer with given length.

Syntax


HRESULT TcGetObjectName( CHAR* objName, ULONG nameLen );

Parameters

objName: (type: CHAR*) the name, which should be set.

nameLen: (type: ULONG) the maximum length to write.

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 method TcGetObjectName stores the Object name into buffer with given length.