Skip to content

NET_SDK_CaptureJPEGFile_V2

Interface Definition

1
2
3
4
BOOL NET_SDK_CaptureJPEGFile_V2(
    LONG lUserID,
    LONG lChannel,
    char* sPicFileName);
1
2
3
4
public static extern Boolean NET_SDK_CaptureJPEGFile_V2(
    Int32 lUserID,
    Int32 lChannel,
    string sPicFileName);

Function Description

JPEG format capture interface, directly save as local file.

Parameter Description

Parameters Type Remark
lUserIDin LONG User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx.
lChannelin LONG Channel number, starting from 0. This parameter is invalid for IPC devices.
sPicFileNamein char* JPEG file save path, note: Please use absolute path, do not use relative path.

Return Value

  • type:BOOL

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

Remarks

This interface can realize JPEG capture without opening the bit stream.

Error Code