The IsModuleRegistered function checks to see if use of a particular module is allowed by the specified registration key. Refer to Microsoft Dynamics GP Module ID Values for the list of modules.
VARIANT_BOOL IsModuleRegistered( int moduleID // The module ID to check )
moduleID [in] The ID number of the module to check.