class IInspectable(comtypes.IUnknown):
    _case_insensitive_ = True
    _idlflags_ = []
    _iid_ = IID_IInspectable
    _methods_ = [
        COMMETHOD(
            [helpstring('Method GetIids')],
            HRESULT,
            'GetIids',
            (['out'], POINTER(ULONG), 'iidCount'),
            (['out'], POINTER(POINTER(IID)), 'iids'),
        ),
        COMMETHOD(
            [helpstring('Method GetRuntimeClassName')],
            HRESULT,
            'GetRuntimeClassName',
            (['out'], POINTER(HSTRING), 'className'),
        ),
        COMMETHOD(
            [helpstring('Method GetTrustLevel')],
            HRESULT,
            'GetTrustLevel',
            (['out'], POINTER(TrustLevel), 'trustLevel'),
        ),
    ]
class IVirtualDesktopManager(comtypes.IUnknown):
    _case_insensitive_ = True
    _iid_ = IID_IVirtualDesktopManager
    _idlflags_ = []
    _methods_ = [
        COMMETHOD(
            [helpstring('Method IsWindowOnCurrentVirtualDesktop')],
            HRESULT,
            'IsWindowOnCurrentVirtualDesktop',
            (['in'], HWND, 'topLevelWindow'),
            (['out'], POINTER(BOOL), 'onCurrentDesktop'),
        ),
        COMMETHOD(
            [helpstring('Method GetWindowDesktopId')],
            HRESULT,
            'GetWindowDesktopId',
            (['in'], HWND, 'topLevelWindow'),
            (['out'], POINTER(GUID), 'desktopId'),
        ),
        COMMETHOD(
            [helpstring('Method MoveWindowToDesktop')],
            HRESULT,
            'MoveWindowToDesktop',
            (['in'], HWND, 'topLevelWindow'),
            (['in'], REFGUID, 'desktopId'),
        ),
    ]
class IVirtualDesktop(comtypes.IUnknown):
    _case_insensitive_ = True
    _iid_ = IID_IVirtualDesktop
    _idlflags_ = []
    _methods_ = [
        COMMETHOD(
            [helpstring('Method IsViewVisible')],
            HRESULT,
            'IsViewVisible',
            (['out'], POINTER(IApplicationView), 'pView'),
            (['out'], POINTER(INT), 'pfVisible'),
        ),
        COMMETHOD(
            [helpstring('Method GetID')],
            HRESULT,
            'GetID',
            (['out'], POINTER(GUID), 'pGuid'),
        )
    ]
class IVirtualDesktopNotificationService(comtypes.IUnknown):
    _case_insensitive_ = True
    _iid_ = IID_IVirtualDesktopNotificationService
    _idlflags_ = []
    _methods_ = [
        COMMETHOD(
            [helpstring('Method Register')],
            HRESULT,
            'Register',
            (['in'], POINTER(IVirtualDesktopNotification), 'pNotification'),
            (['out'], POINTER(DWORD), 'pdwCookie'),
        ),
        COMMETHOD(
            [helpstring('Method Unregister')],
            HRESULT,
            'Unregister',
            (['in'], DWORD, 'dwCookie'),
        ),
    ]
class IApplicationViewConsolidatedEventArgs(IInspectable):
    _case_insensitive_ = True
    _iid_ = IID_IApplicationViewConsolidatedEventArgs
    _idlflags_ = []
    _methods_ = [
        COMMETHOD(
            [helpstring('Method get_IsUserInitiated')],
            HRESULT,
            'get_IsUserInitiated',
            (['retval', 'out'], POINTER(BOOL), 'value'),
        ),
    ]
class IServiceProvider(comtypes.IUnknown):
    _case_insensitive_ = True
    _idlflags_ = []
    _iid_ = IID_IServiceProvider
    _methods_ = [
        COMMETHOD(
            [helpstring('Method QueryService'), 'local', 'in'],
            HRESULT,
            'QueryService',
            (['in'], REFGUID, 'guidService'),
            (['in'], REFIID, 'riid'),
            (['out'], POINTER(LPVOID), 'ppvObject'),
        ),
    ]
