1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package com.netsdk.lib.structure;
 
import com.netsdk.lib.NetSDKLib;
import com.netsdk.lib.NetSDKLib.fSearchDevicesCBEx;
import com.sun.jna.Pointer;
 
public class NET_IN_STARTSERACH_DEVICE extends NetSDKLib.SdkStructure {
 
       /**
        * 结构体大小
        */
       public int                      dwSize; 
       
       /**
        * 发起搜索的本地IP
        */
       public byte[]                   szLocalIp=new byte[64];
       
       /**
        * 设备信息回调函数
        */
       public fSearchDevicesCBEx       cbSearchDevices;                 
       
       /**
        * 用户自定义数据
        */
       public Pointer                  pUserData;                      
       
       /**
        * 下发搜索类型(参考EM_SEND_SEARCH_TYPE)
        */
       public int                      emSendType;     
       
       public NET_IN_STARTSERACH_DEVICE()
        {
         this.dwSize = this.size();
        }// 此结构体大小
        
}