std/private/win_setenv

Source   Edit  

Procs

proc setEnvImpl(name: string; value: string; overwrite: cint): cint {.
    ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc setEnvironmentVariableW(lpName, lpValue: WideCString): int32 {.stdcall,
    dynlib: "kernel32", importc: "SetEnvironmentVariableW", sideEffect,
    ...raises: [], tags: [], forbids: [].}
Source   Edit