NET_DVR_UploadLogo

Upload LOGO.

API Definition

BOOL NET_DVR_UploadLogo(
  LONG                    lUserID,
  DWORD                   dwDecChanNum,
  LPNET_DVR_DISP_LOGOCFG  lpDispLogoCfg,
  char                    *sLogoBuffer
)

Parameters

lUserID

User ID, which is returned by NET_DVR_Login_V40.

dwDecChanNum

Decoding channel No.

lpDispLogoCfg

Parameters of LOGO, see details in structure NET_DVR_DISP_LOGOCFG.

sLogoBuffer

LOGO data buffer, the maximum size is 100k, and the width and the height should be multiples of 32.

Return Value

Return TRUE for success and FALSE for failure. If FALSE is returned, you can call NET_DVR_GetLastError to get the error code.