class IObjectArray(comtypes.IUnknown):
    """
    Unknown Object Array
    """
    _case_insensitive_ = True
    _idlflags_ = []
    _iid_ = None

    _methods_ = [
        COMMETHOD(
            [helpstring('Method GetCount')],
            HRESULT,
            'GetCount',
            (['out'], POINTER(UINT), 'pcObjects'),
        ),
        COMMETHOD(
            [helpstring('Method GetAt')],
            HRESULT,
            'GetAt',
            (['in'], UINT, 'uiIndex'),
            (['in'], REFIID, 'riid'),
            (['out', 'iid_is'], POINTER(LPVOID), 'ppv'),
        ),
    ]
class IVirtualDesktopNotification(comtypes.IUnknown):
    _case_insensitive_ = True
    _iid_ = IID_IVirtualDesktopNotification
    _idlflags_ = []
    _methods_ = [
        COMMETHOD(
            [helpstring('Method VirtualDesktopCreated')],
            HRESULT,
            'VirtualDesktopCreated',
            (['in'], POINTER(IVirtualDesktop), 'pDesktop'),
        ),
        COMMETHOD(
            [helpstring('Method VirtualDesktopDestroyBegin')],
            HRESULT,
            'VirtualDesktopDestroyBegin',
            (['in'], POINTER(IVirtualDesktop), 'pDesktopDestroyed'),
            (['in'], POINTER(IVirtualDesktop), 'pDesktopFallback'),
        ),
        COMMETHOD(
            [helpstring('Method VirtualDesktopDestroyFailed')],
            HRESULT,
            'VirtualDesktopDestroyFailed',
            (['in'], POINTER(IVirtualDesktop), 'pDesktopDestroyed'),
            (['in'], POINTER(IVirtualDesktop), 'pDesktopFallback'),
        ),
        COMMETHOD(
            [helpstring('Method VirtualDesktopDestroyed')],
            HRESULT,
            'VirtualDesktopDestroyed',
            (['in'], POINTER(IVirtualDesktop), 'pDesktopDestroyed'),
            (['in'], POINTER(IVirtualDesktop), 'pDesktopFallback'),
        ),
        COMMETHOD(
            [helpstring('Method ViewVirtualDesktopChanged')],
            HRESULT,
            'ViewVirtualDesktopChanged',
            (['in'], POINTER(IApplicationView), 'pView'),
        ),
        COMMETHOD(
            [helpstring('Method CurrentVirtualDesktopChanged')],
            HRESULT,
            'CurrentVirtualDesktopChanged',
            (['in'], POINTER(IVirtualDesktop), 'pDesktopOld'),
            (['in'], POINTER(IVirtualDesktop), 'pDesktopNew'),
        ),
    ]
Esempio n. 9
0
    _typelib_path_ = typelib_path
    _reg_typelib_ = ('{781C4C18-C2C9-4E16-B620-7B22BC8DE954}', 1, 0)
class IAgUiFileOpenExtCollection(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IDispatch):
    _case_insensitive_ = True
    'Multiple file open collection.'
    _iid_ = GUID('{898D3614-D725-4B7B-BE49-E1DD888BEFB1}')
    _idlflags_ = ['dual', 'nonextensible', 'oleautomation']
AgUiFileOpenExtCollection._com_interfaces_ = [comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IUnknown, IAgUiFileOpenExtCollection]

class _IAgUiFileOpenExt(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IDispatch):
    _case_insensitive_ = True
    'Access to file open dialog that allows multiple file specifications.'
    _iid_ = GUID('{BEEA5B8C-EC39-49BF-BD90-0FED41ACC952}')
    _idlflags_ = ['hidden', 'dual', 'nonextensible', 'oleautomation']
