The alarm module refers to the zone, partition, siren, relay, repeater, keyfob, card, zone linked detector, and so on. To trigger and receive the alarms or events of security control system, you should firstly configure the alarm modules.
You can get all modules' information by the following steps.
Call NET_DVR_StartRemoteConfig with the command of "NET_DVR_GET_ALARMHOST_MODULE_LIST" (command No.: 1222) and set the input parameter lpInBuffer to "1"-keyboard, "2"-trigger, "3"-zone, or "4"-network module, for getting all modules information.
Call NET_DVR_GetNextRemoteConfig to get information one by one, and the information is returned in the structure NET_DVR_MODULE_INFO
When all data is obtained or getting failed, call NET_DVR_StopRemoteConfig to stop getting and release resources.