hmmcf (HMMCF) - input

      A RIFF compound-file handle returned by mmioCFOpen.

    pmmctocentry (PMMCTOCENTRY) - input

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

    ulFlags (ULONG) - input

      Specifies options for the operation. Contains none or the following flag:

      MMIO_CHANGEDELETED

        Allows a deleted CTOC entry to be changed.

      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. The ulErrorRet field of the MMIOINFO structure contains additional information as follows:

          MMIOERR_CF_ENTRY_NOT_FOUND

            The CTOC entry corresponding to the element was not found.
          MMIOERR_INTERNAL_SYSTEM
            The operation failed due to an internal system error.


          [Back] [Next]