ulCode (ULONG) - input

      The following flags are used to control the find operation:

      MMIO_FE_FINDFIRST

        Find the first element in the specified compound file.
      MMIO_FE_FINDNEXT
        Find the next element in the specified compound file.
      MMIO_FE_FINDELEMENT
        Search for an element in the specified compound file. MMIO_FE_FINDELEMENT supersedes a MMIO_FE_FINDFIRST/MMIO_FE_FINDNEXT search on the same file.
      MMIO_FE_FINDEND
        Complete the search of a compound file. MMIO_FE_FINDEND is called after MMIO_FE_FINDELEMENT, MMIO_FE_FINDNEXT, or MMIO_FE_FINDFIRST.

      pszElement (PSZ) - in/out

        Pointer to a compound-file element name.

      ulElementLen (ULONG) - input

        Length of the buffer the pszElement points to.

      pszFile (PSZ) - input

        Pointer to a RIFF compound-file name. This parameter should contain just the name of the compound file and not include the element name specification.

      ulReserved (ULONG) - input

        Reserved for future use and must be set to zero.

      rc (ULONG) - returns

        Return code indicating success or type of failure:

        MMIO_SUCCESS

          If the function succeeds, 0 is returned.
        MMIOERR_CF_ENTRY_NOT_FOUND
          The element cannot be found.
        MMIOERR_INVALID_PARAMETER
          If any parameter is missing.
        ERROR_INVALID_PARAMETER
          If ulReserved is not zero.
        ERROR_BUFFER_OVERFLOW
          Element name is longer than ulElementLen.


        [Back] [Next]