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

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/shell.dll16/shell.c". https://source.winehq.org/source/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 Apr 2024.