Module cCJDataObject.pkg

     1// Visual DataFlex COM proxy classes generated from C:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v13.4.2\Bin\Codejock.CommandBars.v13.4.2.ocx
     2Use FlexCom20.pkg
     3
     4// CLSID: {874943D3-FA03-4665-ACFF-ECC47327FD01}
     5{ ClassLibrary=Windows }
     6Class cCJDataObjectFiles is a cComAutomationObject
     7
     8    { MethodType=Property DesignTime=False }
     9    Function ComItem Integer llIndex Returns String
    10        Handle hDispatchDriver
    11        String retVal
    12        Get phDispatchDriver to hDispatchDriver
    13        Send PrepareParams to hDispatchDriver 1
    14        Send DefineParam to hDispatchDriver OLE_VT_I4 llIndex
    15        Get InvokeComMethod of hDispatchDriver 0 OLE_VT_BSTR to retVal
    16        Function_Return retVal
    17    End_Function
    18
    19    { MethodType=Property DesignTime=False }
    20    Function ComCount Returns Integer
    21        Handle hDispatchDriver
    22        Integer retVal
    23        Get phDispatchDriver to hDispatchDriver
    24        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_I4 to retVal
    25        Function_Return retVal
    26    End_Function
    27
    28    { MethodType=Property DesignTime=False }
    29    Function Com_NewEnum Returns Variant
    30        Handle hDispatchDriver
    31        Variant retVal
    32        Get phDispatchDriver to hDispatchDriver
    33        Get InvokeComMethod of hDispatchDriver -4 OLE_VT_UNKNOWN to retVal
    34        Function_Return retVal
    35    End_Function
    36End_Class
    37
    38// CLSID: {95713994-9ABD-45D4-B1E7-464CA3723C91}
    39{ ClassLibrary=Windows }
    40Class cCJDataObject is a cComAutomationObject
    41
    42    Function ComGetFormat Integer llFormat Returns Boolean
    43        Handle hDispatchDriver
    44        Boolean retVal
    45        Get phDispatchDriver to hDispatchDriver
    46        Send PrepareParams to hDispatchDriver 1
    47        Send DefineParam to hDispatchDriver OLE_VT_I4 llFormat
    48        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BOOL to retVal
    49        Function_Return retVal
    50    End_Function
    51
    52    { MethodType=Property DesignTime=False }
    53    Function ComFiles Returns Variant
    54        Handle hDispatchDriver
    55        Variant retVal
    56        Get phDispatchDriver to hDispatchDriver
    57        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_DISPATCH to retVal
    58        Function_Return retVal
    59    End_Function
    60
    61    Function ComGetData Integer llFormat Returns Variant
    62        Handle hDispatchDriver
    63        Variant retVal
    64        Get phDispatchDriver to hDispatchDriver
    65        Send PrepareParams to hDispatchDriver 1
    66        Send DefineParam to hDispatchDriver OLE_VT_I4 llFormat
    67        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_VARIANT to retVal
    68        Function_Return retVal
    69    End_Function
    70
    71    Procedure ComSetData Variant llvValue Variant llFormat
    72        Handle hDispatchDriver
    73        Get phDispatchDriver to hDispatchDriver
    74        Send PrepareParams to hDispatchDriver 2
    75        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llvValue
    76        Send DefineParam to hDispatchDriver OLE_VT_VARIANT llFormat
    77        Send InvokeComMethod to hDispatchDriver 4 OLE_VT_VOID
    78    End_Procedure
    79
    80    Procedure ComClear
    81        Handle hDispatchDriver
    82        Get phDispatchDriver to hDispatchDriver
    83        Send InvokeComMethod to hDispatchDriver 5 OLE_VT_VOID
    84    End_Procedure
    85End_Class
    86
    87