在哪里可以找到Windows API常量的列表

在哪里可以找到Windows API常量的列表

问题描述:

每当我像dll一样与user32.dll进行交互时,我需要像MF_REMOVE这样的常量。
所有这些常量或ac#库是否有常量的概述?

Every time I interact with dll's like the user32.dll I need constants like MF_REMOVE. Is there a overview for all that constants or a c# library that constants all these constants?

你会找到win32 API的C头文件中的所有常量。获取此信息的低科技方式是在visual studio或平台SDK的头文件夹中简单地运行文本搜索。

这通常是这样的:

You'll find all the constants in the C headers of the win32 API. The low-tech way of getting this information is to simply run a text search in the headers folder of visual studio or the platform SDK.
This will usually be something like :


C:\Program Files\Microsoft
SDKs\Windows\v6.0A\Include\

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\