The following code illustrates how to access the MMIOINFO data structure.

   HMMIO hmmio1;
   MMIOINFO mmioinfo;
   USHORT usFlags = 0;
   USHORT rc;
    ...

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

   rc = mmioGetData( hmmio1, &mmioinfo, usFlags);
   if (rc)
     /* error */
   else
    ...


[Back] [Next]