DoEnvironmentSubst16(3w)

DoEnvironmentSubst163w

Usage

DWORD DoEnvironmentSubst16
(
LPSTR str,
WORD length
)

Overview

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".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.