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
LOWORD: characters used in the buffer, including space for the terminating 0
Failure: buffer too small. The string is not modified.
LOWORD: provided size of the buffer in characters
Declared in "shellapi.h". https://source.winehq.org/source/include/shellapi.h
Implemented in "dlls/shell32/shellord.c". https://source.winehq.org/source/dlls/shell32/shellord.c
Debug channel "shell".
Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2021.