_IAgUiFileOpenExt._methods_ = [
    COMMETHOD([dispid(201), helpstring('Gets/sets the mulitple file open collection.'), 'propget'], HRESULT, 'FileName',
              ( ['out', 'retval'], POINTER(POINTER(IAgUiFileOpenExtCollection)), 'pVal' )),
    COMMETHOD([dispid(201), helpstring('Gets/sets the mulitple file open collection.'), 'propput'], HRESULT, 'FileName',
              ( ['in'], POINTER(IAgUiFileOpenExtCollection), 'pVal' )),
    COMMETHOD([dispid(202), helpstring('Gets/sets the file open dialog filter description.'), 'propget'], HRESULT, 'FilterDescription',
              ( ['out', 'retval'], POINTER(BSTR), 'pVal' )),
    COMMETHOD([dispid(202), helpstring('Gets/sets the file open dialog filter description.'), 'propput'], HRESULT, 'FilterDescription',
              ( ['in'], BSTR, 'pVal' )),
    COMMETHOD([dispid(203), helpstring('Gets/sets the file open dialog filter pattern.'), 'propget'], HRESULT, 'FilterPattern',
              ( ['out', 'retval'], POINTER(BSTR), 'pVal' )),
    COMMETHOD([dispid(203), helpstring('Gets/sets the file open dialog filter pattern.'), 'propput'], HRESULT, 'FilterPattern',
              ( ['in'], BSTR, 'pVal' )),
]
################################################################
## code template for _IAgUiFileOpenExt implementation
##class _IAgUiFileOpenExt_Impl(object):
]
################################################################
## code template for IProtectNamesDataSourcesNetCDF implementation
##class IProtectNamesDataSourcesNetCDF_Impl(object):
##    def Variable(self):
##        '-no docstring-'
##        #return 
##

class IMDDatasetView(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IUnknown):
    _case_insensitive_ = True
    u'The Multi Dimension DatasetView Interface.'
    _iid_ = GUID('{4656178F-0EDA-4446-9D51-900E96EFD27C}')
    _idlflags_ = ['oleautomation']
