Нашел значение IID_IDisplayServices (кстати всем рекомендую сохранить эту страницу).You can obtain an IDisplayServices interface pointer by calling QueryInterface on an IHTMLDocument2 pointer. Use IID_IDisplayServices for the interface identifier (IID).
Пробую:
- Код: Выделить всё
Private Type UUID
Data1 As Long
Data2 As Integer
Data3 As Integer
Data4(0 To 7) As Byte
End Type
Dim doc As IHTMLDocument2
Dim objdisp As IDisplayServices
Dim idisp As UUID
Set doc = IE.document
With idisp
.Data1 = &H9DF65030
.Data2 = &HB598
.Data3 = &HCF11
.Data4(0) = &HBB
.Data4(1) = &H82
.Data4(2) = &H0
.Data4(3) = &HAA
.Data4(4) = &H0
.Data4(5) = &HBD
.Data4(6) = &HCE
.Data4(7) = &HB
End With
doc.QueryInterface idisp, objdisp