Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
wdll_ver.cpp File Reference
#include "precompiled.h"
#include "lib/sysdep/os/win/wdll_ver.h"
#include <stdio.h>
#include <stdlib.h>
#include "lib/sysdep/os/win/win.h"
#include "lib/sysdep/os/win/wutil.h"
#include "lib/allocators/shared_ptr.h"

Go to the source code of this file.

Functions

static Status ReadVersionString (const OsPath &modulePathname, wchar_t *out_ver, size_t out_ver_len)
 
void wdll_ver_Append (const OsPath &pathname, VersionList &list)
 Read DLL version information and append it to a string. More...
 

Function Documentation

static Status ReadVersionString ( const OsPath modulePathname,
wchar_t out_ver,
size_t  out_ver_len 
)
static

Definition at line 45 of file wdll_ver.cpp.

void wdll_ver_Append ( const OsPath pathname,
VersionList list 
)

Read DLL version information and append it to a string.

Parameters
pathnameof DLL (preferably the complete path, so that we don't inadvertently load another one on the library search path.) If no extension is given, .dll will be appended.

The text output includes the module name. On failure, the version is given as "unknown".

Definition at line 85 of file wdll_ver.cpp.