diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+## 0.2.2.7
+
+* Changed package dependencies to support GHC 9.2.x, GHC 9.4.x and GHC 9.6.x
+
 ## 0.2.2.6
 
 * Relaxed upper bounds for package dependencies to support for GHC 9.0.x
diff --git a/System/Win32/Error/TH.hs b/System/Win32/Error/TH.hs
--- a/System/Win32/Error/TH.hs
+++ b/System/Win32/Error/TH.hs
@@ -49,12 +49,12 @@
 gentoDWORD  = do
     x <- newName "x"
     return [ SigD toDWORD (AppT (AppT ArrowT (ConT errCode)) (ConT ''DWORD))
-           , FunD toDWORD $ Clause [ConP errOther [VarP x]] (NormalB (VarE x)) [] : map genClause mapping
+           , FunD toDWORD $ Clause [ConP errOther [] [VarP x]] (NormalB (VarE x)) [] : map genClause mapping
            ]
   where
     toDWORD = mkName "toDWORD"
     genClause :: (DWORD, Name) -> Clause
-    genClause (dw, err) = Clause [ConP err []] (NormalB (LitE . litDWORD $ dw)) []
+    genClause (dw, err) = Clause [ConP err [] []] (NormalB (LitE . litDWORD $ dw)) []
 
 -- fromDWORD :: DWORD -> ErrCode
 -- fromDWORD 0 = ErrorSuccess
diff --git a/Win32-errors.cabal b/Win32-errors.cabal
--- a/Win32-errors.cabal
+++ b/Win32-errors.cabal
@@ -1,5 +1,5 @@
 name:                Win32-errors
-version:             0.2.2.6
+version:             0.2.2.7
 synopsis:            Alternative error handling for Win32 foreign calls
 description:
     This package provides an alternative to the Win32 library's error handling
@@ -21,8 +21,7 @@
 cabal-version: 1.16
 homepage:      http://github.com/mikesteele81/win32-errors
 bug-reports:   http://github.com/mikesteele81/win32-errors/issues
-tested-with:   GHC == 8.0.1, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.5,
-               GHC == 8.8.1, GHC == 8.10.7, GHC == 9.0.2
+tested-with:   GHC == 9.2.7, GHC == 9.4.4, GHC == 9.6.1
 extra-source-files:
     include/windows_cconv.h
     ChangeLog
@@ -37,9 +36,9 @@
     cc-options:  -fno-strict-aliasing
     build-depends:
           base             >= 4.6  && < 5.0
-        , template-haskell >= 2.8  && < 2.18
-        , text             >= 0.11 && < 1.3
-        , Win32            >= 2.2  && < 2.11
+        , template-haskell >= 2.18  && < 2.30
+        , text             >= 0.11 && < 2.1.0
+        , Win32            >= 2.2  && < 2.14
     exposed-modules:
         System.Win32.Error
         System.Win32.Error.Foreign
