DoEnvironmentSubstA(3w)

DoEnvironmentSubstA3w

Usage

DWORD DoEnvironmentSubstA
(
LPSTR pszString,
UINT cchString
)

Overview

Replace %KEYWORD% in the str with the value of variable KEYWORD from environment. If it is not found the %KEYWORD% is left intact. If the buffer is too small, str is not modified.

Params

pszString [In] ' ' terminated string with %keyword%.

[Out] ' ' terminated string with %keyword% substituted.

cchString [In] size of str.

Returns

cchString length in the HIWORD; TRUE in LOWORD if subst was successful and FALSE in other case

Implementation

Declared in "shellapi.h".

Implemented in "dlls/shell32/shellord.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.