pRecord (PRECORDCORE)

      Pointer to the RECORDCORE structure used to search for the next or previous container record.

      If the CMA_FIRST or CMA_LAST attribute is specified, this is ignored.

    cmd (USHORT)

      Command that indicates which container record to retrieve:

      CMA_FIRST

        First record in the container.
      CMA_FIRSTCHILD
        First child record of pRecord specified in param1.
      CMA_LAST
        Last record in the container.
      CMA_LASTCHILD
        Last child record of pRecord specified in param1.
      CMA_NEXT
        Next record of pRecord specified in param1.
      CMA_PARENT
        Parent of pRecord specified in param1.
      CMA_PREV
        Previous record of pRecord specified in param1.

      fsSearch (USHORT)

        Enumeration order.

        Specifies the enumeration order. This value is one of the following:

        CMA_ITEMORDER

          Container records are enumerated in item order, first to last.
        CMA_ZORDER
          Container records are enumerated by z-order, from first record in the z-order to the last record. The last z-order record is the last record to be drawn. This flag is valid for the icon view only.

        pRecord (PRECORDCORE)

          Pointer to the RECORDCORE structure for which data was requested.

          NULL

            No RECORDCORE structures to retrieve.
          -1
            The container record data was not returned. The WinGetLastError function may return the following error:

              PMERR_INVALID_PARAMETERS.

            Other
              Pointer to the container record for which data was requested.


            [Back] [Next]