This function provides a list of all I/O procedures available for use.
#define INCL_MMIOOS2 #include <os2.h> PMMFORMATINFO pmmformatinfo; /* Pointer to MMFORMATINFO structure. */ LONG lNumFormats; /* Number of formats. */ PVOID pFormatInfoList; /* Pointer to memory-allocated structure. */ PLONG plFormatsRead; /* Number of formats read. */ ULONG ulReserved; /* Reserved. */ ULONG ulFlags; /* Reserved. */ ULONG rc; /* Return codes. */ rc = mmioGetFormats(pmmformatinfo, lNumFormats, pFormatInfoList, plFormatsRead, ulReserved, ulFlags);