ReactOS 0.4.16-dev-61-ge128cbc
|
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <sys/types.h>
#include "windef.h"
#include "winbase.h"
#include "winver.h"
#include "winuser.h"
#include "winnls.h"
#include "wine/winternl.h"
#include "lzexpand.h"
#include "winerror.h"
#include "wine/debug.h"
Go to the source code of this file.
Classes | |
struct | NE_NAMEINFO |
struct | NE_TYPEINFO |
struct | VS_VERSION_INFO_STRUCT16 |
struct | VS_VERSION_INFO_STRUCT32 |
Macros | |
#define | NONAMELESSUNION |
#define | NONAMELESSSTRUCT |
#define | VersionInfoIs16(ver) ( ((const VS_VERSION_INFO_STRUCT16 *)ver)->szKey[0] >= ' ' ) |
#define | DWORD_ALIGN(base, ptr) ( (LPBYTE)(base) + ((((LPBYTE)(ptr) - (LPBYTE)(base)) + 3) & ~3) ) |
#define | VersionInfo16_Value(ver) DWORD_ALIGN( (ver), (ver)->szKey + strlen((ver)->szKey) + 1 ) |
#define | VersionInfo32_Value(ver) DWORD_ALIGN( (ver), (ver)->szKey + lstrlenW((ver)->szKey) + 1 ) |
#define | VersionInfo16_Children(ver) |
#define | VersionInfo32_Children(ver) |
#define | VersionInfo16_Next(ver) (VS_VERSION_INFO_STRUCT16 *)( (LPBYTE)ver + (((ver)->wLength + 3) & ~3) ) |
#define | VersionInfo32_Next(ver) (VS_VERSION_INFO_STRUCT32 *)( (LPBYTE)ver + (((ver)->wLength + 3) & ~3) ) |
#define VersionInfo16_Children | ( | ver | ) |
#define VersionInfo16_Next | ( | ver | ) | (VS_VERSION_INFO_STRUCT16 *)( (LPBYTE)ver + (((ver)->wLength + 3) & ~3) ) |
#define VersionInfo16_Value | ( | ver | ) | DWORD_ALIGN( (ver), (ver)->szKey + strlen((ver)->szKey) + 1 ) |
#define VersionInfo32_Children | ( | ver | ) |
#define VersionInfo32_Next | ( | ver | ) | (VS_VERSION_INFO_STRUCT32 *)( (LPBYTE)ver + (((ver)->wLength + 3) & ~3) ) |
#define VersionInfo32_Value | ( | ver | ) | DWORD_ALIGN( (ver), (ver)->szKey + lstrlenW((ver)->szKey) + 1 ) |
#define VersionInfoIs16 | ( | ver | ) | ( ((const VS_VERSION_INFO_STRUCT16 *)ver)->szKey[0] >= ' ' ) |
Definition at line 1424 of file version.c.
Referenced by VerInstallFileA().
|
static |
Definition at line 1387 of file version.c.
Referenced by VerInstallFileA().
|
static |
Definition at line 70 of file version.c.
Referenced by find_entry_language(), and find_pe_resource().
|
static |
|
static |
Definition at line 124 of file version.c.
Referenced by find_pe_resource().
Definition at line 192 of file version.c.
Referenced by find_version_resource().
Definition at line 260 of file version.c.
Referenced by find_version_resource().
|
static |
Definition at line 399 of file version.c.
Referenced by GetFileVersionInfoExW(), and GetFileVersionInfoSizeExW().
Definition at line 853 of file version.c.
Referenced by _fetch_versioninfo(), create_file_with_version(), debugsymbols_GetModuleVersionInformation(), get_file_version(), get_version_info(), GetDriverVersion(), is_stub_dll(), START_TEST(), test_32bit_win(), test_extra_block(), test_info(), and test_VerQueryValueA().
BOOL WINAPI GetFileVersionInfoExA | ( | DWORD | flags, |
LPCSTR | filename, | ||
DWORD | handle, | ||
DWORD | datasize, | ||
LPVOID | data | ||
) |
Definition at line 822 of file version.c.
Referenced by GetFileVersionInfoA().
BOOL WINAPI GetFileVersionInfoExW | ( | DWORD | flags, |
LPCWSTR | filename, | ||
DWORD | handle, | ||
DWORD | datasize, | ||
LPVOID | data | ||
) |
Definition at line 738 of file version.c.
Referenced by GetFileVersionInfoExA(), and GetFileVersionInfoW().
Definition at line 619 of file version.c.
Referenced by create_file_with_version(), debugsymbols_GetModuleVersionInformation(), get_file_version(), get_version_info(), GetDriverVersion(), is_stub_dll(), test_32bit_win(), test_extra_block(), test_info(), test_info_size(), and test_VerQueryValueA().
Definition at line 716 of file version.c.
Referenced by GetFileVersionInfoSizeA().
Definition at line 627 of file version.c.
Referenced by GetFileVersionInfoSizeExA(), and GetFileVersionInfoSizeW().
Definition at line 611 of file version.c.
Referenced by CFileDefExt::AddPages(), check_native_ie(), do_file_copyW(), fetch_module_versioninfo(), filesys_GetFileVersion(), fill_file_description(), get_file_version(), GetExecutableVendor(), GetFileVersion(), GetFileVersionInfoSizeWrapW(), CQueryAssociations::GetString(), GetVersionFromFileExW(), GetVersionInfoString(), Imm32LoadImeVerInfo(), CFileVersionInfo::Load(), COpenWithList::LoadInfo(), LPK_ApplyMirroring(), msi_get_file_version_info(), pSetupGetVersionInfoFromImage(), SdbGetFileAttributes(), set_msi_assembly_prop(), test_32bit_win(), and test_GetFileVersionInfoEx().
Definition at line 845 of file version.c.
Referenced by check_native_ie(), do_file_copyW(), fetch_module_versioninfo(), filesys_GetFileVersion(), fill_file_description(), get_file_version(), GetExecutableVendor(), GetFileVersion(), GetFileVersionInfoWrapW(), CQueryAssociations::GetString(), GetVersionFromFileExW(), GetVersionInfoString(), Imm32LoadImeVerInfo(), CFileVersionInfo::Load(), COpenWithList::LoadInfo(), LPK_ApplyMirroring(), msi_get_file_version_info(), pSetupGetVersionInfoFromImage(), SdbGetFileAttributes(), set_msi_assembly_prop(), START_TEST(), test_32bit_win(), and test_GetFileVersionInfoEx().
|
static |
Definition at line 423 of file version.c.
Referenced by GetFileVersionInfoExW().
Definition at line 158 of file version.c.
Referenced by find_version_resource().
Definition at line 1118 of file version.c.
Referenced by VerFindFileA().
Definition at line 1153 of file version.c.
Referenced by VerFindFileW().
DWORD WINAPI VerFindFileA | ( | DWORD | flags, |
LPCSTR | lpszFilename, | ||
LPCSTR | lpszWinDir, | ||
LPCSTR | lpszAppDir, | ||
LPSTR | lpszCurDir, | ||
PUINT | lpuCurDirLen, | ||
LPSTR | lpszDestDir, | ||
PUINT | lpuDestDirLen | ||
) |
Definition at line 1194 of file version.c.
Referenced by test_find_file().
DWORD WINAPI VerFindFileW | ( | DWORD | flags, |
LPCWSTR | lpszFilename, | ||
LPCWSTR | lpszWinDir, | ||
LPCWSTR | lpszAppDir, | ||
LPWSTR | lpszCurDir, | ||
PUINT | lpuCurDirLen, | ||
LPWSTR | lpszDestDir, | ||
PUINT | lpuDestDirLen | ||
) |
Definition at line 1297 of file version.c.
DWORD WINAPI VerInstallFileA | ( | DWORD | flags, |
LPCSTR | srcfilename, | ||
LPCSTR | destfilename, | ||
LPCSTR | srcdir, | ||
LPCSTR | destdir, | ||
LPCSTR | curdir, | ||
LPSTR | tmpfile, | ||
PUINT | tmpfilelen | ||
) |
Definition at line 1439 of file version.c.
Referenced by test_install_file(), and VerInstallFileW().
DWORD WINAPI VerInstallFileW | ( | DWORD | flags, |
LPCWSTR | srcfilename, | ||
LPCWSTR | destfilename, | ||
LPCWSTR | srcdir, | ||
LPCWSTR | destdir, | ||
LPCWSTR | curdir, | ||
LPWSTR | tmpfile, | ||
PUINT | tmpfilelen | ||
) |
Definition at line 1610 of file version.c.
Definition at line 993 of file version.c.
Referenced by debugsymbols_GetModuleVersionInformation(), get_file_version(), get_version_info(), GetDriverVersion(), is_stub_dll(), test_32bit_win(), test_extra_block(), test_GetFileVersionInfoEx(), test_info(), test_VerQueryValue_InvalidLength(), test_VerQueryValueA(), and VerInstallFileA().
Definition at line 1049 of file version.c.
Referenced by capGetDriverDescriptionW(), check_native_ie(), do_file_copyW(), fetch_module_versioninfo(), file_version_matches(), filesys_GetFileVersion(), fill_file_description(), get_file_version(), get_module_version(), GetExecutableVendor(), GetFileVersion(), CFileVersionInfo::GetFixedInfo(), CQueryAssociations::GetString(), CFileVersionInfo::GetString(), GetVersionFromFileExW(), GetVersionInfoString(), Imm32LoadImeVerInfo(), CFileVersionInfo::Load(), COpenWithList::LoadInfo(), LPK_ApplyMirroring(), match_languages(), msi_get_disk_file_version(), pSetupGetVersionInfoFromImage(), SdbGetFileAttributes(), SdbpGetStringAttr(), SdbpReadFileVersion(), search_file(), set_msi_assembly_prop(), test_32bit_win(), test_VerQueryValue_InvalidLength(), and VerQueryValueWrapW().
|
static |
Definition at line 861 of file version.c.
Referenced by VersionInfo16_QueryValue().
|
static |
Definition at line 903 of file version.c.
Referenced by VerQueryValueA(), and VerQueryValueW().
|
static |
Definition at line 881 of file version.c.
Referenced by VersionInfo32_QueryValue().
|
static |
Definition at line 947 of file version.c.
Referenced by VerQueryValueA(), and VerQueryValueW().
WINE_DEFAULT_DEBUG_CHANNEL | ( | ver | ) |