NET_DVR_MIME_UNIT

Input Content Details Structure of Message Transmission API (NET_DVR_STDXMLConfig)

Member

Data Type

Description

szContentType

Array of char

Content type (corresponds to Content-Type field in the message), e.g., text/json. text/xml, and so on. The content format must be supported by HTTP.

szName

Array of char

Content name (corresponds to name field in the message), e.g., name="upload".

szFilename

Array of char

Content file name (corresponds to filename field in the message), e.g., filename="C:\Users\test\Desktop\11.txt".

dwContentLen

DWORD

Content size

pContent

char*

Data point

bySelfRead

BYTE

0-External file, 1-Internal data, whose address is specified by szFilename.

byRes

Array of BYTE

Reserved. Set to 0. Maximum: 15 bytes.