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

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.

Return value

Name

Type

Description

pDef

BSTR*

[out, retval] Complete C definition.

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

Error codes

See also