Windows 8 for ARM,也称为 Windows RT,它是否具有与 Win32 API 等效的功能?
(I don't意味着它是否可以运行 Win32 x86 代码,但如果它具有 Win32 API可用的给第三方开发商。)
是的,ARM 版本将支持与 x86 和 x64 版本相同的 API,但可能在特定于体系结构的内容(例如异常处理)方面存在一些细微差别。
例如,以下是 ARM 版本的 msvcrt110.dll 从 kernel32 导入的 API 列表:
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
Microsoft (R) COFF/PE Dumper Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file arm_msvcr110d_win8.pe
File Type: DLL
Section contains the following imports:
KERNEL32.dll
100E4000 Import Address Table
1012DA80 Import Name Table
0 time date stamp
0 Index of first forwarder reference
108 DecodePointer
12E EncodePointer
498 RtlPcToFileHeader
425 RaiseException
269 GetModuleFileNameA
26A GetModuleFileNameW
1AA FreeEnvironmentStringsW
26D GetModuleHandleExW
2A1 GetProcAddress
160 ExitProcess
3C7 MultiByteToWideChar
258 GetLastError
26E GetModuleHandleW
2C4 GetStdHandle
5C1 WriteFile
1D3 GetCommandLineA
1D4 GetCommandLineW
19D FlsGetValue
19E FlsSetValue
21A GetCurrentThreadId
[...]
4B1 SetConsoleCtrlHandler
361 IsDebuggerPresent
2F7 GetTickCount64
3F0 OutputDebugStringA
38C LCMapStringA
232 GetEnvironmentVariableA
233 GetEnvironmentVariableW
36E IsValidLocaleName
38D LCMapStringEx
339 HeapReAlloc
33B HeapSize
338 HeapQueryInformation
正如您所看到的,所有这些都是标准的 Win32 内容。
也可以看看http://getwired.com/2011/09/20/win32-the-reports-of-my-death-are-greatly-exaggerated/ http://getwired.com/2011/09/20/win32-the-reports-of-my-death-are-greatly-exaggerated/
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)