Skip to content

Commit 1bd60e8

Browse files
authored
Comment out DWriteCreateFactory type definitions
Commented out the restype and argtypes for DWriteCreateFactory.
1 parent 62e7315 commit 1bd60e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

find_system_fonts_filename/windows/dwrite.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,5 +346,5 @@ def __init__(self) -> None:
346346

347347
# https://learn.microsoft.com/en-us/windows/win32/api/dwrite/nf-dwrite-dwritecreatefactory
348348
self.DWriteCreateFactory = dwrite.DWriteCreateFactory
349-
self.DWriteCreateFactory.restype = HRESULT
350-
self.DWriteCreateFactory.argtypes = [wintypes.UINT, POINTER(IID), POINTER(POINTER(IUnknown))]
349+
#self.DWriteCreateFactory.restype = HRESULT
350+
#self.DWriteCreateFactory.argtypes = [wintypes.UINT, POINTER(IID), POINTER(POINTER(IUnknown))]

0 commit comments

Comments
 (0)