本文介绍了CreateFont W A在哪里叫?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
哪个MS * .h文件包含对CreateFontW的调用?
Which MS *.h file contains a call to CreateFontW ?
我试图看看谁在我的程序中创建了一个字体(它有一个Font GDI资源泄漏)......
I am trying to see who is creating a font in my program (which has a Font GDI resource leak)...
推荐答案
头文件通常不包含可以进行调用的代码。大多数情况下,它们只包含声明。
Header files don't generally contain code that could make calls. Most of the time, they only contain declarations.
如果您询问哪个Windows标头为CreateFont提供声明,那么这将是Wingdi.h。虽然目前尚不清楚这一事实的知识如何推进你的目标。
If you are asking which Windows header provides a declaration for CreateFont, then that would be Wingdi.h. Though it's unclear how the knowledge of this fact would advance your goal.
这篇关于CreateFont W A在哪里叫?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!