NET_DVR_SetAlarmSubscribe

Set the event/alarm subscription parameters.

API Definition

BOOL NET_DVR_SetAlarmSubscribe(
  LONG        lAlarmHandle,
  char        *pData,
  DWORD       dwDataLen
);

Parameters

lAlarmHandle

[IN] Value returned by NET_DVR_SetupAlarmChan_V50

pData

[IN] Pointer to data buffer, see details in XML_SubscribeEvent

dwDataLen

[IN] Size of data buffer, unit: byte

Return Values

Return TRUE for success, and return FALSE for failure.

If FALSE is returned, you can call NET_DVR_GetLastError to get the error code.