TranslateInfStringW(3w)

TranslateInfStringW3w

Usage

HRESULT TranslateInfStringW
(
LPCWSTR pszInfFilename,
LPCWSTR pszInstallSection,
LPCWSTR pszTranslateSection,
LPCWSTR pszTranslateKey,
LPWSTR pszBuffer,
DWORD dwBufferSize,
PDWORD pdwRequiredSize,
PVOID pvReserved
)

Overview

Translates the value of a specified key in an inf file into the current locale by expanding string macros.

Params

pszInfFilename [In] Filename of the inf file.

pszInstallSection [In] .

pszTranslateSection [In] Inf section where the key exists.

pszTranslateKey [In] Key to translate.

pszBuffer [Out] Contains the translated string on exit.

dwBufferSize [In] Size on input of pszBuffer.

pdwRequiredSize [Out] Length of the translated key.

pvReserved [In] Reserved, must be NULL.

Returns

Success: S_OK.

Failure: An hresult error code.

Implementation

Declared in "advpub.h".

Implemented in "dlls/advpack/advpack.c".

Debug channel "advpack".

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.