我在哪里可以找到GetProcAddress(GetModuleHandle(TEXT(" kernel32.dll"))),“GetProductInfo”的值 [英] Where can I find the values for GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")), "GetProductInfo")

查看:226
本文介绍了我在哪里可以找到GetProcAddress(GetModuleHandle(TEXT(" kernel32.dll"))),“GetProductInfo”的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 

GetProcAddress GetModuleHandle TEXT < span style ="font-size:9pt; font-family:Consolas; color:#183691">" kernel32.dll " )),
" GetProductInfo " );
识别验证操作系统信息。


有人可以让我知道在我们在不同的添加项上运行此函数时应返回的值,如Professional,Enterprise,Standard,Datacenter,Embedded等。

解决方案

< blockquote>

在这里您可以找到所有信息。


https://msdn.microsoft.com/de-de/library/windows/desktop/ms724358It


只需要包含windows.h。


I'm are using 

GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")), "GetProductInfo"); to recognize validate the OS information.

Could some one let me know the values that should be returned when we run this function on different addition like Professional, Enterprise, Standard, Datacenter, Embedded etc.

解决方案

Here you will find all information.

https://msdn.microsoft.com/de-de/library/windows/desktop/ms724358It

is only necessary to include windows.h.


这篇关于我在哪里可以找到GetProcAddress(GetModuleHandle(TEXT(&quot; kernel32.dll&quot;))),“GetProductInfo”的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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