Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
)
class GetProviderMgmtInterface(DCOMCALL):
opnum = 3
structure = (
('ProviderId', VSS_ID),
('InterfaceId', VSS_ID),
)
class GetProviderMgmtInterfaceResponse(DCOMANSWER):
structure = (
('ppItf', PMInterfacePointer),
('ErrorCode', error_status_t),
)
class QueryVolumesSupportedForSnapshots(DCOMCALL):
opnum = 4
structure = (
('ProviderId', VSS_ID),
('IContext', LONG),
)
class QueryVolumesSupportedForSnapshotsResponse(DCOMANSWER):
structure = (
('ppEnum', PMInterfacePointer),
('ErrorCode', error_status_t),
)
class QuerySnapshotsByVolume(DCOMCALL):
opnum = 5
structure = (
('pwszVolumeName', VSS_PWSZ),
)
# 3.1.4.4.18 put_OwnerSID (Opnum 24)
class IEventSubscription_put_OwnerSID(DCOMCALL):
opnum = 24
structure = (
('bstrOwnerSID', BSTR),
)
class IEventSubscription_put_OwnerSIDResponse(DCOMANSWER):
structure = (
('ErrorCode', error_status_t),
)
# 3.1.4.4.19 get_Enabled (Opnum 25)
class IEventSubscription_get_Enabled(DCOMCALL):
opnum = 25
structure = (
)
class IEventSubscription_get_EnabledResponse(DCOMANSWER):
structure = (
('pfEnabled', BOOLEAN),
('ErrorCode', error_status_t),
)
# 3.1.4.4.20 put_Enabled (Opnum 26)
class IEventSubscription_put_Enabled(DCOMCALL):
opnum = 26
structure = (
('fEnabled', BOOLEAN),
)
)
# 3.1.4.4.8 put_EventClassID (Opnum 14)
class IEventSubscription_put_EventClassID(DCOMCALL):
opnum = 14
structure = (
('bstrEventClassID', BSTR),
)
class IEventSubscription_put_EventClassIDResponse(DCOMANSWER):
structure = (
('ErrorCode', error_status_t),
)
# 3.1.4.4.9 get_MethodName (Opnum 15)
class IEventSubscription_get_MethodName(DCOMCALL):
opnum = 15
structure = (
)
class IEventSubscription_get_MethodNameResponse(DCOMANSWER):
structure = (
('pbstrMethodName', BSTR),
('ErrorCode', error_status_t),
)
# 3.1.4.4.10 put_MethodName (Opnum 16)
class IEventSubscription_put_MethodName(DCOMCALL):
opnum = 16
structure = (
('bstrMethodName', BSTR),
)
)
# 3.1.4.3.2 IWbemServices::CancelAsyncCall (Opnum 4)
class IWbemServices_CancelAsyncCall(DCOMCALL):
opnum = 4
structure = (
('IWbemObjectSink', PMInterfacePointer),
)
class IWbemServices_CancelAsyncCallResponse(DCOMANSWER):
structure = (
('ErrorCode', error_status_t),
)
# 3.1.4.3.3 IWbemServices::QueryObjectSink (Opnum 5)
class IWbemServices_QueryObjectSink(DCOMCALL):
opnum = 5
structure = (
('lFlags', LONG),
)
class IWbemServices_QueryObjectSinkResponse(DCOMANSWER):
structure = (
('ppResponseHandler', PMInterfacePointer),
('ErrorCode', error_status_t),
)
# 3.1.4.3.4 IWbemServices::GetObject (Opnum 6)
class IWbemServices_GetObject(DCOMCALL):
opnum = 6
structure = (
('strObjectPath', BSTR),
)
# 3.1.4.9.4 put_EventClassApplicationID (Opnum 48)
class IEventSubscription3_put_EventClassApplicationID(DCOMCALL):
opnum = 48
structure = (
('bstrEventClassPartitionID', BSTR),
)
class IEventSubscription3_put_EventClassApplicationIDResponse(DCOMANSWER):
structure = (
('ErrorCode', error_status_t),
)
# 3.1.4.9.5 get_SubscriberPartitionID (Opnum 49)
class IEventSubscription3_get_SubscriberPartitionID(DCOMCALL):
opnum = 49
structure = (
)
class IEventSubscription3_get_SubscriberPartitionIDResponse(DCOMANSWER):
structure = (
('pbstrSubscriberPartitionID', BSTR),
('ErrorCode', error_status_t),
)
# 3.1.4.9.6 put_SubscriberPartitionID (Opnum 50)
class IEventSubscription3_put_SubscriberPartitionID(DCOMCALL):
opnum = 50
structure = (
('bstrSubscriberPartitionID', BSTR),
)
opnum = 10
structure = (
('strClass', BSTR),
('lFlags', LONG),
('pCtx', PMInterfacePointer),
('ppCallResult', PMInterfacePointer),
)
class IWbemServices_DeleteClassResponse(DCOMANSWER):
structure = (
('ppCallResult', PPMInterfacePointer),
('ErrorCode', error_status_t),
)
# 3.1.4.3.9 IWbemServices::DeleteClassAsync (Opnum 11)
class IWbemServices_DeleteClassAsync(DCOMCALL):
opnum = 11
structure = (
('strClass', BSTR),
('lFlags', LONG),
('pCtx', PMInterfacePointer),
('pResponseHandler', PMInterfacePointer),
)
class IWbemServices_DeleteClassAsyncResponse(DCOMANSWER):
structure = (
('ErrorCode', error_status_t),
)
# 3.1.4.3.10 IWbemServices::CreateClassEnum (Opnum 12)
class IWbemServices_CreateClassEnum(DCOMCALL):
opnum = 12
)
# 3.1.4.4.18 put_OwnerSID (Opnum 24)
class IEventSubscription_put_OwnerSID(DCOMCALL):
opnum = 24
structure = (
('bstrOwnerSID', BSTR),
)
class IEventSubscription_put_OwnerSIDResponse(DCOMANSWER):
structure = (
('ErrorCode', error_status_t),
)
# 3.1.4.4.19 get_Enabled (Opnum 25)
class IEventSubscription_get_Enabled(DCOMCALL):
opnum = 25
structure = (
)
class IEventSubscription_get_EnabledResponse(DCOMANSWER):
structure = (
('pfEnabled', BOOLEAN),
('ErrorCode', error_status_t),
)
# 3.1.4.4.20 put_Enabled (Opnum 26)
class IEventSubscription_put_Enabled(DCOMCALL):
opnum = 26
structure = (
('fEnabled', BOOLEAN),
)
)
# 3.1.4.7.3 get_EventClassApplicationID (Opnum 31)
class IEventClass3_get_EventClassApplicationID(DCOMCALL):
opnum = 31
structure = (
)
class IEventClass3_get_EventClassApplicationIDResponse(DCOMANSWER):
structure = (
('pbstrEventClassApplicationID', BSTR),
('ErrorCode', error_status_t),
)
# 3.1.4.7.4 put_EventClassApplicationID (Opnum 32)
class IEventClass3_put_EventClassApplicationID(DCOMCALL):
opnum = 32
structure = (
('bstrEventClassApplicationID', BSTR),
)
class IEventClass3_put_EventClassApplicationIDResponse(DCOMANSWER):
structure = (
('ErrorCode', error_status_t),
)
################################################################################
# 3.1.4.8 IEventSubscription2
# 3.1.4.8.1 get_FilterCriteria (Opnum 41)
class IEventSubscription2_get_FilterCriteria(DCOMCALL):
opnum = 41
structure = (
class IWbemServices_CreateClassEnumAsync(DCOMCALL):
opnum = 13
structure = (
('strSuperClass', BSTR),
('lFlags', LONG),
('pCtx', PMInterfacePointer),
('pResponseHandler', PMInterfacePointer),
)
class IWbemServices_CreateClassEnumAsyncResponse(DCOMANSWER):
structure = (
('ErrorCode', error_status_t),
)
# 3.1.4.3.12 IWbemServices::PutInstance (Opnum 14)
class IWbemServices_PutInstance(DCOMCALL):
opnum = 14
structure = (
('pInst', PMInterfacePointer),
('lFlags', LONG),
('pCtx', PMInterfacePointer),
('ppCallResult', PMInterfacePointer),
)
class IWbemServices_PutInstanceResponse(DCOMANSWER):
structure = (
('ppCallResult', PPMInterfacePointer),
('ErrorCode', error_status_t),
)
# 3.1.4.3.13 IWbemServices::PutInstanceAsync (Opnum 15)
class IWbemServices_PutInstanceAsync(DCOMCALL):
# 3.1.4.4.29 GetSubscriberProperty (Opnum 35)
class IEventSubscription_GetSubscriberProperty(DCOMCALL):
opnum = 35
structure = (
('bstrPropertyName', BSTR),
)
class IEventSubscription_GetSubscriberPropertyResponse(DCOMANSWER):
structure = (
('propertyValue', VARIANT),
('ErrorCode', error_status_t),
)
# 3.1.4.4.30 PutSubscriberProperty (Opnum 36)
class IEventSubscription_PutSubscriberProperty(DCOMCALL):
opnum = 36
structure = (
('bstrPropertyName', BSTR),
('propertyValue', VARIANT),
)
class IEventSubscription_PutSubscriberPropertyResponse(DCOMANSWER):
structure = (
('ErrorCode', error_status_t),
)
# 3.1.4.4.31 RemoveSubscriberProperty (Opnum 37)
class IEventSubscription_RemoveSubscriberProperty(DCOMCALL):
opnum = 37
structure = (
('bstrPropertyName', BSTR),