Windows 8 ARM,A.K.A. “Windows RT”有Winapi(win32)可供第三方开发人员使用?

前端之家收集整理的这篇文章主要介绍了Windows 8 ARM,A.K.A. “Windows RT”有Winapi(win32)可供第三方开发人员使用?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
用于ARM的 Windows 8(也称为 Windows RT)是否具有相当于Win32 API的?

(我不是说如果它可以运行Win32 x86代码,但如果它有Win32 API可用于第三方开发人员.)

是的,ARM版本将支持与x86和x64构建相同的API,可能在体系结构特定的东西如异常处理方面有一些微小的差异.

例如,以下是msvcrt110.dll的ARM版本从kernel32导入的API列表:

  1. Setting environment for using Microsoft Visual Studio 2010 x86 tools.
  2. Microsoft (R) COFF/PE Dumper Version 10.00.40219.01
  3. Copyright (C) Microsoft Corporation. All rights reserved.
  4.  
  5.  
  6. Dump of file arm_msvcr110d_win8.pe
  7.  
  8. File Type: DLL
  9.  
  10. Section contains the following imports:
  11.  
  12. KERNEL32.dll
  13. 100E4000 Import Address Table
  14. 1012DA80 Import Name Table
  15. 0 time date stamp
  16. 0 Index of first forwarder reference
  17.  
  18. 108 DecodePointer
  19. 12E EncodePointer
  20. 498 RtlPcToFileHeader
  21. 425 RaiseException
  22. 269 GetModuleFileNameA
  23. 26A GetModuleFileNameW
  24. 1AA FreeEnvironmentStringsW
  25. 26D GetModuleHandleExW
  26. 2A1 GetProcAddress
  27. 160 ExitProcess
  28. 3C7 MultiByteToWideChar
  29. 258 GetLastError
  30. 26E GetModuleHandleW
  31. 2C4 GetStdHandle
  32. 5C1 WriteFile
  33. 1D3 GetCommandLineA
  34. 1D4 GetCommandLineW
  35. 19D FlsGetValue
  36. 19E FlsSetValue
  37. 21A GetCurrentThreadId
  38. [...]
  39. 4B1 SetConsoleCtrlHandler
  40. 361 IsDebuggerPresent
  41. 2F7 GetTickCount64
  42. 3F0 OutputDebugStringA
  43. 38C LCMapStringA
  44. 232 GetEnvironmentVariableA
  45. 233 GetEnvironmentVariableW
  46. 36E IsValidLocaleName
  47. 38D LCMapStringEx
  48. 339 HeapReAlloc
  49. 33B HeapSize
  50. 338 HeapQueryInformation

你可以看到,所有的都是标准的Win32的东西.

参见http://getwired.com/2011/09/20/win32-the-reports-of-my-death-are-greatly-exaggerated/

猜你在找的Windows相关文章