Reference

GetVersionFromFileExW(3w)

NAME

GetVersionFromFileExW (ADVPACK.@)

SYNOPSIS

HRESULT GetVersionFromFileExW
(
LPCWSTR lpszFilename,
LPDWORD pdwMSVer,
LPDWORD pdwLSVer,
BOOL bVersion
)

DESCRIPTION

Gets the files version or language information.

PARAMS

lpszFilename [In] The file to get the information from.

pdwMSVer [Out] Major version.

pdwLSVer [Out] Minor version.

bVersion [In] Whether to retrieve version or language info.

RETURNS

Always returns S_OK.

NOTES

If bVersion is TRUE, version information is retrieved, else pdwMSVer gets the language Id and pdwLSVer gets the codepage ID.

IMPLEMENTATION

Declared in "advpub.h".

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

Debug channel "advpack".

History