Pyrogenesis  trunk
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"
Include dependency graph for wdll_ver.cpp:

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
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".