This function provides the module handle of an I/O procedure's DLL. This handle must be used to retrieve resources from the DLL.

#define INCL_MMIOOS2
#include <os2.h>

PMMIOPROC    pIOProc;      /*  Specifies entry point. */
PHMODULE     phmodIOProc;  /*  Pointer. */
ULONG        rc;           /*  Return codes. */

rc = mmioQueryIOProcModuleHandle(pIOProc,
       phmodIOProc);


[Back] [Next]