SetEnvironmentVariable
E724278
SetEnvironmentVariable is a Windows API function that allows programs to create, modify, or delete environment variables for the current process or user session.
All labels observed (1)
| Label | Occurrences |
|---|---|
| SetEnvironmentVariable canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T8288311 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: SetEnvironmentVariable Context triple: [Kernel32, exportsFunction, SetEnvironmentVariable]
-
A.
Env API
Env API is the core interface specification in OpenAI Gym that standardizes how reinforcement learning environments interact with agents through methods like reset, step, and render.
-
B.
std::env module
The std::env module in Rust provides functions and types for interacting with the process’s environment, including environment variables, command-line arguments, and current working directory.
-
C.
System.Environment
System.Environment is a .NET class that provides information about and access to the current environment and platform, such as machine name, OS version, and environment variables.
-
D.
Registry Editor
Registry Editor is a built-in Windows utility that allows users to view and modify the system’s hierarchical configuration database known as the Windows Registry.
-
E.
Vars
Vars is a French alpine commune and ski resort village located in the Hautes-Alpes department in southeastern France.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: SetEnvironmentVariable Target entity description: SetEnvironmentVariable is a Windows API function that allows programs to create, modify, or delete environment variables for the current process or user session.
-
A.
Env API
Env API is the core interface specification in OpenAI Gym that standardizes how reinforcement learning environments interact with agents through methods like reset, step, and render.
-
B.
std::env module
The std::env module in Rust provides functions and types for interacting with the process’s environment, including environment variables, command-line arguments, and current working directory.
-
C.
System.Environment
System.Environment is a .NET class that provides information about and access to the current environment and platform, such as machine name, OS version, and environment variables.
-
D.
Registry Editor
Registry Editor is a built-in Windows utility that allows users to view and modify the system’s hierarchical configuration database known as the Windows Registry.
-
E.
Vars
Vars is a French alpine commune and ski resort village located in the Hautes-Alpes department in southeastern France.
- F. None of above. chosen
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf | Windows API function ⓘ |
| affectsScope | current process ⓘ |
| belongsToLibrary | Kernel32.dll NERFINISHED ⓘ |
| callingConvention | stdcall ⓘ |
| canCreate | environment variable ⓘ |
| canDelete | environment variable ⓘ |
| canModify | environment variable ⓘ |
| createsOrUpdatesVariableWhen | lpValue is non-NULL ⓘ |
| definedIn |
WinBase.h
ⓘ
Windows API NERFINISHED ⓘ |
| deletesVariableWhen | lpValue is NULL ⓘ |
| documentationSite | Microsoft Learn NERFINISHED ⓘ |
| doesNotPropagateTo | already-running processes ⓘ |
| errorInfoRetrievedWith | GetLastError ⓘ |
| exportedBy | Kernel32.dll NERFINISHED ⓘ |
| failsWhen |
lpName contains '=' character
ⓘ
lpName is NULL ⓘ lpName is empty string ⓘ |
| hasAnsiVariant | SetEnvironmentVariableA NERFINISHED ⓘ |
| hasParameter |
LPCSTR lpName
ⓘ
LPCSTR lpValue ⓘ LPCWSTR lpName ⓘ LPCWSTR lpValue ⓘ |
| hasReturnType | BOOL ⓘ |
| hasUnicodeVariant | SetEnvironmentVariableW NERFINISHED ⓘ |
| header |
WinBase.h
ⓘ
Windows.h NERFINISHED ⓘ |
| introducedFor | manipulating environment variables ⓘ |
| isUsedFor |
configuring child processes
ⓘ
setting application-specific environment variables ⓘ temporarily overriding system environment variables ⓘ |
| library | Kernel32.lib NERFINISHED ⓘ |
| minimumSupportedClient | Windows 2000 Professional NERFINISHED ⓘ |
| minimumSupportedServer | Windows 2000 Server NERFINISHED ⓘ |
| modifies | process environment block ⓘ |
| namespace | global C API ⓘ |
| platform |
Win32
NERFINISHED
ⓘ
Win64 ⓘ |
| relatedFunction |
FreeEnvironmentStrings
ⓘ
GetEnvironmentStrings NERFINISHED ⓘ GetEnvironmentVariable NERFINISHED ⓘ |
| returnsNonzeroOn | success ⓘ |
| returnsZeroOn | failure ⓘ |
| runsOn | Microsoft Windows NERFINISHED ⓘ |
| supportsCharacterEncoding |
ANSI
NERFINISHED
ⓘ
Unicode NERFINISHED ⓘ |
| threadSafety | not guaranteed for concurrent modifications of same variable ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: SetEnvironmentVariable Description of subject: SetEnvironmentVariable is a Windows API function that allows programs to create, modify, or delete environment variables for the current process or user session.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.