NET_SDK_Login¶
Interface Definition¶
1 2 3 4 5 6 | |
1 2 3 4 5 6 | |
Function Description¶
User registers the device.
Parameter Description¶
| Parameters | Type | Remark |
|---|---|---|
| sDVRIPin | char* | Device IP address. |
| wDVRPortin | WORD | Device port number. |
| sUserNamein | char* | The user name for logging in. |
| sPasswordin | char* | User password. |
| lpDeviceInfoout | LPNET_SDK_DEVICEINFO | Device information NET_SDK_DEVICEINFO. |
Return Value¶
-
type:LONG
-
remark:-1 indicates failure, and other values indicate the returned user ID value. This user ID is unique, and all subsequent operations on the device must be performed using this ID.
Remarks¶
The device allows 32 registered user names and a maximum of 128 users to be registered at the same time.