C3/Src/CebuLoader/LoadPe.h

13 lines
411 B
C
Raw Normal View History

2020-01-27 15:22:29 +00:00
#pragma once
namespace MWR::Loader
{
/// type of function that can be called by LoadPe
typedef void (*ExportFunc)(void);
/// Load PE file image and call
/// @param dllData - pointer to PE file in memory
/// @param callExport - name of an exported function to call. Function must have a signature of ExportFunc [typedef void (*ExportFunc)(void)]
int LoadPe(void* dllData, std::string_view callExport);
}