Cube-World-Mod-Launcher/CubeModLoader/DLL.h

29 lines
460 B
C
Raw Normal View History

2019-09-15 03:24:12 +08:00
#ifndef DLL_H
#define DLL_H
#include <iostream>
#include <windows.h>
class DLL
{
public:
std::string fileName;
HMODULE handle;
FARPROC ModInitialize;
FARPROC ModMajorVersion;
FARPROC ModMinorVersion;
// Callbacks
FARPROC HandleNumber;
DLL(std::string fileName);
HMODULE Load();
virtual ~DLL();
protected:
private:
};
#endif // DLL_H