hab (HAB) - input

      Anchor-block handle.

    msgid (ULONG) - input

      Message identifier.

      This must not be less than WM_USER, and must not have been defined previously.

    datatype1 (LONG) - input

      Data type of message parameter 1.

      Valid data types are listed below. For data types that are shorter than 4 bytes, the data must be placed in the least-significant bytes, with the most significant bytes nullified (unsigned data types) or signed-extended (signed data types).

      DTYP_BIT16

        See BIT16 data type.
      DTYP_BIT32
        See BIT32 data type.
      DTYP_BIT8
        See BIT8 data type.
      DTYP_BOOL
        See BOOL data type.
      DTYP_LONG
        See LONG data type.
      DTYP_SHORT
        See SHORT data type.
      DTYP_UCHAR
        See UCHAR data type.
      DTYP_ULONG
        See ULONG data type.
      DTYP_USHORT
        See USHORT data type.
      DTYP_P*
        A pointer to a system data type. Note that not all of the system data types that exist in the CPI are valid.
      < -DTYP_USER
        A pointer to a user data type. The user data type must have already been defined via WinRegisterUserDatatype.

      dir1 (LONG) - input

        Direction of message parameter 1.

        If the message parameter is a pointer, the direction values listed below apply to the contents of the storage location pointed at, as well as to the message parameter itself.

        RUM_IN

          Input parameter (inspected by the recipient of the message, but not altered)
        RUM_OUT
          Output parameter (altered by the recipient of the message, without inspecting its value first)
        RUM_INOUT
          Input/output parameter (inspected by the recipient of the message, and then altered).

        datatype2 (LONG) - input

          Data type of message parameter 2.

          See the description of datatype1.

        dir2 (LONG) - input

          Direction of message parameter 2.

          See the description of dir1.

        datatyper (LONG) - input

          Data type of message reply.

          See the description of datatype1. The message reply is always an output parameter.

        rc (BOOL) - returns

          Success indicator.

          TRUE

            Successful completion
          FALSE
            Error occurred.


          [Back] [Next]