hmmcf (HMMCF) - input

      A RIFF compound-file handle returned by mmioCFOpen.

    pszElementName (PSZ) - input

      A pointer to the name of the element that is to be added to the compound file resource group (CGRP). The symbols + and | are not valid with an element name. Element names follow the same naming conventions as those for the DOS operating system.

    fccType (FOURCC) - input

      The four-character code (FOURCC) of the element.

    pchBuffer (PCHAR) - input

      A pointer to the caller-supplied buffer containing the element data.

    cchBytes (LONG) - input

      Length of caller-supplied buffer.

    ulFlags (ULONG) - input

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

      MMIO_CF_ENTRY_EXISTS

        Set only if the compound-file table of contents (CTOC) entry for this element already exists.

      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
          For this function a null pszElementName, pchBuffer, or cchBytes 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 may return:

          MMIOERR_INTERNAL_SYSTEM

            The operation failed due to an internal system error.


          [Back] [Next]