1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>CXSecureUnfilterDiff</title> 9<LINK rel="stylesheet" href="../CSS/revolution.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">CXSecureUnfilterDiff</h1> 15 16<h2>Syntax</h2> 17<DL><DD><PRE class="construction"> 18#include <revolution/cx.h> 19 20s32 CXSecureUnfilterDiff( register const void *srcp, u32 srcSize, register void *destp ); 21</PRE></DD></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1"> 25 <TBODY> 26 <TR> 27<TH>srcp</TH> 28<TD>Source address where difference-filtered data is stored.</TD> 29 </TR> 30 <TR> 31<TH>srcSize</TH> 32<TD>Source data size.</TD> 33 </TR> 34 <TR> 35<TH>destp</TH> 36<TD>The destination address where the data is expanded. Can be the same region as the source address.</TD> 37 </TR> 38 </TBODY> 39</TABLE> 40 41<h2>Return Values</h2> 42<TABLE class="arguments" border="1"> 43 <TBODY> 44 <TR> 45<TH>CX_ERR_SUCCESS</TH> 46<TD>Successful end.</TD> 47 </TR> 48 <TR> 49<TH>CX_ERR_UNSUPPORTED</TH> 50<TD>Unsupported compression data type.</TD> 51 </TR> 52 <TR> 53<TH>CX_ERR_SRC_SHORTAGE</TH> 54<TD>Source data size is too small.</TD> 55 </TR> 56 <TR> 57<TH>CX_ERR_SRC_REMAINDER</TH> 58<TD>Source data size is too large.</TD> 59 </TR> 60 </TBODY> 61</TABLE> 62 63<H2>Description</H2> 64<P>This function expands the data to which the difference filter was applied and writes it to the specified memory region. The source address must be aligned to a 4-byte boundary. The pointers to the source and destination addresses may point to the same region.</P> 65 66<h2>See Also</h2> 67<P class="reference"> 68<A href="CXSecureUncompressHuffman.html">CXSecureUncompressHuffman</A>, 69<A href="CXSecureUncompressRL.html">CXSecureUncompressRL</A>, 70<A href="CXSecureUncompressLZ.html">CXSecureUncompressLZ</A> 71</P> 72 73<H2>Revision History</H2> 74<P> 752007/05/24 Initial version. 76</P> 77 78<hr><p>CONFIDENTIAL</p></body> 79</html> 80