From 19683a27eaaed9c23635e9b5fa768a6c120a2ace Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sun, 17 Jan 2016 01:11:46 +0100
Subject: [PATCH] iertutil: Add dll and add stub for ordinal 811.

---
 configure.ac                |   1 +
 dlls/iertutil/Makefile.in   |   4 +
 dlls/iertutil/iertutil.spec | 521 ++++++++++++++++++++++++++++++++++++++++++++
 dlls/iertutil/main.c        |  48 ++++
 4 files changed, 574 insertions(+)
 create mode 100644 dlls/iertutil/Makefile.in
 create mode 100644 dlls/iertutil/iertutil.spec
 create mode 100644 dlls/iertutil/main.c

diff --git a/configure.ac b/configure.ac
index 5c97c1c..d70dcea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3286,6 +3286,7 @@ WINE_CONFIG_MAKEFILE(dlls/icmp)
 WINE_CONFIG_MAKEFILE(dlls/ieframe)
 WINE_CONFIG_MAKEFILE(dlls/ieframe/tests)
 WINE_CONFIG_MAKEFILE(dlls/ieproxy)
+WINE_CONFIG_MAKEFILE(dlls/iertutil)
 WINE_CONFIG_MAKEFILE(dlls/ifsmgr.vxd,enable_win16)
 WINE_CONFIG_MAKEFILE(dlls/imaadp32.acm)
 WINE_CONFIG_MAKEFILE(dlls/imagehlp)
