Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# NET_SDK_SearchPictures

### Interface Definition

C++C#

    1
    2
    3
    4
    5
    6
    BOOL NET_SDK_SearchPictures(
        LONG lUserID,
        NET_SDK_IMAGE_SREACH sInSreachImage,
        LONG lInImageBufferSize,
        NET_SDK_IMAGE* pOutImageInfo,
        LONG* pOutImageNum);

    1
    2
    3
    4
    5
    6
    public static extern bool NET_SDK_SearchPictures(
        int lUserID,
        NET_SDK_IMAGE_SREACH sInSreachImage,
        Int32 lInImageBufferSize,
        IntPtr pOutImageInfo,
        ref Int32 pOutImageNum);

### Function Description

Get the image list of the remote device (supported only by N9000 devices).

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
sInSreachImagein | `NET_SDK_IMAGE_SREACH` | For query conditions, refer to `NET_SDK_IMAGE_SREACH`.
lInImageBufferSizein | LONG | The size of the space requested by pOutImageInfo.
pOutImageInfoout | `NET_SDK_IMAGE`* | For the returned image information, refer to `NET_SDK_IMAGE`.
pOutImageNumout | LONG* | Returns the number of image information strips.

### Return Value

- Type：BOOL

- Remark：Returns TRUE if successful, FALSE if failed.

### Remarks

This interface can query the captured image information saved in the device without opening the bitstream.

Error Code