VirtualBox

Changeset 107942 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jan 27, 2025 2:57:22 PM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167189
Message:

Additions/WINNT/Installer/InstallHelper/VBoxGuestInstallHelperDll.cpp: Added ARM64 to FileGetArchitecture().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/InstallHelper/VBoxGuestInstallHelperDll.cpp

    r106892 r107942  
    232232
    233233/**
    234  * Retrieves a file's architecture (x86 or amd64).
    235  *
    236  * Outputs "x86", "amd64" or an error message (if not found/invalid) on stack.
    237  *
     234 * Retrieves a file's architecture.
     235 *
     236 * @retval  "x86" on the stack for a 32-bit x86 file.
     237 * @retval  "amd64" on the stack for a 64-bit x86_64 file.
     238 * @retval  "arm64" on the stack for a 64-bit ARM file.
    238239 * @param   hwndParent          Window handle of parent.
    239240 * @param   string_size         Size of variable string.
     
    269270                        case RTLDRARCH_AMD64:
    270271                            VBOX_PUSH_STRING_LITERAL(stacktop, "amd64");
     272                            break;
     273
     274                        case RTLDRARCH_ARM64:
     275                            VBOX_PUSH_STRING_LITERAL(stacktop, "arm64");
    271276                            break;
    272277
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette