Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the name of a variable.
Syntax
HRESULT SetVarName(
[in] UINT index,
[in] LPOLESTR szName
);
Parameters
[in] index
The index of the variable.
[in] szName
The name.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Success. |
|
Insufficient memory to complete the operation. |
|
Cannot write to the destination. |
|
Insufficient memory to complete the operation. |
|
The element cannot be found. |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | oaidl.h |