From 3be9b9d8722696b95555937bb211dc4cda714d56 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Fri, 22 Mar 2024 15:00:50 +0000 Subject: Fix get_packagefamilyname helper function on Windows 32-bit (GH-117153) --- PC/layout/support/appxmanifest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PC/layout/support/appxmanifest.py b/PC/layout/support/appxmanifest.py index 1fb0338..53977be 100644 --- a/PC/layout/support/appxmanifest.py +++ b/PC/layout/support/appxmanifest.py @@ -209,7 +209,7 @@ def get_packagefamilyname(name, publisher_id): result = ctypes.create_unicode_buffer(256) result_len = ctypes.c_uint32(256) r = ctypes.windll.kernel32.PackageFamilyNameFromId( - pid, ctypes.byref(result_len), result + ctypes.byref(pid), ctypes.byref(result_len), result ) if r: raise OSError(r, "failed to get package family name") -- cgit v0.12