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 |
|
Error codes
-
E_INVALIDARG:MethodIdxis not included in the list of methods. -
E_POINTER:pDefisNULL.
See also
- GetCSignatureOfMethod
- GetCDeclarationOfMethod