DoEnvironmentSubstW (SHELL32.@)
DWORD DoEnvironmentSubstW ( LPWSTR pszString, UINT cchString )
Replace all %KEYWORD% in the string with the value of the named environment variable. If the buffer is too small, the string is not modified.
pszString | [In] | '\0' terminated string with %keyword%. |
[Out] | '\0' terminated string with %keyword% substituted. | |
cchString | [In] | size of str. |
Success: The string in the buffer is updated
HIWORD: TRUE
LOWORD: characters used in the buffer, including space for the terminating 0
Failure: buffer too small. The string is not modified.
HIWORD: FALSE
LOWORD: provided size of the buffer in characters
Declared in "include/shellapi.h". gitlab.winehq.org/wine/wine/blob/master/include/shellapi.h
Implemented in "dlls/shell32/shellord.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shell32/shellord.c
Debug channel "shell".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.