This function returns registered IMs or a specified IM information in the system.
#include <os2.h> PULONG pRecSize; PIMREC pIMRecs; BOOL rc; rc = WinIMQueryIM(pRecSize, pIMRecs);