ulFlags (ULONG) - input

      Contains none or some of the following flags. The MMIO_READ, MMIO_WRITE, and MMIO_READWRITE flags are mutually exclusive.

      MMIO_READ

        Open the file for reading only. This is the default if MMIO_WRITE and MMIO_READWRITE are not specified.
      MMIO_WRITE
        Open the file for writing. A file cannot be read from if the file is opened in this mode.
      MMIO_READWRITE
        Open the file for both reading and writing.
      MMIO_EXCLUSIVE
        Open the file with exclusive mode, denying other processes both read and write access to the file. mmioCFOpen fails if the file has been opened in any other mode for read or write access, even by the current process.
      MMIO_DENYWRITE
        Open the file and deny other processes write access to the file. mmioCFOpen fails if the file has been opened by a compatible process or for write access by any other process.
      MMIO_DENYREAD
        Open the file and deny other processes read access to the file. mmioCFOpen fails if the file has been opened by a compatible process or for read access by any other process.
      MMIO_DENYNONE
        Open the file and deny other processes read access to the file. mmioCFOpen fails if the file has been opened by a compatible process or for read access by any other process.
      MMIO_CREATE
        Directs mmioCFOpen to create a new file. If the file already exists, it is truncated to 0 length, unless it is already opened. In that case, a handle (HMMCF) to the RIFF compound file is returned.


      [Back] [Next]