.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH TranslateInfStringW 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBTranslateInfStringW\fR (ADVPACK.@) .SH SYNOPSIS HRESULT TranslateInfStringW ( LPCWSTR \fIpszInfFilename\fR, LPCWSTR \fIpszInstallSection\fR, LPCWSTR \fIpszTranslateSection\fR, LPCWSTR \fIpszTranslateKey\fR, LPWSTR \fIpszBuffer\fR, DWORD \fIdwBufferSize\fR, PDWORD \fIpdwRequiredSize\fR, PVOID \fIpvReserved\fR ) .SH DESCRIPTION .PP Translates the value of a specified key in an inf file into the current locale by expanding string macros. .SH PARAMS \fIpszInfFilename\fR \fB[In]\fR Filename of the inf file. .PP \fIpszInstallSection\fR \fB[In]\fR \fB.\fR .PP \fIpszTranslateSection\fR \fB[In]\fR Inf section where the key exists. .PP \fIpszTranslateKey\fR \fB[In]\fR Key to translate. .PP \fIpszBuffer\fR \fB[Out]\fR Contains the translated string on exit. .PP \fIdwBufferSize\fR \fB[In]\fR Size on input of \fIpszBuffer\fR. .PP \fIpdwRequiredSize\fR \fB[Out]\fR Length of the translated key. .PP \fIpvReserved\fR \fB[In]\fR Reserved, must be \fBNULL\fR. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. .PP \fBFailure:\fR An hresult error code. .SH IMPLEMENTATION .PP Declared in \fB"advpub.h"\fR. .PP Implemented in \fB"dlls/advpack/advpack.c"\fR. .PP Debug channel \fB"advpack"\fR.