ICreateTypeInfo::SetFuncAndParamNames method (oaidl.h)
Sets the name of a function and the names of its parameters to the specified names.
Syntax
HRESULT SetFuncAndParamNames(
[in] UINT index,
[in] LPOLESTR *rgszNames,
[in] UINT cNames
);
Parameters
[in] index
The index of the function whose function name and parameter names are to be set.
[in] rgszNames
An array of pointers to names. The first element is the function name. Subsequent elements are names of parameters.
[in] cNames
The number of elements in the rgszNames array.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
One or more of the arguments is not valid. |
|
Insufficient memory to complete the operation. |
|
Cannot write to the destination. |
|
Insufficient memory to complete the operation. |
|
The element cannot be found. |
Remarks
This method must be used once for each property. The last parameter for put and putref accessor functions is unnamed.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |