Skip to content

NET_SDK_GetAlarmStatusEx

Interface Definition

1
2
3
4
5
6
BOOL NET_SDK_GetAlarmStatusEx(
    LONG lUserID,
    LPVOID lpOutBuffer,
    DWORD dwOutBufferSize,
    LPDWORD lpBytesReturned,
    int* exStructNum);
1
2
3
4
5
6
public static extern Boolean NET_SDK_GetAlarmStatusEx(
    Int32 lUserID,
    IntPtr lpOutBuffer,
    UInt32 dwOutBufferSize,
    ref int lpBytesReturned,
    ref int exStructNum);

Function Description

Get the alarm information currently occurring on the device (NET_SDK_GetAlarmStatus extension interface).

Parameter Description

Parameters Type Remark
lUserIDin LONG User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx.
lpOutBufferout LPVOID Output alarm event buffer, which is the data of DD_ALARM_STATUS_INFO structure array.
dwOutBufferSizein DWORD The size of the space requested by lpOutBuffer.
lpBytesReturnedout LPDWORD The valid data size in the returned lpOutBuffer.
exStructNumout int* The number of alarms returned in the array.

Return Value

  • type:BOOL

  • remark:Returns TRUE if successful, FALSE if failed.

Remarks

None

Error Code