DoEnvironmentSubst16 (SHELL.37)
DWORD DoEnvironmentSubst16 ( LPSTR str, WORD length )
Replace %KEYWORD% in the str with the value of variable KEYWORD from "DOS" environment. If it is not found the %KEYWORD% is left intact. If the buffer is too small, str is not modified.
str | [In] | '\0' terminated string with %keyword%. |
[Out] | '\0' terminated string with %keyword% substituted. | |
length | [In] | size of str. |
str length in the LOWORD and 1 in HIWORD if subst was successful.
Declared in "include/shellapi.h". gitlab.winehq.org/wine/wine/blob/master/include/shellapi.h
Implemented in "dlls/shell.dll16/shell.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shell.dll16/shell.c
Debug channel "shell".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.