| 57 | } |
| 58 | |
| 59 | bool VariantUtilities::VariantIsElementCollection(VARIANT value) { |
| 60 | if (value.vt == VT_DISPATCH) { |
| 61 | CComPtr<IHTMLElementCollection> is_collection; |
| 62 | value.pdispVal->QueryInterface<IHTMLElementCollection>(&is_collection); |
| 63 | if (is_collection) { |
| 64 | return true; |
| 65 | } |
| 66 | } |
| 67 | return false; |
| 68 | } |
| 69 | |
| 70 | bool VariantUtilities::VariantIsElement(VARIANT value) { |
| 71 | if (value.vt == VT_DISPATCH) { |
nothing calls this directly
no outgoing calls
no test coverage detected