This should work:
ipm_GetCapabilities(hIpm, CAPABILITY_CODERLIST, numCaps, pIpmCaps, EV_SYNC);
The ipm_GetCapabilities( ) function returns the number of capabilities of the specified type (for example, coders) and details of each capability supported by an active Dialogic® HMP Software license.