ADS_RCP_METHOD_PARAM_FLAGS: {
    Attributes: number;
    ByReference: number;
    In: number;
    MaskRpcArrayDim: number;
    Out: number;
    RpcOutPtr: number;
    toStringArray: ((flags: number) => string[]);
} = ...

ADS RCP method parameter flags

Source: TwinCAT.Ads.dll By Beckhoff

Type declaration

  • Attributes: number

    Attributes (ADSMETHODPARAFLAG_ATTRIBUTES, 0x00000040)

  • ByReference: number

    By reference Parameter (ADSMETHODPARAFLAG_BYREFERENCE) This flag indicates parameters that are transfered as REFERENCE or POINTER Types.

  • In: number

    Input Parameter (ADSMETHODPARAFLAG_IN)

  • MaskRpcArrayDim: number

    (ADSMETHODPARAFLAG_RPC_ARRAYDIM_MASK,0x00000030)

  • Out: number

    Output Parameter (ADSMETHODPARAFLAG_OUT)

  • RpcOutPtr: number

    (ADSMETHODPARAFLAG_RPC_OUTPTR, 0x00000008)

  • toStringArray: ((flags: number) => string[])

    Return given flag value as string array

      • (flags): string[]
      • Parameters

        • flags: number

        Returns string[]