Files
marlersoft-win32json/api/System.EventNotificationService.json
2026-02-15 20:47:45 -07:00

439 lines
15 KiB
JSON

{
"Constants":[{
"Name":"NETWORK_ALIVE_LAN"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
,"Value":1
,"Attrs":[]
},{
"Name":"NETWORK_ALIVE_WAN"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
,"Value":2
,"Attrs":[]
},{
"Name":"NETWORK_ALIVE_AOL"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
,"Value":4
,"Attrs":[]
},{
"Name":"NETWORK_ALIVE_INTERNET"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
,"Value":8
,"Attrs":[]
},{
"Name":"CONNECTION_AOL"
,"Type":{"Kind":"Native","Name":"UInt32"}
,"ValueType":"UInt32"
,"Value":4
,"Attrs":[]
},{
"Name":"SENSGUID_PUBLISHER"
,"Type":{"Kind":"Native","Name":"Guid"}
,"ValueType":"String"
,"Value":"5fee1bd6-5b9b-11d1-8dd2-00aa004abd5e"
,"Attrs":[]
},{
"Name":"SENSGUID_SUBSCRIBER_LCE"
,"Type":{"Kind":"Native","Name":"Guid"}
,"ValueType":"String"
,"Value":"d3938ab0-5b9d-11d1-8dd2-00aa004abd5e"
,"Attrs":[]
},{
"Name":"SENSGUID_SUBSCRIBER_WININET"
,"Type":{"Kind":"Native","Name":"Guid"}
,"ValueType":"String"
,"Value":"d3938ab5-5b9d-11d1-8dd2-00aa004abd5e"
,"Attrs":[]
},{
"Name":"SENSGUID_EVENTCLASS_NETWORK"
,"Type":{"Kind":"Native","Name":"Guid"}
,"ValueType":"String"
,"Value":"d5978620-5b9f-11d1-8dd2-00aa004abd5e"
,"Attrs":[]
},{
"Name":"SENSGUID_EVENTCLASS_LOGON"
,"Type":{"Kind":"Native","Name":"Guid"}
,"ValueType":"String"
,"Value":"d5978630-5b9f-11d1-8dd2-00aa004abd5e"
,"Attrs":[]
},{
"Name":"SENSGUID_EVENTCLASS_ONNOW"
,"Type":{"Kind":"Native","Name":"Guid"}
,"ValueType":"String"
,"Value":"d5978640-5b9f-11d1-8dd2-00aa004abd5e"
,"Attrs":[]
},{
"Name":"SENSGUID_EVENTCLASS_LOGON2"
,"Type":{"Kind":"Native","Name":"Guid"}
,"ValueType":"String"
,"Value":"d5978650-5b9f-11d1-8dd2-00aa004abd5e"
,"Attrs":[]
}],
"Types":[{
"Name":"SENS_CONNECTION_TYPE"
,"Architectures":[]
,"Platform":null
,"Kind":"Enum"
,"Flags":false
,"Scoped":false
,"Values":[
{"Name":"CONNECTION_LAN","Value":0}
,{"Name":"CONNECTION_WAN","Value":1}
]
,"IntegerBase":"UInt32"
},{
"Name":"QOCINFO"
,"Architectures":[]
,"Platform":null
,"Kind":"Struct"
,"Size":0
,"PackingSize":0
,"Attrs":[]
,"Fields":[
{"Name":"dwSize","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
,{"Name":"dwFlags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
,{"Name":"dwInSpeed","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
,{"Name":"dwOutSpeed","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
]
,"NestedTypes":[]
},{
"Name":"SENS"
,"Architectures":[]
,"Platform":null
,"Kind":"ComClassID"
,"Guid":"d597cafe-5b9f-11d1-8dd2-00aa004abd5e"
},{
"Name":"SENS_QOCINFO"
,"Architectures":[]
,"Platform":null
,"Kind":"Struct"
,"Size":0
,"PackingSize":0
,"Attrs":[]
,"Fields":[
{"Name":"dwSize","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
,{"Name":"dwFlags","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
,{"Name":"dwOutSpeed","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
,{"Name":"dwInSpeed","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
]
,"NestedTypes":[]
},{
"Name":"ISensNetwork"
,"Architectures":[]
,"Platform":"windows5.1.2600"
,"Kind":"Com"
,"Guid":"d597bab1-5b9f-11d1-8dd2-00aa004abd5e"
,"Attrs":[]
,"Interface":{"Kind":"ApiRef","Name":"IDispatch","TargetKind":"Com","Api":"System.Com","Parents":[]}
,"Methods":[{
"Name":"ConnectionMade"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrConnection","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
,{"Name":"ulType","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
,{"Name":"lpQOCInfo","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"SENS_QOCINFO","TargetKind":"Default","Api":"System.EventNotificationService","Parents":[]}},"Attrs":["In"]}
]
},{
"Name":"ConnectionMadeNoQOCInfo"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrConnection","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
,{"Name":"ulType","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
]
},{
"Name":"ConnectionLost"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrConnection","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
,{"Name":"ulType","Type":{"Kind":"ApiRef","Name":"SENS_CONNECTION_TYPE","TargetKind":"Default","Api":"System.EventNotificationService","Parents":[]},"Attrs":["In"]}
]
},{
"Name":"DestinationReachable"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrDestination","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
,{"Name":"bstrConnection","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
,{"Name":"ulType","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
,{"Name":"lpQOCInfo","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"SENS_QOCINFO","TargetKind":"Default","Api":"System.EventNotificationService","Parents":[]}},"Attrs":["In"]}
]
},{
"Name":"DestinationReachableNoQOCInfo"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrDestination","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
,{"Name":"bstrConnection","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
,{"Name":"ulType","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
]
}]
},{
"Name":"ISensOnNow"
,"Architectures":[]
,"Platform":"windows5.1.2600"
,"Kind":"Com"
,"Guid":"d597bab2-5b9f-11d1-8dd2-00aa004abd5e"
,"Attrs":[]
,"Interface":{"Kind":"ApiRef","Name":"IDispatch","TargetKind":"Com","Api":"System.Com","Parents":[]}
,"Methods":[{
"Name":"OnACPower"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
]
},{
"Name":"OnBatteryPower"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"dwBatteryLifePercent","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
]
},{
"Name":"BatteryLow"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"dwBatteryLifePercent","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
]
}]
},{
"Name":"ISensLogon"
,"Architectures":[]
,"Platform":"windows5.1.2600"
,"Kind":"Com"
,"Guid":"d597bab3-5b9f-11d1-8dd2-00aa004abd5e"
,"Attrs":[]
,"Interface":{"Kind":"ApiRef","Name":"IDispatch","TargetKind":"Com","Api":"System.Com","Parents":[]}
,"Methods":[{
"Name":"Logon"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrUserName","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
]
},{
"Name":"Logoff"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrUserName","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
]
},{
"Name":"StartShell"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrUserName","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
]
},{
"Name":"DisplayLock"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrUserName","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
]
},{
"Name":"DisplayUnlock"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrUserName","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
]
},{
"Name":"StartScreenSaver"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrUserName","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
]
},{
"Name":"StopScreenSaver"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrUserName","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
]
}]
},{
"Name":"ISensLogon2"
,"Architectures":[]
,"Platform":"windows5.1.2600"
,"Kind":"Com"
,"Guid":"d597bab4-5b9f-11d1-8dd2-00aa004abd5e"
,"Attrs":[]
,"Interface":{"Kind":"ApiRef","Name":"IDispatch","TargetKind":"Com","Api":"System.Com","Parents":[]}
,"Methods":[{
"Name":"Logon"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrUserName","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
,{"Name":"dwSessionId","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
]
},{
"Name":"Logoff"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrUserName","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
,{"Name":"dwSessionId","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
]
},{
"Name":"SessionDisconnect"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrUserName","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
,{"Name":"dwSessionId","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
]
},{
"Name":"SessionReconnect"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrUserName","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
,{"Name":"dwSessionId","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
]
},{
"Name":"PostShell"
,"SetLastError":false
,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":null
,"Attrs":[]
,"Params":[
{"Name":"bstrUserName","Type":{"Kind":"ApiRef","Name":"BSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
,{"Name":"dwSessionId","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
]
}]
}],
"Functions":[{
"Name":"IsDestinationReachableA"
,"SetLastError":true
,"DllImport":"SensApi.dll"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows5.1.2600"
,"Attrs":[]
,"Params":[
{"Name":"lpszDestination","Type":{"Kind":"ApiRef","Name":"PSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
,{"Name":"lpQOCInfo","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"QOCINFO","TargetKind":"Default","Api":"System.EventNotificationService","Parents":[]}},"Attrs":["In","Out"]}
]
},{
"Name":"IsDestinationReachableW"
,"SetLastError":true
,"DllImport":"SensApi.dll"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows5.1.2600"
,"Attrs":[]
,"Params":[
{"Name":"lpszDestination","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
,{"Name":"lpQOCInfo","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"QOCINFO","TargetKind":"Default","Api":"System.EventNotificationService","Parents":[]}},"Attrs":["In","Out"]}
]
},{
"Name":"IsNetworkAlive"
,"SetLastError":true
,"DllImport":"SensApi.dll"
,"ReturnType":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}
,"ReturnAttrs":[]
,"Architectures":[]
,"Platform":"windows5.1.2600"
,"Attrs":[]
,"Params":[
{"Name":"lpdwFlags","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Out"]}
]
}],
"UnicodeAliases":[
"IsDestinationReachable"
]
}