This function gets information about a file that was opened with mmioOpen. It also allows the caller to access the I/O buffer directly.

#define INCL_MMIOOS2
#include <os2.h>

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

rc = mmioGetInfo(hmmio, pmmioinfo, usFlags);


[Back] [Next]