This parameter can be used to specify that an element
is to be searched for by some attribute other than name. The MMIO_FINDFIRST
and MMIO_FINDNEXT flags are mutually exclusive. An MMIOERR_CF_ENTRY_NOT_USED
error is returned if a matching entry is not found or if MMIO_FINDNEXT was
specified and no more entries match the search CTOC entry.
The following flags are supported:
MMIO_FINDFIRST
Find the first entry in the CTOC
table.
MMIO_FINDNEXT
Find
the next entry in the CTOC table after the entry previously found and returned
in the pmmctocentry parameter. The pmmctocentry parameter
must contain the previous CTOC entry. Returns NULL if pmmctocentry refers
to the last entry.
MMIO_FINDDELETED
Find
an entry in the CTOC table that has been marked as deleted
MMIO_FINDUNUSED
Find an entry in the CTOC table that has been marked
as unused. A default compound file contains 16 unused CTOC entries in the
CTOC table. As each CTOC entry and element is added, one of these unused
entries is used.