From b42a51bf6425539793326cfec4a1f4219b0be8ff Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Thu, 3 Jul 2008 22:01:37 +0000 Subject: Add sendfirm Windows version, currently in the form of a DLL so it could be easy integrated into programs (will require VS2005 to compile) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17932 a1c6a512-1295-4272-9138-f99709370657 --- utils/MTP/MTP_DLL/MTP_DLL.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 utils/MTP/MTP_DLL/MTP_DLL.cpp (limited to 'utils/MTP/MTP_DLL/MTP_DLL.cpp') diff --git a/utils/MTP/MTP_DLL/MTP_DLL.cpp b/utils/MTP/MTP_DLL/MTP_DLL.cpp new file mode 100644 index 0000000..8d8e250 --- /dev/null +++ b/utils/MTP/MTP_DLL/MTP_DLL.cpp @@ -0,0 +1,22 @@ +// MTP_DLL.cpp : Defines the entry point for the DLL application. +// + +#include "stdafx.h" +#include "MTP_DLL.h" + + +#ifdef _MANAGED +#pragma managed(push, off) +#endif + +BOOL APIENTRY DllMain( HMODULE hModule, + DWORD ul_reason_for_call, + LPVOID lpReserved + ) +{ + return TRUE; +} + +#ifdef _MANAGED +#pragma managed(pop) +#endif \ No newline at end of file -- cgit v1.1