This function provides the descriptive name of the format supported by the I/O procedure.

#define INCL_MMIOOS2
#include <os2.h>

PMMFORMATINFO    pmmformatinfo;  /*  Pointer to MMFORMATINFO data structure. */
PSZ              pszFormatName;  /*  Pointer to format name. */
PLONG            plBytesRead;    /*  Pointer to a LONG. */
ULONG            ulReserved;     /*  Reserved. */
ULONG            ulFlags;        /*  Reserved. */
ULONG            rc;             /*  Return codes. */

rc = mmioGetFormatName(pmmformatinfo, pszFormatName,
       plBytesRead, ulReserved, ulFlags);


[Back] [Next]