我在哪里可以找到GetProcAddress(GetModuleHandle(TEXT(" kernel32.dll"))),“GetProductInfo”的值 [英] Where can I find the values for 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(" kernel32.dll"))),“GetProductInfo”的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!