hmmcf (HMMCF) - input

      A RIFF compound-file handle returned by mmioCFOpen.

    pmmctocentry (PMMCTOCENTRY) - input

      A pointer to a user-supplied CTOC structure containing the CTOC data. This structure is variable in size and the user must ensure enough memory has been allocated for it.

    ulFlags (ULONG) - input

      (Flags currently not used.)

    rc (ULONG) - returns

      Return codes indicating success or type of failure:

      MMIO_CF_SUCCESS

        If the function succeeds, 0 is returned.
      MMIOERR_INVALID_HANDLE
        The handle passed was not valid.
      MMIOERR_INVALID_PARAMETER
        The parameter passed was not correct. For this function, a pmmctocentry NULL is invalid.
      MMIOERR_READ_ONLY_FILE
        The RIFF compound-file is opened as read-only.
      MMIO_CF_FAILURE
        The function failed. A call to mmioGetLastError might return one of the following errors:

        MMIOERR_CF_DUPLICATE_SEEN

          The requested entry already exists. This means that the element name is already defined in another CTOC entry.
        MMIOERR_NO_CORE
          Not enough memory is available.
        MMIOERR_INTERNAL_SYSTEM
          The operation failed due to an internal system error.


        [Back] [Next]