ITcComObject:TcGetObjPara method
The TcGetObjPara method queries an object parameter identified by means of its PTCID.
Syntax
HRESULT TcGetObjPara(PTCID pid, ULONG& nData, PVOID& pData, PTCGP pgp=0)
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. |