gpt4 book ai didi

c++ - 在哪里可以找到有关使用 Microsoft Windows SLAPI 的更多信息?

转载 作者:行者123 更新时间:2023-11-28 03:49:52 25 4
gpt4 key购买 nike

特别是,我试图了解如何使用它来区分服务器和服务器 核心 版本的 Windows。 SLGetWindowsInformation() 看起来使用起来很简单,但我不知道有哪些信息名称可用。

SLAPI = Software Licensing API

最佳答案

如果您不想使用 GetProductInfo(),您可以调用 SLQueryInformationDWORD并为名称参数指定 Kernel-ProductInfo。返回值与 GetProductInfo() 相同:D(至少在我的测试系统上)

关于c++ - 在哪里可以找到有关使用 Microsoft Windows SLAPI 的更多信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5875674/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com