mirror of
https://gitlab.com/hashborgir/plugy.git
synced 2024-12-02 13:36:02 +00:00
30 lines
439 B
C
30 lines
439 B
C
|
#include <windows.h>
|
|||
|
|
|||
|
union TFileVersion
|
|||
|
{
|
|||
|
__int64 full;
|
|||
|
struct {
|
|||
|
WORD subrevision;
|
|||
|
WORD revision;
|
|||
|
WORD minor;
|
|||
|
WORD major;
|
|||
|
};
|
|||
|
WORD w[4];
|
|||
|
};
|
|||
|
|
|||
|
enum eGameVersion
|
|||
|
{
|
|||
|
v109b=0,
|
|||
|
v109d,
|
|||
|
v110,
|
|||
|
v111,
|
|||
|
v111b,
|
|||
|
v112,
|
|||
|
v113c,
|
|||
|
v113d,
|
|||
|
v114a
|
|||
|
};
|
|||
|
|
|||
|
bool GetAppVersion(char* FileName, TFileVersion* VerInfo); // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
bool GetD2Path(char* buf, DWORD bufsize);
|
|||
|
int GetD2Version(char* PathGameExe);
|