Win32限制 [英] Win32 Limitations

查看:85
本文介绍了Win32限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为Windows 10 IoT开发Win32应用程序。我注意到该项目使用了onecoreuap.lib,它是支持UWP的设备的伞形子库(可能是IoT?)。

I am developing a Win32 application for Windows 10 IoT. I noticed the project uses onecoreuap.lib which is the umbrella subset library for devices having UWP support (presumably IoT?).

我的Win32应用程序需要使用一些GDI函数来操作内存中的位图。从上面我想我可能认为GDI函数被省略了吗?

My Win32 application needs to use some GDI functions for manipulating bitmaps in memory. From the above I think I may be right in thinking the GDI functions are omitted?

我问的唯一原因是Win32应用程序开发的物联网文章提到:

The only reason I ask is that the IoT article for Win32 app development mentions:

没有遗产Win32 UI支持:   IoT
Core不包含用于创建经典(HWND)Windows的API

https://docs.microsoft.com/en-us/windows/iot-core/develop -your-app / buildingappsforiotcore

https://docs.microsoft.com/en-us/windows/iot-core/develop-your-app/buildingappsforiotcore

这是否意味着没有GDI功能支持?

Does this mean no GDI function support at all?

我的应用程序还编译了一些GDI函数(CreateCompatibleDC,SelectObject,CreateBitmapIndirect)但无法链接其他人(ExtFloodFill)。这是否意味着存在部分支持,或者这是否链接到某些不存在的存根函数?

Also my app compiles with some GDI functions (CreateCompatibleDC, SelectObject, CreateBitmapIndirect) but cannot link others (ExtFloodFill). Does this mean there is partial support or is this linking to some stub functions that don't really exist?

这是否是支持Win32函数的最终参考:

Is this the ultimate reference for which Win32 functions are supported:

https://docs.microsoft.com/en-us/windows/desktop/apiindex/umbrella-lib-onecoreuap-alpha

https://docs.microsoft.com/en-us/windows/desktop/apiindex/umbrella-lib-onecoreuap-alpha

谢谢,Mark

推荐答案

Windows IoT Core中没有GDI支持。当然,Windows IoT Enterprise也支持。

There is no GDI support in Windows IoT Core. Of course, Windows IoT Enterprise has support.

GDI已从IoT Core中删除,作为缩小操作系统占用空间并仅支持新的GUI应用程序模型(UWP)的一种方式。剥离GDI功能可能不是一项简单的任务,可能会留下一些元素。你提到
的网站是为了帮助那些构建Win32应用程序的人迁移到UWP。

The GDI was removed from IoT Core as a way of shrinking down the OS footprint and only support the new GUI application model (UWP). Stripping away GDI functionality was probably not a simple task, and there might be some elements left behind. The site that you mention is to help those who built Win32 applications to migrate to UWP.

支持无头Win32应用程序。

Headless Win32 applications are supported.





这篇关于Win32限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