Index: src/shared/MsHTMLUtils.h |
diff --git a/src/shared/MsHTMLUtils.h b/src/shared/MsHTMLUtils.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2c9971483f60319087b82dc5baf258f75e298848 |
--- /dev/null |
+++ b/src/shared/MsHTMLUtils.h |
@@ -0,0 +1,16 @@ |
+#pragma once |
+#include <string> |
+#include <MsHTML.h> |
+#include <atlbase.h> |
+ |
+struct GetHtmlElementAttributeResult |
+{ |
+ GetHtmlElementAttributeResult() : isAttributeFound(false) |
+ { |
+ } |
+ std::wstring attributeValue; |
+ bool isAttributeFound; |
+}; |
+ |
+GetHtmlElementAttributeResult GetHtmlElementAttribute(IHTMLElement& htmlElement, |
+ const ATL::CComBSTR& attributeName); |