Added static binary tools collection (originally in SVN archive)

This commit is contained in:
2021-02-11 10:21:04 -05:00
parent cd42e4e051
commit eae7957d51
164 changed files with 53763 additions and 0 deletions

View File

@ -0,0 +1,9 @@
//#include <windows.h>
#ifdef _DLLMACRO
#define DllExport __declspec(dllexport)
#else
#define DllExport __declspec(dllimport)
#endif
DllExport DWORD DoMyJob(HWND hMainDlg, char *szFname, DWORD lpReserved, LPVOID lpParam);
DllExport LPSTR LoadDll();

View File

@ -0,0 +1,40 @@
#include <windows.h>
#include "defs.h"
DWORD DoMyJob(HWND hMainDlg, char *szFname, DWORD lpReserved, LPVOID lpParam)
{
//hMainDlg: HWND of PEiD window
//szFname: Filename
//lpReserved: PEiD passes 'PEiD' as the value
//lpParam: NULL passed, for future use
// Write your main code here
return 1;
}
LPSTR LoadDll()
{
return "Name of the plugin";
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
switch(fdwReason)
{
case DLL_PROCESS_ATTACH:
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}