Scroll to navigation

DoEnvironmentSubst16(3w) Wine API DoEnvironmentSubst16(3w)

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] ' ' terminated string with %keyword%.
[Out] ' ' 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".
Debug channel "shell".
Oct 2012 Wine API