ITcComObject:TcSetObjPara method

The TcSetObjPara method sets an object parameter identified by means of its PTCID.

Syntax

 

ITcComObject:TcSetObjPara method 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.

Parameter

Name

Type

Description

pid

PTCID

Parameter-ID of the object parameter.

nData

ULONG

Max. length of data.

pData

PVOID

Pointer to the data.

pgp

PTCGP

Reserved for future expansion, pass NULL.