beckhoff TE1000 TwinCAT 3 — 5.9.8.2 ITcTypeInstance9::GetCDefinitionOfMethod

API | ITcTypeInstance Signature HRESULT GetCDeclarationOfMethod(ULONG MethodIdx, BSTR* pDecl); Parameter Return value Error codes E_INVALIDARG : MethodIdx is not included in the list of methods. E_POINTER : pDecl is NULL . See also GetCSignatureOfMethod GetCDefinitionOfMethod 5.9.8.2 ITcTypeInstance9::GetCDefinitionOfMethod | ITcTypeInstance9::GetCDefinitionOfMethod Generate the complete C definition of the method at MethodIdx . Owner and CustomImpl are incorporated into the generated signature. Signature HRESULT GetCDefinitionOfMethod(ULONG MethodIdx, BSTR Owner, BSTR CustomImpl, BSTR* pDef); Parameter Return value Error codes E_INVALIDARG : MethodIdx is not included in the list of methods.

E_POINTER : pDef is NULL . See also GetCSignatureOfMethod GetCDeclarationOfMethod TE1000 89 Version: 1.7.0 Name Type Description MethodIdx ULONG [in] 0-based method index. Name Type Description pDecl BSTR* [out, retval] C declaration of the method. (HRESULT) HRESULT S OK if successful, otherwise an error code. _ Name Type Description MethodIdx ULONG [in] 0-based method index. Owner BSTR [in] Optional owner/prefix name. CustomImpl BSTR [in] Optional user-defined implementation body. Name Type Description pDef BSTR* [out, retval] Complete C definition. (HRESULT) HRESULT S OK if successful, otherwise an error code. _