HRESULT SetFuncAndParamNames(
unsigned int index,
OLECHAR FAR* FAR* rgszNames,
unsigned int cNames
);
Sets the name of a function and the names of its parameters to the names in the array of pointers rgszNames.
The return value of the returned HRESULT is one of the following:
| Return value | Meaning |
|---|---|
| S_OK | Success. |
| STG_E_INSUFFICIENTMEMORY | Out of memory. |
| E_OUTOFMEMORY | Out of memory. |
| E_INVALIDARG | One or more of the arguments is invalid. |
| E_ACCESSDENIED | Cannot write to the destination. |
| TYPE_E_ELEMENTNOTFOUND | The element cannot be found. |
The function SetFuncAndParamNames needs to be used once for each property. The last parameter for put and putref accessor functions is unnamed.