[SENDMAIL][INCLUDE][INF] Add sendmail.dll for DeskLink (#2092)
[reactos.git] / dll / shellext / sendmail / precomp.hpp
diff --git a/dll/shellext/sendmail/precomp.hpp b/dll/shellext/sendmail/precomp.hpp
new file mode 100644 (file)
index 0000000..6b50041
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+ * PROJECT:     sendmail
+ * LICENSE:     LGPL-2.1+ (https://spdx.org/licenses/LGPL-2.1+)
+ * PURPOSE:     DeskLink implementation
+ * COPYRIGHT:   Copyright 2019 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com)
+ */
+
+#define COBJMACROS
+#define WIN32_NO_STATUS
+#include <windows.h>
+#include <shlwapi.h>
+#include <shlobj.h>
+#include <shobjidl.h>
+#include <atlbase.h>
+#include <atlcom.h>
+#include <atlwin.h>
+#include <atlstr.h>
+#include <shlguid_undoc.h>
+#include <shellapi.h>
+#include <shellutils.h>
+#include <strsafe.h>
+#include <wine/debug.h>
+
+#include "CDeskLinkDropHandler.hpp"
+
+#include "sendmail_version.h"
+#include "resource.h"
+
+extern LONG g_ModuleRefCnt;
+
+HRESULT
+CreateShellLink(
+    LPCWSTR pszLinkPath,
+    LPCWSTR pszTargetPath OPTIONAL,
+    LPCITEMIDLIST pidlTarget OPTIONAL,
+    LPCWSTR pszArg OPTIONAL,
+    LPCWSTR pszDir OPTIONAL,
+    LPCWSTR pszIconPath OPTIONAL,
+    INT iIconNr OPTIONAL,
+    LPCWSTR pszComment OPTIONAL);