winver.h 2.79 KB
Newer Older
1
/* Definitions for the VERsion info library (VER.DLL)
2
 *
3
 * Copyright 1996 Marcus Meissner
4 5 6 7 8 9 10 11 12 13 14 15 16
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
17
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 19
 */

20 21 22
#ifndef __WINE_WINVER_H
#define __WINE_WINVER_H

23 24 25
/* FIXME: #include <specstrings.h> */
#include <verrsrc.h>

26 27 28 29
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */

30 31 32 33
#ifndef RC_INVOKED

/* function prototypes */

34 35
DWORD       WINAPI VerFindFileA(DWORD,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT,LPSTR,PUINT);
DWORD       WINAPI VerFindFileW(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT,LPWSTR,PUINT);
36
#define     VerFindFile WINELIB_NAME_AW(VerFindFile)
37 38
DWORD       WINAPI VerInstallFileA(DWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT);
DWORD       WINAPI VerInstallFileW(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT);
39
#define     VerInstallFile WINELIB_NAME_AW(VerInstallFile)
40 41
DWORD       WINAPI VerLanguageNameA(DWORD,LPSTR,DWORD);
DWORD       WINAPI VerLanguageNameW(DWORD,LPWSTR,DWORD);
42
#define     VerLanguageName WINELIB_NAME_AW(VerLanguageName)
43 44
BOOL        WINAPI VerQueryValueA(LPCVOID,LPCSTR,LPVOID*,PUINT);
BOOL        WINAPI VerQueryValueW(LPCVOID,LPCWSTR,LPVOID*,PUINT);
45
#define     VerQueryValue WINELIB_NAME_AW(VerQueryValue)
46 47
DWORD       WINAPI GetFileVersionInfoSizeA(LPCSTR,LPDWORD);
DWORD       WINAPI GetFileVersionInfoSizeW(LPCWSTR,LPDWORD);
48
#define     GetFileVersionInfoSize WINELIB_NAME_AW(GetFileVersionInfoSize)
49 50
BOOL        WINAPI GetFileVersionInfoA(LPCSTR,DWORD,DWORD,LPVOID);
BOOL        WINAPI GetFileVersionInfoW(LPCWSTR,DWORD,DWORD,LPVOID);
51
#define     GetFileVersionInfo WINELIB_NAME_AW(GetFileVersionInfo)
52 53 54 55 56 57
DWORD       WINAPI GetFileVersionInfoSizeExA(DWORD,LPCSTR,LPDWORD);
DWORD       WINAPI GetFileVersionInfoSizeExW(DWORD,LPCWSTR,LPDWORD);
#define     GetFileVersionInfoSizeEx WINELIB_NAME_AW(GetFileVersionInfoSizeEx)
BOOL        WINAPI GetFileVersionInfoExA(DWORD,LPCSTR,DWORD,DWORD,LPVOID);
BOOL        WINAPI GetFileVersionInfoExW(DWORD,LPCWSTR,DWORD,DWORD,LPVOID);
#define     GetFileVersionInfoEx WINELIB_NAME_AW(GetFileVersionInfoEx)
58 59 60

#endif /* RC_INVOKED */

61 62 63 64
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */

65
#endif /* __WINE_WINVER_H */