pCODECIniFileInfo (PCODECINIFILEINFO) - input

      Pointer to a structure containing the CODEC information. The search parameters used to load the CODEC procedure are specified in the ulFlags parameter.

    phMod (PHMODULE) - output

      Pointer to the returned module handle of the loaded CODEC procedure.

    ulFlags (ULONG) - input

      Specifies options for the operation. Contains one of the following flags:

      MMIO_MATCHCOMPRESSTYPE

        Uses compression type (ulCompressType field of CODECINIFILEINFO) as a search criteria for loading the CODEC procedure.
      MMIO_MATCHCOMPRESSSUBTYPE
        Uses the compression subtype (ulCompressSubType field of CODECINIFILEINFO) as a search criteria for loading the CODEC procedure.
      MMIO_MATCHHWID
        Uses the hardware ID (szHWID field of CODECINIFILEINFO) as a search criteria for loading the CODEC procedure.
      MMIO_MATCHCAPSFLAGS
        Uses the capability flags (ulCapsFlags field of CODECINIFILEINFO) as a search criteria for loading the CODEC procedure. This is not based on an exact match. If the target entry contains the flags, the match is satisfied.
      MMIO_SKIPMATCH
        Skips the search and loads the CODEC procedure using the DLL name (szDLLName) and Procedure name (szProcName) specified in the CODECINIFILEINFO structure.
      MMIO_MATCHDLL
        Uses the DLL Name (szDLLName field of CODECINIFILEINFO) as a search criteria for loading the CODEC procedure.
      MMIO_MATCHFOURCC
        Uses the FOURCC code (fcc field of CODECINIFILEINFO) as a search criteria for loading the CODEC procedure.
      MMIO_MATCHPROCEDURENAME
        Uses the case-sensitive procedure name (szProcName field of CODECINIFILEINFO) as a search criteria for loading the CODEC procedure.

      rc (PCODECPROC) - returns

        Upon successful completion, this function returns the address of the CODEC procedure that has been loaded. If a failure occurs, NULL is returned.


      [Back] [Next]