mirror of
https://github.com/marlersoft/win32json
synced 2026-06-21 13:57:33 +00:00
55 lines
2.1 KiB
JSON
55 lines
2.1 KiB
JSON
{
|
|
"Constants":[],
|
|
|
|
"Types":[{
|
|
"Name":"LicenseProtectionStatus"
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Kind":"Enum"
|
|
,"Flags":false
|
|
,"Scoped":false
|
|
,"Values":[
|
|
{"Name":"Success","Value":0}
|
|
,{"Name":"LicenseKeyNotFound","Value":1}
|
|
,{"Name":"LicenseKeyUnprotected","Value":2}
|
|
,{"Name":"LicenseKeyCorrupted","Value":3}
|
|
,{"Name":"LicenseKeyAlreadyExists","Value":4}
|
|
]
|
|
,"IntegerBase":"Int32"
|
|
}],
|
|
|
|
"Functions":[{
|
|
"Name":"RegisterLicenseKeyWithExpiration"
|
|
,"SetLastError":false
|
|
,"DllImport":"licenseprotection.dll"
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"licenseKey","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
|
|
,{"Name":"validityInDays","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
|
|
,{"Name":"status","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"LicenseProtectionStatus","TargetKind":"Default","Api":"Security.LicenseProtection","Parents":[]}},"Attrs":["Out"]}
|
|
]
|
|
},{
|
|
"Name":"ValidateLicenseKeyProtection"
|
|
,"SetLastError":false
|
|
,"DllImport":"licenseprotection.dll"
|
|
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
|
|
,"ReturnAttrs":[]
|
|
,"Architectures":[]
|
|
,"Platform":null
|
|
,"Attrs":[]
|
|
,"Params":[
|
|
{"Name":"licenseKey","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
|
|
,{"Name":"notValidBefore","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"FILETIME","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out"]}
|
|
,{"Name":"notValidAfter","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"FILETIME","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out"]}
|
|
,{"Name":"status","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"LicenseProtectionStatus","TargetKind":"Default","Api":"Security.LicenseProtection","Parents":[]}},"Attrs":["Out"]}
|
|
]
|
|
}],
|
|
|
|
"UnicodeAliases":[
|
|
]
|
|
}
|