If the access control alarms or events are received and stored in access control device, you can search for the alarms or events by setting different search conditions.
Make sure you have called NET_DVR_Init to initialize the development environment.
Make sure you have called NET_DVR_Login_V40 to log in to device.
Figure 1 Programming Flow of
Searching for Access Control EventsCall NET_DVR_Logout and NET_DVR_Cleanup to log out and release the resource.