Exemple #1
0
class IEnumVdsObject(IRemUnknown2):
    def Next(self, celt=0xffff):
        request = IEnumVdsObject_Next()
        request['ORPCthis'] = self.get_cinstance().get_ORPCthis()
        request['ORPCthis']['flags'] = 0
        request['celt'] = celt
        try:
            resp = self.request(request, uuid = self.get_iPid())
        except Exception, e:
            resp = e.get_packet()
            # If it is S_FALSE(1) means less items were returned
            if resp['ErrorCode'] != 1:
                raise
        interfaces = list()
        for interface in resp['ppObjectArray']:
            interfaces.append(IRemUnknown2(INTERFACE(self.get_cinstance(), ''.join(interface['abData']), self.get_ipidRemUnknown(), target = self.get_target())))
        return interfaces
Exemple #2
0
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IDispatch
Exemple #3
0
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_ITypeInfo
Exemple #4
0
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_ITypeInfo
Exemple #5
0
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IDispatch
Exemple #6
0
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IVssDifferentialSoftwareSnapshotMgmt
Exemple #7
0
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IVssSnapshotMgmt
Exemple #8
0
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IVssEnumObject
Exemple #9
0
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
Exemple #10
0
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IVssDifferentialSoftwareSnapshotMgmt
Exemple #11
0
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IVssSnapshotMgmt
Exemple #12
0
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IVssEnumObject