[Issue 4848] New: core.sys.windows.windows: Environment functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 10 00:57:48 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4848

           Summary: core.sys.windows.windows: Environment functions
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: sean at invisibleduck.org
        ReportedBy: bugzilla at kyllingen.net


--- Comment #0 from Lars T. Kyllingstad <bugzilla at kyllingen.net> 2010-09-10 00:57:22 PDT ---
Some declarations that belong in the Windows header:

alias CHAR*  LPCH;
alias WCHAR* LPWCH;
LPCH  GetEnvironmentStringsA();
LPWCH GetEnvironmentStringsW();
BOOL FreeEnvironmentStringsA(LPCH  lpszEnvironmentBlock);
BOOL FreeEnvironmentStringsW(LPWCH lpszEnvironmentBlock);
DWORD GetEnvironmentVariableA(LPCSTR  lpName, LPSTR  lpBuffer, DWORD nSize);
DWORD GetEnvironmentVariableW(LPCWSTR lpName, LPWSTR lpBuffer, DWORD nSize);
BOOL SetEnvironmentVariableA(LPCSTR  lpName, LPCSTR  lpValue);
BOOL SetEnvironmentVariableW(LPCWSTR lpName, LPCWSTR lpValue);

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list