-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibutil.hpp
More file actions
32 lines (24 loc) · 737 Bytes
/
libutil.hpp
File metadata and controls
32 lines (24 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef LIBUTIL_H
#define LIBUTIL_H
#include <windows.h>
#include <direct.h>
#include <list>
#include <string>
#include "additional.hpp"
#include "libdefs.hpp"
#define LIB_UNKNOWN 0
#define LIB_CODEPAGE 1
#define LIB_STRINGTABLE 2
#define STR_CODEPAGE "CODEPAGE"
#define STR_STRINGTABLE "STRINGTABLE"
typedef struct LIB_FILE_INFO {
unsigned short int type;
std::string filename, relatedInfo;
} LIB_FILE_INFO;
typedef std::list<LIB_FILE_INFO> LIBRARIES;
typedef std::list<LIB_FILE_INFO>::iterator LIB_ITER;
unsigned short int getLibType(HINSTANCE);
std::string getCodePageInfo(HINSTANCE);
bool listAvailableLibs(char*, LIBRARIES&);
std::string findAnyCodePage(LIBRARIES&);
#endif