beckhoff TE1000 TwinCAT 3 — 5.9.8.4 ITcTypeInstance9::GetInterfaceType

API | ITcTypeInstance 5.9.8.3 ITcTypeInstance9::GetCSignatureOfMethod | ITcTypeInstance9::GetCSignatureOfMethod Generates the C signature of the method at MethodIdx . Any closing separators, such as spaces, commas, or semicolons, are removed in the process. Signature HRESULT GetCSignatureOfMethod(ULONG MethodIdx, VARIANT_BOOL IgnoreParamNames, BSTR Owner, BSTR* pSig ); Parameter Return value Error codes E_INVALIDARG : MethodIdx is not included in the list of methods. E_POINTER : pSig is NULL . See also GetCDeclarationOfMethod GetCDefinitionOfMethod 5.9.8.4 ITcTypeInstance9::GetInterfaceType | ITcTypeInstance9::GetInterfaceType Returns the implemented interface at InterfaceIdx .

If the stored type pointer cannot be resolved at this time, the method returns S_FALSE instead of an error code. Signature HRESULT GetInterfaceType(ULONG InterfaceIdx, ITcTypeInstance9** pipType); Parameter Return value Error codes E_POINTER : pipType is NULL . E_INVALIDARG : InterfaceIdx is not included in the list of interfaces. TE1000 90 Version: 1.7.0 Name Type Description MethodIdx ULONG [in] 0-based method index. IgnoreParamNames VARIANT BOOL _ [in] VARIANT TRUE, to suppress parameter names in the _ signature. Owner BSTR [in] Optional owner/prefix name for the signature. Name Type Description pSig BSTR* [out, retval] Generated C signature.

(HRESULT) HRESULT S OK if successful, otherwise an error code. _ Name Type Description InterfaceIdx ULONG [in] 0-based interface index. Name Type Description pipType ITcTypeInstance9** [out, retval] Implemented interface. (HRESULT) HRESULT S OK if successful, S FALSE if the interface cannot be _ _ resolved; otherwise, an error code.