Lines Matching defs:contents
248 char *contents,
253 Key=*(uint32_t *)(contents + offsetof(U_WMRPLACEABLE,Key));
256 U_swap4(contents + offsetof(U_WMRPLACEABLE,Key ),1);
257 U_swap2(contents + offsetof(U_WMRPLACEABLE,HWmf ),1);
258 U_swap2(contents + offsetof(U_WMRPLACEABLE,Dst ),4);
259 U_swap2(contents + offsetof(U_WMRPLACEABLE,Inch ),1);
260 U_swap4(contents + offsetof(U_WMRPLACEABLE,Reserved),1);
261 U_swap2(contents + offsetof(U_WMRPLACEABLE,Checksum),1);
262 contents += U_SIZE_WMRPLACEABLE;
265 if(torev){ Size16w = *(uint16_t *)(contents + offsetof(U_WMRHEADER,Size16w)); }
266 U_swap2(contents + offsetof(U_WMRHEADER,Size16w),2);/* Size16w, Version */
267 if(!torev){ Size16w = *(uint16_t *)(contents + offsetof(U_WMRHEADER,Size16w)); }
268 U_swap4(contents + offsetof(U_WMRHEADER,Sizew ),1);/* Sizew */
269 U_swap2(contents + offsetof(U_WMRHEADER,nObjects),1);/* nObjects */
270 U_swap4(contents + offsetof(U_WMRHEADER,maxSize ),1);/* maxSize */
271 U_swap2(contents + offsetof(U_WMRHEADER,nMembers),1);/* nMembers */
339 \param contents pointer to a buffer holding all EMR records
340 \param recnum number of this record in contents
341 \param off offset to this record in contents
1470 \param contents pointer to the buffer holding the entire EMF in memory
1478 int U_wmf_endian(char *contents, size_t length, int torev, int onerec){
1486 record = contents;
1496 if(record > contents + length){ return(0); } // this is most likely a corrupt WMF