NET_DVR_LOCAL_BYTE_ENCODE_CONVERT

Structure about encoding format conversion configuration.

Structure Definition

struct{
  CHAR_ENCODE_CONVERT    fnCharConvertCallBack
  BYTE                   byRes[256];
}NET_DVR_LOCAL_BYTE_ENCODE_CONVERT, *LPNET_DVR_LOCAL_BYTE_ENCODE_CONVERT;

Members

fnCharConvertCallBack

Callback function of encoding type conversion, see details in CHAR_ENCODE_CONVERT.

byRes

Reserved, set to 0.

Remarks

  • The device character encoding type is returned by the login API.

  • By default, the encoding type conversion is realized by the "libiconv.dll" of HCNetSDK, but the users can set the encoding type conversion callback via this structure and call their own encoding API to convert the encoding type.