Skip to content

Commit 4c33cea

Browse files
committed
poc
1 parent df5dd8e commit 4c33cea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

comtypes/test/test_comserver.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import comtypes.server
77
import comtypes.test.TestComServer
8-
from comtypes import BSTR, errorinfo, hresult
8+
from comtypes import BSTR, errorinfo, hresult, shelllink
99
from comtypes.automation import VARIANT, _midlSAFEARRAY
1010
from comtypes.client import CreateObject, GetActiveObject
1111
from comtypes.server.register import register, unregister
@@ -212,6 +212,8 @@ def test(self):
212212
comtypes.test.TestComServer.ITestComServer._iid_
213213
)
214214
self.assertEqual(hresult.S_OK, hr)
215+
hr = psei.InterfaceSupportsErrorInfo(shelllink.IShellLinkW._iid_)
216+
self.assertEqual(hresult.S_FALSE, hr)
215217

216218

217219
class VariantTest(unittest.TestCase):

0 commit comments

Comments
 (0)