NAME

DoEnvironmentSubst16  (SHELL.37)

SYNOPSIS

 DWORD DoEnvironmentSubst16
 (
  LPSTR str,
  WORD  length
 )

DESCRIPTION

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.

PARAMS

str [In] '\0' terminated string with %keyword%.
[Out] '\0' terminated string with %keyword% substituted.
length [In] size of str.

RETURNS

str length in the LOWORD and 1 in HIWORD if subst was successful.

IMPLEMENTATION

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 Nov 2024.