GetEnvironmentStrings The GetEnvironmentStrings function returns the address of the environment block for the current process. This function replaces the GetDOSEnvironment function.
VB4-32,5,6
Declare Function GetEnvironmentStrings Lib "kernel32" Alias "GetEnvironmentStringsA" () As Long |
VB.NET
System.Environment.GetEnvironmentVariables |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
The return value is a pointer to an environment block for the current process. |
|