.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH DoEnvironmentSubstA 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBDoEnvironmentSubstA\fR (SHELL32.@) .SH SYNOPSIS DWORD DoEnvironmentSubstA ( LPSTR \fIpszString\fR, UINT \fIcchString\fR ) .SH DESCRIPTION .PP Replace %KEYWORD% in the str with the value of variable \fBKEYWORD\fR from environment. If it is not found the %KEYWORD% is left intact. If the buffer is too small, str is not modified. .SH PARAMS \fIpszString\fR \fB[In]\fR \fB'\0'\fR terminated string with %keyword%. .PP \fB[Out]\fR \fB'\0'\fR terminated string with %keyword% substituted. .PP \fIcchString\fR \fB[In]\fR size of str. .PP .SH RETURNS .PP \fIcchString\fR length in the HIWORD; \fBTRUE\fR in \fBLOWORD\fR if subst was successful and \fBFALSE\fR in other case .SH IMPLEMENTATION .PP Declared in \fB"shellapi.h"\fR. .PP Implemented in \fB"dlls/shell32/shellord.c"\fR. .PP Debug channel \fB"shell"\fR.