Index: src/shared/MsHTMLUtils.h |
diff --git a/src/shared/MsHTMLUtils.h b/src/shared/MsHTMLUtils.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..81cd6ffca82542fe2337855ca87ed774978b2d93 |
--- /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); |