UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:shobjidl_core.ICreateProcessInputs.SetEnvironmentVariable |
ICreateProcessInputs::SetEnvironmentVariable (shobjidl_core.h) |
Sets a variable in the environment of the created process. |
|
shell\icreateprocessinputs_setenvironmentvariable.htm |
shell |
5898B21B-5D3B-4950-9DB4-5B7FD19C9187 |
12/05/2018 |
ICreateProcessInputs interface [Windows Shell],SetEnvironmentVariable method, ICreateProcessInputs.SetEnvironmentVariable, ICreateProcessInputs::SetEnvironmentVariable, SetEnvironmentVariable, SetEnvironmentVariable method [Windows Shell], SetEnvironmentVariable method [Windows Shell],ICreateProcessInputs interface, shell.icreateprocessinputs_setenvironmentvariable, shobjidl_core/ICreateProcessInputs::SetEnvironmentVariable |
shobjidl_core.h |
Shobjidl.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Shobjidl.idl |
Windows |
19H1 |
|
|
|
|
|
|
Sets a variable in the environment of the created process.
A null-terminated string specifying the name of a variable to be set in the environment of the process to be created. This parameter may not be NULL.
A null-terminated string specifying the value of the variable to be set in the environment of the process to be created. his parameter may not be NULL.
S_OK if the method succeeds. Otherwise, an HRESULT error code.
If a variable with the same name already exists in the environment of the created process, it is replaced.