Module cCJPropExchange.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: {A56F6C0F-BCC7-48A0-B69E-6DD726B9B309}
     5{ ClassLibrary=Windows }
     6Class cCJPropExchange is a cComAutomationObject
     7
     8    { MethodType=Property DesignTime=False }
     9    Function ComValue Returns Variant
    10        Variant retVal
    11        Get ComProperty of (phDispatchDriver(Self)) 0 OLE_VT_VARIANT to retVal
    12        Function_Return retVal
    13    End_Function
    14
    15    { MethodType=Property DesignTime=False }
    16    Procedure Set ComValue Variant value
    17        Set ComProperty of (phDispatchDriver(Self)) 0 OLE_VT_VARIANT to value
    18    End_Procedure
    19
    20    { MethodType=Property DesignTime=False }
    21    Function ComEncoding Returns String
    22        String retVal
    23        Get ComProperty of (phDispatchDriver(Self)) 11 OLE_VT_BSTR to retVal
    24        Function_Return retVal
    25    End_Function
    26
    27    { MethodType=Property DesignTime=False }
    28    Procedure Set ComEncoding String value
    29        Set ComProperty of (phDispatchDriver(Self)) 11 OLE_VT_BSTR to value
    30    End_Procedure
    31
    32    Function ComCreateAsXML Boolean llLoading String llSection Returns Boolean
    33        Handle hDispatchDriver
    34        Boolean retVal
    35        Get phDispatchDriver to hDispatchDriver
    36        Send PrepareParams to hDispatchDriver 2
    37        Send DefineParam to hDispatchDriver OLE_VT_BOOL llLoading
    38        Send DefineParam to hDispatchDriver OLE_VT_BSTR llSection
    39        Get InvokeComMethod of hDispatchDriver 1 OLE_VT_BOOL to retVal
    40        Function_Return retVal
    41    End_Function
    42
    43    Function ComCreateAsRegistry Boolean llLoading String llSection Returns Boolean
    44        Handle hDispatchDriver
    45        Boolean retVal
    46        Get phDispatchDriver to hDispatchDriver
    47        Send PrepareParams to hDispatchDriver 2
    48        Send DefineParam to hDispatchDriver OLE_VT_BOOL llLoading
    49        Send DefineParam to hDispatchDriver OLE_VT_BSTR llSection
    50        Get InvokeComMethod of hDispatchDriver 2 OLE_VT_BOOL to retVal
    51        Function_Return retVal
    52    End_Function
    53
    54    Function ComCreateAsBinaryFile Boolean llLoading String llPath Returns Boolean
    55        Handle hDispatchDriver
    56        Boolean retVal
    57        Get phDispatchDriver to hDispatchDriver
    58        Send PrepareParams to hDispatchDriver 2
    59        Send DefineParam to hDispatchDriver OLE_VT_BOOL llLoading
    60        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPath
    61        Get InvokeComMethod of hDispatchDriver 3 OLE_VT_BOOL to retVal
    62        Function_Return retVal
    63    End_Function
    64
    65    Function ComLoadFromFile String llPath Returns Boolean
    66        Handle hDispatchDriver
    67        Boolean retVal
    68        Get phDispatchDriver to hDispatchDriver
    69        Send PrepareParams to hDispatchDriver 1
    70        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPath
    71        Get InvokeComMethod of hDispatchDriver 4 OLE_VT_BOOL to retVal
    72        Function_Return retVal
    73    End_Function
    74
    75    Procedure ComSaveToFile String llPath
    76        Handle hDispatchDriver
    77        Get phDispatchDriver to hDispatchDriver
    78        Send PrepareParams to hDispatchDriver 1
    79        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPath
    80        Send InvokeComMethod to hDispatchDriver 5 OLE_VT_VOID
    81    End_Procedure
    82
    83    Function ComGetSection String llSection Returns Variant
    84        Handle hDispatchDriver
    85        Variant retVal
    86        Get phDispatchDriver to hDispatchDriver
    87        Send PrepareParams to hDispatchDriver 1
    88        Send DefineParam to hDispatchDriver OLE_VT_BSTR llSection
    89        Get InvokeComMethod of hDispatchDriver 7 OLE_VT_DISPATCH to retVal
    90        Function_Return retVal
    91    End_Function
    92
    93    Procedure ComExchangeString String llPropName String ByRef llValue String llDefaultValue
    94        Handle hDispatchDriver
    95        Get phDispatchDriver to hDispatchDriver
    96        Send PrepareParams to hDispatchDriver 3
    97        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPropName
    98        Send DefineParam to hDispatchDriver (OLE_VT_BYREF ior OLE_VT_BSTR) llValue
    99        Send DefineParam to hDispatchDriver OLE_VT_BSTR llDefaultValue
   100        Send InvokeComMethod to hDispatchDriver 8 OLE_VT_VOID
   101    End_Procedure
   102
   103    Procedure ComExchangeInt String llPropName Integer ByRef llValue Integer llDefaultValue
   104        Handle hDispatchDriver
   105        Get phDispatchDriver to hDispatchDriver
   106        Send PrepareParams to hDispatchDriver 3
   107        Send DefineParam to hDispatchDriver OLE_VT_BSTR llPropName
   108        Send DefineParam to hDispatchDriver (OLE_VT_BYREF ior OLE_VT_I4) llValue
   109        Send DefineParam to hDispatchDriver OLE_VT_I4 llDefaultValue
   110        Send InvokeComMethod to hDispatchDriver 9 OLE_VT_VOID
   111    End_Procedure
   112
   113    { MethodType=Property DesignTime=False }
   114    Function ComLoading Returns Boolean
   115        Handle hDispatchDriver
   116        Boolean retVal
   117        Get phDispatchDriver to hDispatchDriver
   118        Get InvokeComMethod of hDispatchDriver 12 OLE_VT_BOOL to retVal
   119        Function_Return retVal
   120    End_Function
   121
   122    { MethodType=Property DesignTime=False }
   123    Function ComValid Returns Boolean
   124        Handle hDispatchDriver
   125        Boolean retVal
   126        Get phDispatchDriver to hDispatchDriver
   127        Get InvokeComMethod of hDispatchDriver 13 OLE_VT_BOOL to retVal
   128        Function_Return retVal
   129    End_Function
   130
   131    Procedure ComEmptySection
   132        Handle hDispatchDriver
   133        Get phDispatchDriver to hDispatchDriver
   134        Send InvokeComMethod to hDispatchDriver 14 OLE_VT_VOID
   135    End_Procedure
   136End_Class
   137
   138