IMDDatasetView._methods_ = [
    COMMETHOD([helpstring(u'Selects the dimension for viewing by a value.')], HRESULT, 'SelectDimensionByValue',
              ( ['in'], BSTR, 'dim' ),
              ( ['in'], VARIANT, 'vValue' )),
    COMMETHOD([helpstring(u'Selects the dimension for viewing by an index.')], HRESULT, 'SelectDimensionByIndex',
              ( ['in'], BSTR, 'dim' ),
              ( ['in'], c_int, 'index' )),
    COMMETHOD([helpstring(u'The selected dimension value for a dimension name.')], HRESULT, 'GetDimensionValue',
              ( ['in'], BSTR, 'dim' ),
              ( ['retval', 'out'], POINTER(VARIANT), 'pVal' )),
    COMMETHOD([helpstring(u'The selected dimension index for a dimension name.')], HRESULT, 'GetDimensionIndex',
              ( ['in'], BSTR, 'dim' ),
              ( ['retval', 'out'], POINTER(c_int), 'pVal' )),
    COMMETHOD([helpstring(u'The selected dimension names.')], HRESULT, 'GetSelectedDimensions',
              ( ['retval', 'out'], POINTER(POINTER(comtypes.gen._5E1F7BC3_67C5_4AEE_8EC6_C4B73AAC42ED_0_10_2.IStringArray)), 'ppNames' )),
    COMMETHOD([helpstring(u'The selected dimension values.')], HRESULT, 'GetSelectedDimensionValues',
              ( ['retval', 'out'], POINTER(POINTER(comtypes.gen._5E1F7BC3_67C5_4AEE_8EC6_C4B73AAC42ED_0_10_2.IVariantArray)), 'ppValues' )),

# values for enumeration 'tagANTISHADINGMODE'
asmInvalid = -1
asmNull = 0
asmFactor3 = 1
asmFactor5 = 2
tagANTISHADINGMODE = c_int # enum
ANTISHADINGMODE = tagANTISHADINGMODE
class IScenarioManagerEventSink(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IUnknown):
    _case_insensitive_ = True
    'An event sink for scenario managers.'
    _iid_ = GUID('{30686515-66D4-11D3-B7DE-00105AF6AC71}')
    _idlflags_ = []
IScenarioManagerEventSink._methods_ = [
    COMMETHOD([helpstring('Called when an bus reset is in progress.')], HRESULT, 'OnBusReset',
              ( ['in'], VARIANT_BOOL, 'fComplete' ),
              ( ['in'], BSTR, 'bstrInitiator' )),
]
################################################################
## code template for IScenarioManagerEventSink implementation
##class IScenarioManagerEventSink_Impl(object):
##    def OnBusReset(self, fComplete, bstrInitiator):
##        'Called when an bus reset is in progress.'
##        #return 
##

class IParameterManager2(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IUnknown):
    _case_insensitive_ = True
    'A scenario manager to parameterize devices.'
    _iid_ = GUID('{02D8CE60-0ED7-11D4-B891-00105AF6AC71}')
Esempio n. 12
0
    _iid_ = GUID('{4656178F-0EDA-4446-9D51-900E96EFD27C}')
    _idlflags_ = ['oleautomation']
class IMDFeatureClassView(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IUnknown):
    _case_insensitive_ = True
    u'The Multi Dimension FeatureClassView Interface.'
    _iid_ = GUID('{F065307E-3ADF-4B57-B59D-4BA1465BB40C}')
    _idlflags_ = ['oleautomation']
NetCDFFeatureClassName._com_interfaces_ = [comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IUnknown, comtypes.gen._5E1F7BC3_67C5_4AEE_8EC6_C4B73AAC42ED_0_10_2.IName, comtypes.gen._0475BDB1_E5B2_4CA2_9127_B4B1683E70C2_0_10_2.IDatasetName, comtypes.gen._5E1F7BC3_67C5_4AEE_8EC6_C4B73AAC42ED_0_10_2.IPersistStream, IMDDatasetView, IMDFeatureClassView]

class IMDWorkspace(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IUnknown):
    _case_insensitive_ = True
    u'The Multi Dimension Workspace Interface.'
    _iid_ = GUID('{88B7B494-1C1D-4B6C-A1DB-28900AFA96EC}')
    _idlflags_ = ['oleautomation']
IMDWorkspace._methods_ = [
    COMMETHOD([helpstring(u'Creates a dataset from a view definition.')], HRESULT, 'CreateView',
              ( ['in'], BSTR, 'viewName' ),
              ( ['in'], POINTER(IMDDatasetView), 'pView' ),
              ( ['retval', 'out'], POINTER(POINTER(comtypes.gen._0475BDB1_E5B2_4CA2_9127_B4B1683E70C2_0_10_2.IDataset)), 'ppOut' )),
]
################################################################
## code template for IMDWorkspace implementation
##class IMDWorkspace_Impl(object):
##    def CreateView(self, viewName, pView):
##        u'Creates a dataset from a view definition.'
##        #return ppOut
##

class IProtectNamesDataSourcesNetCDF(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IUnknown):
    _case_insensitive_ = True
    _iid_ = GUID('{00E0F03E-D94D-4CB0-A711-7F7C59C51196}')
from comtypes.automation import VARIANT
from ctypes.wintypes import VARIANT_BOOL
from comtypes import IPersist
from comtypes import CoClass
from comtypes.persist import IErrorLog
from comtypes.persist import IPersistPropertyBag
from comtypes.automation import VARIANT


class IOnCallback(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IUnknown):
    _case_insensitive_ = True
    'Itestcls Interface'
    _iid_ = GUID('{14959376-8EA5-11D2-A61A-0000C0101AEE}')
    _idlflags_ = []
IOnCallback._methods_ = [
    COMMETHOD([helpstring('method OnEventSet')], HRESULT, 'OnEventSet'),
    COMMETHOD([helpstring('method OnFreezeEvents')], HRESULT, 'OnFreezeEvents',
              ( ['in'], c_int, 'bEventsFrozen' )),
]
################################################################
## code template for IOnCallback implementation
##class IOnCallback_Impl(object):
##    def OnEventSet(self):
##        'method OnEventSet'
##        #return 
##
##    def OnFreezeEvents(self, bEventsFrozen):
##        'method OnFreezeEvents'
##        #return 
##
Esempio n. 14
0
class IVirtualDesktopManagerInternal(comtypes.IUnknown):
    _case_insensitive_ = True
    _iid_ = IID_IVirtualDesktopManagerInternal
    _idlflags_ = []
    _methods_ = [
        COMMETHOD(
            [helpstring('Method GetCount')],
            HRESULT,
            'GetCount',
            (['out'], POINTER(UINT), 'pCount'),
        ),
        COMMETHOD(
            [helpstring('Method MoveViewToDesktop')],
            HRESULT,
            'MoveViewToDesktop',
            (['out'], POINTER(IApplicationView), 'pView'),
            (['out'], POINTER(IVirtualDesktop), 'pDesktop'),
        ),
        COMMETHOD(
            [helpstring('Method CanViewMoveDesktops')],
            HRESULT,
            'CanViewMoveDesktops',
            (['out'], POINTER(IApplicationView), 'pView'),
            (['out'], POINTER(INT), 'pfCanViewMoveDesktops'),
        ),
        COMMETHOD(
            [helpstring('Method GetCurrentDesktop')],
            HRESULT,
            'GetCurrentDesktop',
            (['out'], POINTER(POINTER(IVirtualDesktop)), 'desktop'),
        ),
        COMMETHOD(
            [helpstring('Method GetDesktops')],
            HRESULT,
            'GetDesktops',
            (['out'], POINTER(POINTER(IObjectArray)), 'ppDesktops'),
        ),
        COMMETHOD(
            [helpstring('Method GetAdjacentDesktop')],
            HRESULT,
            'GetAdjacentDesktop',
            (['out'], POINTER(IVirtualDesktop), 'pDesktopReference'),
            (['in'], AdjacentDesktop, 'uDirection'),
            (['out'], POINTER(POINTER(IVirtualDesktop)), 'ppAdjacentDesktop'),
        ),
        COMMETHOD(
            [helpstring('Method SwitchDesktop')],
            HRESULT,
            'SwitchDesktop',
            (['in'], POINTER(IVirtualDesktop), 'pDesktop'),
        ),
        COMMETHOD(
            [helpstring('Method CreateDesktopW')],
            HRESULT,
            'CreateDesktopW',
            (['out'], POINTER(POINTER(IVirtualDesktop)), 'ppNewDesktop'),
        ),
        COMMETHOD(
            [helpstring('Method RemoveDesktop')],
            HRESULT,
            'RemoveDesktop',
            (['in'], POINTER(IVirtualDesktop), 'pRemove'),
            (['in'], POINTER(IVirtualDesktop), 'pFallbackDesktop'),
        ),
        COMMETHOD(
            [helpstring('Method FindDesktop')],
            HRESULT,
            'FindDesktop',
            (['in'], POINTER(GUID), 'desktopId'),
            (['out'], POINTER(POINTER(IVirtualDesktop)), 'ppDesktop'),
        ),
    ]
Esempio n. 15
0
# values for enumeration 'IviDCPwrMeasurementTypeEnum'
IviDCPwrMeasurementCurrent = 0
IviDCPwrMeasurementVoltage = 1
IviDCPwrMeasurementTypeEnum = c_int # enum
class IIviDCPwrOutputs(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IUnknown):
    _case_insensitive_ = True
    'IviDCPwr class-compliant IIviDCPwrOutputs collection interface'
    _iid_ = GUID('{47ED51B7-A398-11D4-BA58-000064657374}')
    _idlflags_ = ['oleautomation']
class IIviDCPwrOutput(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IUnknown):
    _case_insensitive_ = True
    'IviDCPwr class-compliant IIviDCPwrOutput interface'
    _iid_ = GUID('{47ED51B8-A398-11D4-BA58-000064657374}')
    _idlflags_ = ['oleautomation']
IIviDCPwrOutputs._methods_ = [
    COMMETHOD(['propget', helpstring('Pointer to a class-compliant IIviDCPwrOutput interface.  The OutputName parameter may be a string defined by the driver or supplied as a virtual name in the configuration store.')], HRESULT, 'Item',
              ( ['in'], BSTR, 'OutputName' ),
              ( ['out', 'retval'], POINTER(POINTER(IIviDCPwrOutput)), 'pVal' )),
    COMMETHOD(['propget', helpstring('property Count contains how many outputs this DC power supply has. It is also the maximum valid value for the Index parameter to the Name method of the Outputs interface.')], HRESULT, 'Count',
              ( ['out', 'retval'], POINTER(c_int), 'pVal' )),
    COMMETHOD(['propget', helpstring('property Name is the string associated by the driver to the value of Index without ever referring to the configuration store.')], HRESULT, 'Name',
              ( ['in'], c_int, 'Index' ),
              ( ['out', 'retval'], POINTER(BSTR), 'Name' )),
]
################################################################
## code template for IIviDCPwrOutputs implementation
##class IIviDCPwrOutputs_Impl(object):
##    @property
##    def Item(self, OutputName):
##        'Pointer to a class-compliant IIviDCPwrOutput interface.  The OutputName parameter may be a string defined by the driver or supplied as a virtual name in the configuration store.'
##        #return pVal
Esempio n. 16
0
    'LambdaGenPS output interface.'
    _iid_ = GUID('{8774DDD8-07B2-48C1-865D-AE866F8F17A8}')
    _idlflags_ = ['oleautomation']

# values for enumeration 'LambdaGenPSOperatingModeEnum'
LambdaGenPSOperatingModeConstantVoltage = 0
LambdaGenPSOperatingModeConstantCurrent = 1
LambdaGenPSOperatingModeOff = 2
LambdaGenPSOperatingModeEnum = c_int # enum

# values for enumeration 'LambdaGenPSPowerOnModeEnum'
LambdaGenPSPowerOnModeSafeStart = 0
LambdaGenPSPowerOnModeAutoRestart = 1
LambdaGenPSPowerOnModeEnum = c_int # enum
ILambdaGenPSOutput._methods_ = [
    COMMETHOD([helpstring('Returns the measured current at the output terminals')], HRESULT, 'MeasureCurrent',
              ( ['out', 'retval'], POINTER(c_double), 'Val' )),
    COMMETHOD([helpstring('Returns the measured voltage at the output terminals')], HRESULT, 'MeasureVoltage',
              ( ['out', 'retval'], POINTER(c_double), 'Val' )),
    COMMETHOD(['propget', helpstring('Gets or sets the voltage limit.')], HRESULT, 'VoltageLimit',
              ( ['out', 'retval'], POINTER(c_double), 'Val' )),
    COMMETHOD(['propput', helpstring('Gets or sets the voltage limit.')], HRESULT, 'VoltageLimit',
              ( ['in'], c_double, 'Val' )),
    COMMETHOD(['propget', helpstring('Gets or sets the current limit.')], HRESULT, 'CurrentLimit',
              ( ['out', 'retval'], POINTER(c_double), 'Val' )),
    COMMETHOD(['propput', helpstring('Gets or sets the current limit.')], HRESULT, 'CurrentLimit',
              ( ['in'], c_double, 'Val' )),
    COMMETHOD(['propget', helpstring('Enables or disables the power supply output.')], HRESULT, 'Enabled',
              ( ['out', 'retval'], POINTER(VARIANT_BOOL), 'Val' )),
    COMMETHOD(['propput', helpstring('Enables or disables the power supply output.')], HRESULT, 'Enabled',
              ( ['in'], VARIANT_BOOL, 'Val' )),
Esempio n. 17
0
class IApplicationView(IInspectable):
    _case_insensitive_ = True
    _iid_ = IID_IApplicationView
    _idlflags_ = []
    _methods_ = [
        COMMETHOD(
            [helpstring('Method get_Orientation')],
            HRESULT,
            'get_Orientation',
            (['retval', 'out'], POINTER(ApplicationViewOrientation), 'value'),
        ),
        COMMETHOD(
            [helpstring('Method get_AdjacentToLeftDisplayEdge')],
            HRESULT,
            'get_AdjacentToLeftDisplayEdge',
            (['retval', 'out'], POINTER(BOOL), 'value'),
        ),
        COMMETHOD(
            [helpstring('Method get_AdjacentToRightDisplayEdge')],
            HRESULT,
            'get_AdjacentToRightDisplayEdge',
            (['retval', 'out'], POINTER(BOOL), 'value'),
        ),
        COMMETHOD(
            [helpstring('Method get_IsFullScreen')],
            HRESULT,
            'get_IsFullScreen',
            (['retval', 'out'], POINTER(BOOL), 'value'),
        ),
        COMMETHOD(
            [helpstring('Method get_IsOnLockScreen')],
            HRESULT,
            'get_IsOnLockScreen',
            (['retval', 'out'], POINTER(BOOL), 'value'),
        ),
        COMMETHOD(
            [helpstring('Method get_IsScreenCaptureEnabled')],
            HRESULT,
            'get_IsScreenCaptureEnabled',
            (['retval', 'out'], POINTER(BOOL), 'value'),
        ),
        COMMETHOD(
            [helpstring('Method put_IsScreenCaptureEnabled')],
            HRESULT,
            'put_IsScreenCaptureEnabled',
            (['in'], BOOL, 'value'),
        ),
        COMMETHOD(
            [helpstring('Method put_Title')],
            HRESULT,
            'put_Title',
            (['in'], HSTRING, 'value'),
        ),
        COMMETHOD(
            [helpstring('Method get_Title')],
            HRESULT,
            'get_Title',
            (['retval', 'out'], POINTER(HSTRING), 'value'),
        ),
        COMMETHOD(
            [helpstring('Method get_Id')],
            HRESULT,
            'get_Id',
            (['retval', 'out'], POINTER(INT32), 'value'),
        ),
        COMMETHOD(
            [helpstring('Method add_Consolidated')],
            HRESULT,
            'add_Consolidated',
            (['in'
              ], POINTER(IApplicationViewConsolidatedEventArgs), 'handler'),
            (['retval', 'out'], POINTER(EventRegistrationToken), 'token'),
        ),
        COMMETHOD(
            [helpstring('Method remove_Consolidated')],
            HRESULT,
            'remove_Consolidated',
            ([
                'in',
            ], EventRegistrationToken, 'EventRegistrationToken'),
        ),
    ]
Esempio n. 18
0
from comtypes import dispid
from ctypes.wintypes import VARIANT_BOOL


class IIviComponentIdentity(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IUnknown):
    _case_insensitive_ = True
    'IVI Driver component identity interface'
    _iid_ = GUID('{47ED5185-A398-11D4-BA58-000064657374}')
    _idlflags_ = ['oleautomation']
class IIviDriverIdentity(IIviComponentIdentity):
    _case_insensitive_ = True
    'IVI Driver driver identity interface'
    _iid_ = GUID('{47ED5186-A398-11D4-BA58-000064657374}')
    _idlflags_ = ['oleautomation']
IIviComponentIdentity._methods_ = [
    COMMETHOD(['propget', helpstring('A brief description of the implementing component.  Description is limted to 256 bytes.')], HRESULT, 'Description',
              ( ['out', 'retval'], POINTER(BSTR), 'pVal' )),
    COMMETHOD(['propget', helpstring('The revision of the implementing component.  Refer to IVI-3.2, Section 3.1.2.2, for a description of revision syntax and semantics.  Revision is limited to 256 bytes.')], HRESULT, 'Revision',
              ( ['out', 'retval'], POINTER(BSTR), 'pVal' )),
    COMMETHOD(['propget', helpstring('The name of the vendor that supplies the implementing component.  Vendor is limited to 256 bytes.')], HRESULT, 'Vendor',
              ( ['out', 'retval'], POINTER(BSTR), 'pVal' )),
]
################################################################
## code template for IIviComponentIdentity implementation
##class IIviComponentIdentity_Impl(object):
##    @property
##    def Description(self):
##        'A brief description of the implementing component.  Description is limted to 256 bytes.'
##        #return pVal
##
##    @property
Esempio n. 19
0
from comtypes import helpstring
from comtypes import COMMETHOD
from comtypes import dispid
from comtypes import CoClass
from comtypes.automation import VARIANT
#from comtypes import IUnknown
from comtypes.automation import IDispatch


class IHostDrv(IDispatch):
    _case_insensitive_ = True
    u'IHostDrv Interface'
    _iid_ = GUID('{41487896-06E3-42ED-AA6A-25FC6E99C4FB}')
    _idlflags_ = ['dual', 'oleautomation']
IHostDrv._methods_ = [
    COMMETHOD([dispid(1), helpstring(u'method CIUsb_GetStatus')], HRESULT, 'CIUsb_GetStatus',
              ( ['in'], c_int, 'nDevId' ),
              ( ['in'], c_int, 'nStatId' ),
              ( ['out'], POINTER(c_int), 'p_nStatus' )),
    COMMETHOD([dispid(2), helpstring(u'method CIUsb_SetControl')], HRESULT, 'CIUsb_SetControl',
              ( ['in'], c_int, 'nDevId' ),
              ( ['in'], c_int, 'nCntlId' ),
              ( ['out'], POINTER(c_int), 'p_nStatus' )),
    COMMETHOD([dispid(3), helpstring(u'method CIUsb_SendFrameData')], HRESULT, 'CIUsb_SendFrameData',
              ( ['in'], c_int, 'nDevId' ),
              ( ['in'], POINTER(c_ubyte), 'pFrameData' ),
              ( ['in'], c_int, 'nBuffSize' ),
              ( ['out'], POINTER(c_int), 'p_nStatus' )),
    COMMETHOD([dispid(4), helpstring(u'method CIUsb_SetNotify')], HRESULT, 'CIUsb_SetNotify',
              ( ['in'], ULONG_PTR, 'uWindow' ),
              ( ['in'], c_uint, 'uMessageId' )),
Esempio n. 20
0
##        '-no docstring-'
##        #return isLast
##


# values for enumeration '__MIDL___MIDL_itf_AcrobatAccess_0000_0009_0001'
IPDDOM_OPT_CLIPPEDLOCATION = 1
IPDDOM_OPT_RELATIVELOCATION = 2
__MIDL___MIDL_itf_AcrobatAccess_0000_0009_0001 = c_int # enum
class IPDDomGroupInfo(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IUnknown):
    _case_insensitive_ = True
    u'GroupInfo Interface'
    _iid_ = GUID('{35ADDC4B-B470-45F9-B29C-B6845949A4FE}')
    _idlflags_ = ['dual', 'oleautomation']
IPDDomGroupInfo._methods_ = [
    COMMETHOD([dispid(24), helpstring(u'method GetGroupPosition')], HRESULT, 'GetGroupPosition',
              ( ['out'], POINTER(c_int), 'groupSize' ),
              ( ['out'], POINTER(c_int), 'position' )),
]
################################################################
## code template for IPDDomGroupInfo implementation
##class IPDDomGroupInfo_Impl(object):
##    def GetGroupPosition(self):
##        u'method GetGroupPosition'
##        #return groupSize, position
##

IOleWindow._methods_ = [
    COMMETHOD([], HRESULT, 'GetWindow',
              ( ['out'], POINTER(wireHWND), 'phwnd' )),
    COMMETHOD([], HRESULT, 'ContextSensitiveHelp',
class IEnumVersions(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IUnknown):
    _case_insensitive_ = True
    u'IEnumVersions Interface'
    _iid_ = GUID('{18F07A02-956A-4D44-979B-B006ECC81D93}')
    _idlflags_ = ['nonextensible', 'oleautomation']

# values for enumeration 'esriProductCode'
esriArcGIS = 0
esriArcGISDesktop = 1
esriArcGISEngine = 2
esriArcGISReader = 3
esriArcGISExplorer = 4
esriArcGISServer = 5
esriProductCode = c_int # enum
IEnumVersions._methods_ = [
    COMMETHOD([helpstring(u'Resets the enumerator to the beggining of the sequence.')], HRESULT, 'Reset'),
    COMMETHOD([helpstring(u'Returns the next version in the sequence of installed versions.')], HRESULT, 'Next',
              ( ['out'], POINTER(esriProductCode), 'pCode' ),
              ( ['out'], POINTER(BSTR), 'pVer' ),
              ( ['out'], POINTER(BSTR), 'path' )),
]
################################################################
## code template for IEnumVersions implementation
##class IEnumVersions_Impl(object):
##    def Reset(self):
##        u'Resets the enumerator to the beggining of the sequence.'
##        #return 
##
##    def Next(self):
##        u'Returns the next version in the sequence of installed versions.'
##        #return pCode, pVer, path