The following code illustrates how to convert a string to a four-character code.

   FOURCC fcc;
    ...

   fcc = mmioStringToFOURCC( "IMG", MMIO_TOUPPER );

   if (!fcc)
     /* error */
   else
    ...


[Back] [Next]