The following code illustrates how to determine the file processing capability of the IOProcs.

   MMIOINFO mmioinfo;
   MMFORMATINFO mmFormatInfo;
   FOURCC fccType;
   ULONG ulReserved = 0L;
   ULONG ulFlags = 0L;
   ULONG rc;
    ...

   memset( &mmioinfo, '\0', sizeof(MMIOINFO) );
   memset( &mmFormatInfo, '\0', sizeof(MMFORMATINFO) );

   rc = mmioIdentifyFile( "myfile.bnd+element.foo",
                          &mmioinfo,
                          &mmFormatInfo,
                          &fccType,
                          ulReserved,
                          ulFlags);
   if (rc)
     /* error */
   else
    ...


[Back] [Next]