diff options
| author | WitherOrNot | 2025-03-03 01:04:15 +0000 |
|---|---|---|
| committer | WitherOrNot | 2025-03-03 01:04:15 +0000 |
| commit | 1cf9823ad3defaf063f7306540e5f1bcbf9acbe7 (patch) | |
| tree | 9e53a97bf2153f981e244196eb0625d3df9fed2e /LibTSforge/SPP/SLAPI.cs | |
| parent | f2ad15e5a25c9cc2cdf0d198927be0562f466156 (diff) | |
| download | TSforge-1cf9823ad3defaf063f7306540e5f1bcbf9acbe7.zip | |
remove debug prints, partially fix compatibility with vista rtm
Diffstat (limited to 'LibTSforge/SPP/SLAPI.cs')
| -rw-r--r-- | LibTSforge/SPP/SLAPI.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibTSforge/SPP/SLAPI.cs b/LibTSforge/SPP/SLAPI.cs index 336d88f..c25fb03 100644 --- a/LibTSforge/SPP/SLAPI.cs +++ b/LibTSforge/SPP/SLAPI.cs @@ -165,7 +165,7 @@ namespace LibTSforge.SPP uint count; IntPtr pProductKeyIds; - status = SLGetInstalledProductKeyIds(sl.Handle, ref actId, out count, out pProductKeyIds); + status = SLGetSLIDList(sl.Handle, SLIDTYPE.SL_ID_PRODUCT_SKU, ref actId, SLIDTYPE.SL_ID_PKEY, out count, out pProductKeyIds); if (status != 0 || count == 0) { |
