DoEnvironmentSubstA(3w)

NAME

DoEnvironmentSubstA (SHELL32.@)

SYNOPSIS

DWORD DoEnvironmentSubstA
 (
  LPSTR pszString,
  UINT  cchString
 )

DESCRIPTION

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

Defined in "shellapi.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/shell32/shellord.c".

Debug channel "shell".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout