Skip to content

Commit da5efeb

Browse files
Fix get_packagefamilyname helper function on Windows 32-bit (GH-117153)
(cherry picked from commit 3be9b9d) Co-authored-by: Steve Dower <steve.dower@python.org>
1 parent 8440125 commit da5efeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PC/layout/support/appxmanifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class PACKAGE_ID(ctypes.Structure):
210210
result = ctypes.create_unicode_buffer(256)
211211
result_len = ctypes.c_uint32(256)
212212
r = ctypes.windll.kernel32.PackageFamilyNameFromId(
213-
pid, ctypes.byref(result_len), result
213+
ctypes.byref(pid), ctypes.byref(result_len), result
214214
)
215215
if r:
216216
raise OSError(r, "failed to get package family name")

0 commit comments

Comments
 (0)