VARPTR Property


PLBCMP GUI Only

 

The VARPTR property indicates that a VARIANT is passed to an OLE application for a property or method parameter as a VT_VARIANT type. The property uses the following format:

VARPTR={value}

Note the following:

  1. VARPTR may be used in CREATE, SETPROP, or GETPROP statements of a VARIANT object.

  2. This property causes the runtime to pass a VT_VARIANT to the interface that contains the address of the variant data.

  3. The requirement for passing a VT_VARIANT is controlled by the OLE application employed by the PLB program.

  4. {value} is a decimal number, a Numeric Variable, a DIM array, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:

  5.  

    Value

    Keyword

    Arguments are passed as a....

    0

    $OFF

    VARIANT type. (default)

    1

    $ON

    pointer to a VARIANT object.

    2

     

    pointer to the VARIANT value.

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference VARABSVALUE Property VARTYPE Property