CLIENT_API BOOL CALL_METHOD CLIENT_SnapPicture(LLONG lLoginID, SNAP_PARAMS par);
typedef struct _snap_param
{
unsigned int Channel;
unsigned int Quality;
unsigned int ImageSize;
unsigned int mode;
unsigned int InterSnap;
unsigned int CmdSerial;
unsigned int Reserved[4];
} SNAP_PARAMS, *LPSNAP_PARAMS;
[DllImport("dhnetsdk.dll")]
public static extern bool CLIENT_SnapPicture(int lLoginID, SNAP_PARAMS par);
[StructLayout(LayoutKind.Sequential)]
public struct SNAP_PARAMS
{
public uint Channel;
public uint Quality;
public uint ImageSize;
public uint mode;
public uint InterSnap;
public uint CmdSerial;
public uint Reserved;
};