diff --git a/dlls/iertutil/Makefile.in b/dlls/iertutil/Makefile.in
new file mode 100644
index 0000000..268026e
--- /dev/null
+++ b/dlls/iertutil/Makefile.in
@@ -0,0 +1,4 @@
+MODULE    = iertutil.dll
+
+C_SRCS = \
+	main.c
diff --git a/dlls/iertutil/iertutil.spec b/dlls/iertutil/iertutil.spec
new file mode 100644
index 0000000..a13779b
--- /dev/null
+++ b/dlls/iertutil/iertutil.spec
@@ -0,0 +1,521 @@
+16 stub @
+17 stub @
+18 stub @
+19 stub @
+20 stub @
+21 stub @
+24 stub @
+25 stub @
+26 stub @
+28 stub @
+29 stub @
+30 stub @
+32 stub @
+33 stub @
+34 stub @
+35 stub @
+36 stub @
+37 stub @
+38 stub @
+39 stub @
+40 stub @
+41 stub @
+42 stub @
+43 stub @
+44 stub @
+45 stub @
+46 stub @
+48 stub @
+49 stub @
+50 stub @
+51 stub @
+52 stub @
+53 stub @
+54 stub @
+55 stub @
+56 stub @
+57 stub @
+58 stub @
+59 stub @
+60 stub @
+61 stub @
+62 stub @
+63 stub @
+64 stub @
+65 stub @
+66 stub @
+67 stub @
+68 stub @
+69 stub @
+70 stub @
+71 stub @
+72 stub @
+73 stub @
+74 stub @
+75 stub @
+76 stub @
+77 stub @
+78 stub @
+79 stub @
+80 stub @
+81 stub @
+82 stub @
+83 stub @
+84 stub @
+85 stub @
+86 stub @
+87 stub @
+88 stub @
+89 stub @
+90 stub @
+91 stub @
+92 stub @
+93 stub @
+94 stub @
+95 stub @
+96 stub @
+97 stub @
+98 stub @
+99 stub @
+100 stub @
+101 stub @
+110 stub @
+111 stub @
+112 stub @
+123 stub @
+124 stub @
+125 stub @
+126 stub @
+127 stub @
+128 stub @
+129 stub @
+130 stub @
+131 stub @
+132 stub @
+133 stub @
+134 stub @
+135 stub @
+136 stub @
+137 stub @
+138 stub @
+139 stub @
+140 stub @
+141 stub @
+142 stub @
+143 stub @
+144 stub @
+145 stub @
+146 stub @
+150 stub @
+151 stub @
+152 stub @
+153 stub @
+154 stub @
+155 stub @
+156 stub @
+157 stub @
+158 stub @
+159 stub @
+160 stub @
+161 stub @
+162 stub @
+163 stub @
+164 stub @
+165 stub @
+166 stub @
+167 stub @
+168 stub @
+169 stub @
+170 stub @
+171 stub @
+172 stub @
+173 stub @
+174 stub @
+175 stub @
+176 stub @
+177 stub @
+200 stub @
+201 stub @
+202 stub @
+203 stub @
+204 stub @
+205 stub @
+206 stub @
+207 stub @
+208 stub @
+209 stub @
+210 stub @
+211 stub @
+220 stub @
+221 stub @
+222 stub @
+223 stub @
+224 stub @
+225 stub @
+230 stub @
+231 stub @
+232 stub @
+280 stub @
+281 stub @
+282 stub @
+300 stub @
+301 stub @
+302 stub @
+303 stub @
+304 stub @
+311 stub @
+312 stub @
+314 stub @
+325 stub @
+326 stub @
+327 stub @
+328 stub @
+329 stub @
+330 stub @
+331 stub @
+332 stub @
+334 stub @
+335 stub @
+336 stub @
+337 stub @
+338 stub @
+340 stub @
+341 stub @
+342 stub @
+343 stub @
+345 stub @
+346 stub @
+347 stub @
+350 stub @
+351 stub @
+352 stub @
+353 stub @
+354 stub @
+355 stub @
+356 stub @
+357 stub @
+358 stub @
+359 stub @
+362 stub @
+363 stub @
+364 stub @
+365 stub @
+366 stub @
+367 stub @
+368 stub @
+369 stub @
+370 stub @
+371 stub @
+372 stub @
+375 stub @
+376 stub @
+377 stub @
+378 stub @
+379 stub @
+380 stub @
+381 stub @
+382 stub @
+384 stub @
+385 stub @
+386 stub @
+387 stub @
+388 stub @
+389 stub @
+390 stub @
+391 stub @
+392 stub @
+393 stub @
+397 stub @
+398 stub @
+399 stub @
+400 stub @
+401 stub @
+402 stub @
+403 stub @
+404 stub @
+405 stub @
+406 stub @
+410 stub @
+411 stub @
+412 stub @
+413 stub @
+414 stub @
+415 stub @
+416 stub @
+417 stub @
+420 stub @
+421 stub @
+422 stub @
+423 stub @
+424 stub @
+425 stub @
+430 stub @
+431 stub @
+432 stub @
+433 stub @
+434 stub @
+435 stub @
+436 stub @
+437 stub @
+438 stub @
+440 stub @
+441 stub @
+442 stub @
+443 stub @
+444 stub @
+445 stub @
+450 stub @
+451 stub @
+452 stub @
+453 stub @
+454 stub @
+455 stub @
+456 stub @
+457 stub @
+458 stub @
+459 stub @
+460 stub @
+461 stub @
+462 stub @
+463 stub @
+464 stub @
+465 stub @
+466 stub @
+467 stub @
+468 stub @
+469 stub @
+470 stub @
+471 stub @
+472 stub @
+473 stub @
+474 stub @
+475 stub @
+476 stub @
+477 stub @
+478 stub @
+479 stub @
+480 stub @
+481 stub @
+482 stub @
+500 stub @
+501 stub @
+502 stub @
+503 stub @
+504 stub @
+505 stub @
+506 stub @
+507 stub @
+508 stub @
+509 stub @
+510 stub @
+511 stub @
+512 stub @
+513 stub @
+514 stub @
+515 stub @
+516 stub @
+517 stub @
+518 stub @
+519 stub @
+520 stub @
+521 stub @
+525 stub @
+526 stub @
+527 stub @
+528 stub @
+529 stub @
+530 stub @
+531 stub @
+533 stub @
+534 stub @
+535 stub @
+536 stub @
+537 stub @
+538 stub @
+539 stub @
+540 stub @
+541 stub @
+550 stub @
+551 stub @
+552 stub @
+553 stub @
+554 stub @
+555 stub @
+556 stub @
+557 stub @
+558 stub @
+559 stub @
+560 stub @
+561 stub @
+562 stub @
+563 stub @
+564 stub @
+565 stub @
+566 stub @
+567 stub @
+568 stub @
+569 stub @
+570 stub @
+574 stub @
+575 stub @
+576 stub @
+577 stub @
+578 stub @
+579 stub @
+580 stub @
+582 stub @
+583 stub @
+584 stub @
+585 stub @
+590 stub @
+591 stub @
+592 stub @
+593 stub @
+594 stub @
+595 stub @
+596 stub @
+597 stub @
+600 stub @
+601 stub @
+602 stub @
+603 stub @
+604 stub @
+605 stub @
+606 stub @
+607 stub @
+608 stub @
+609 stub @
+650 stub @
+651 stub @
+652 stub @
+653 stub @
+654 stub @
+655 stub @
+656 stub @
+657 stub @
+658 stub @
+659 stub @
+660 stub @
+661 stub @
+662 stub @
+663 stub @
+664 stub @
+665 stub @
+666 stub @
+667 stub @
+668 stub @
+669 stub @
+670 stub @
+671 stub @
+672 stub @
+673 stub @
+674 stub @
+675 stub @
+676 stub @
+677 stub @
+678 stub @
+679 stub @
+680 stub @
+681 stub @
+682 stub @
+683 stub @
+684 stub @
+685 stub @
+686 stub @
+687 stub @
+688 stub @
+689 stub @
+690 stub @
+691 stub @
+692 stub @
+693 stub @
+700 stub @
+701 stub @
+702 stub @
+703 stub @
+705 stub @
+706 stub @
+707 stub @
+750 stub @
+751 stub @
+752 stub @
+753 stub @
+754 stub @
+755 stub @
+763 stub @
+764 stub @
+765 stub @
+771 stub @
+772 stub @
+774 stub @
+775 stub @
+776 stub @
+779 stub @
+780 stub @
+781 stub @
+782 stub @
+783 stub @
+790 stub @
+791 stub @
+792 stub @
+793 stub @
+794 stub @
+795 stub @
+796 stub @
+797 stub @
+798 stub @
+799 stub @
+810 stub @
+811 stdcall @(ptr) IERTUTIL_811
+820 stub @
+830 stub @
+840 stub @
+850 stub @
+851 stub @
+852 stub @
+854 stub @
+855 stub @
+910 stub @
+911 stub @
+
+@ stub CreateIUriBuilder
+@ stub CreateStringHashN
+@ stub CreateUri
+@ stub CreateUriFromMultiByteString
+@ stub CreateUriPriv
+@ stub CreateUriWithFragment
+@ stub DllCanUnloadNow
+@ stub DllGetActivationFactory
+@ stub DllGetClassObject
+@ stub FastMimeGetFileExtension
+@ stub FastMimeGetIsMimeFilterEnabled
+@ stub FastMimeLookupKnownType
+@ stub FastMimeSetIsMimeFilterEnabled
+@ stub GetIDNSettingsForIE
+@ stub GetIUriPriv
+@ stub GetIUriPriv2
+@ stub GetPortFromUrlScheme
+@ stub GetPropertyFromName
+@ stub GetPropertyName
+@ stub IEDllLoader
+@ stub IEGetFrameUtilExports
+@ stub IEGetProcessModule
+@ stub IEGetTabWindowExports
+@ stub IERT_DelayLoadFailureHook
+@ stub IUriBuilderInternalCreateDomain
+@ stub ImpersonateUser
+@ stub IntlPercentEncodeNormalize
+@ stub IsDWORDProperty
+@ stub IsStringProperty
+@ stub LCIECalculatePackedStringSize
+@ stub LCIEPackString
+@ stub LCIEUnpackString
+@ stub PrivateCoInternetCanonicalizeIUri
+@ stub PrivateCoInternetCombineIUri
+@ stub PrivateCoInternetParseIUri
+@ stub ResetIDNLanguageData
+@ stub ResetIEExtensibility
+@ stub ResetIERegistrySettings
+@ stub RetiredOrdinal
+@ stub RevertImpersonate
+@ stub UriFromHostAndScheme
diff --git a/dlls/iertutil/main.c b/dlls/iertutil/main.c
new file mode 100644
index 0000000..2b993a4
--- /dev/null
+++ b/dlls/iertutil/main.c
@@ -0,0 +1,48 @@
+/*
+ * Copyright 2016 Michael Müller
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include "config.h"
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(iertutil);
+
+BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
+{
+    TRACE("(%p, %u, %p)\n", instance, reason, reserved);
+
+    switch (reason)
+    {
+        case DLL_WINE_PREATTACH:
+            return FALSE;  /* prefer native version */
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(instance);
+            break;
+    }
+
+    return TRUE;
+}
+
+BOOL WINAPI IERTUTIL_811(void *unknown)
+{
+    FIXME("(%p): stub\n", unknown);
+    return FALSE;
+}
-- 
1.9.1

