#define WIN32_LEAN_AND_MEAN
#include <wingnuc.h>
#include <windows.h>
int APIENTRY LibMain(HANDLE hInst, DWORD fdwReason, LPVOID lpReserved)
{
if (fdwReason == DLL_PROCESS_ATTACH)
return 1;
else if (fdwReason == DLL_PROCESS_DETACH)
return 1;
else return 1;
}
int CALLBACK Maximum(int x1, int x2)
{
return (x1 > x2) ? x1 : x2;
} RETURN_EXPORT(2);
int CALLBACK Minimum(int x1, int x2)
{
return (x1 < x2) ? x1 : x2;
} RETURN_EXPORT(2);