Skip to content

Commit

Permalink
Fix get_packagefamilyname helper function on Windows 32-bit (pythonGH…
Browse files Browse the repository at this point in the history
  • Loading branch information
zooba authored and diegorusso committed Apr 17, 2024
1 parent fc06d8f commit 372db1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PC/layout/support/appxmanifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class PACKAGE_ID(ctypes.Structure):
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")
Expand Down

0 comments on commit 372db1c

Please sign in to comment.