Description: 上传图像
Input: http http句柄
img 图像对象
fmt 图像格式,-1表示未知,0表示bmp,1表示ico,2表示jpeg,13表示png,18表示tiff,25表示gif
flag 一般为0(即0x0100),对于jpg格式,0x0080表示高质量(以100:1保存),0x0100表示较高质量(以75:1保存),0x0200表示中等质量(以50:1保存),0x0400表示较差质量(以25:1保存),0x0800表示差质量(以10:1保存),1-100的十进制整数x(以x:1保存)
remoteName 服务器文件路径
fun 上传回调
userData 回调用户数据
Return: 成功返回 TRUE,失败返回 FALSE
Function: EXTERN_C BOOL ELOAMAPI EloamHttp_UploadImage(HELOAMHTTP http, HELOAMIMAGE img, int fmt, int flag, BSTR remoteName, ELOAM_HTTPCALLBACK fun, LPVOID userData);