Skip to content

Commit 3be9b9d

Browse files
authored
Fix get_packagefamilyname helper function on Windows 32-bit (GH-117153)
1 parent 63d6f26 commit 3be9b9d

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
@@ -209,7 +209,7 @@ class PACKAGE_ID(ctypes.Structure):
209209
result = ctypes.create_unicode_buffer(256)
210210
result_len = ctypes.c_uint32(256)
211211
r = ctypes.windll.kernel32.PackageFamilyNameFromId(
212-
pid, ctypes.byref(result_len), result
212+
ctypes.byref(pid), ctypes.byref(result_len), result
213213
)
214214
if r:
215215
raise OSError(r, "failed to get package family name")

0 commit comments

Comments
 (0)