This function allows an application to access the MMIOINFO structure of the file referenced by hmmio and can be used to call an I/O procedure directly.

Do not change any of the fields in the MMIOINFO structure as this information is stored within MMIO.

#define INCL_MMIOOS2
#include <os2.h>

HMMIO        hmmio;      /*  Open file handle. */
PMMIOINFO    pmmioinfo;  /*  Information receiver. */
USHORT       usFlags;    /*  Reserved. */
USHORT       rc;         /*  Return codes. */

rc = mmioGetData(hmmio, pmmioinfo, usFlags);


[Back] [Next]