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>CXSecureUncompressHuffman</title> 9<LINK rel="stylesheet" href="../CSS/revolution.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">CXSecureUncompressHuffman</h1> 15 16<h2>Syntax</h2> 17<DL><DD><PRE class="construction"> 18#include <revolution/cx.h> 19 20s32 CXSecureUncompressHuffman( const void *srcp, u32 srcSize, 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 of Huffman compression data</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.</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 <TR> 61<TH>CX_ERR_ILLEGAL_TABLE</TH> 62<TD>The Huffman table contains mistakes.</TD> 63 </TR> 64 </TBODY> 65</TABLE> 66 67<H2>Description</H2> 68<P>Decompresses Huffman compression data and writes it in 32-bit units to the specified memory. The source address must be aligned to a 4-byte boundary. 69</P> 70<P> 71To perform streaming uncompression of data, use the <A href="CXReadUncompHuffman.html"><CODE>CXReadUncompHuffman</CODE></A> function. 72</P> 73 74 75<h2>See Also</h2> 76<p class="reference"> 77<A href="CXGetUncompressedSize.html">CXGetUncompressedSize</A>, 78<A href="CXUncompressHuffman.html">CXUncompressHuffman</A>, 79<A href="CXInitUncompContextHuffman.html">CXInitUncompContextHuffman</A>, 80<A href="CXReadUncompHuffman.html">CXReadUncompHuffman</A>, 81<A href="CXIsFinishedUncompHuffman.html">CXIsFinishedUncompHuffman</A>, 82<A href="CXCompressHuffman.html">CXCompressHuffman</A>, 83<A href="../tools/ntcompress.html">ntcompress</A> 84</p> 85 86<H2>Revision History</H2> 87<P> 882007/09/03 Corrected error in the <B>See Also</B> section.<BR>2007/05/24 Initial version.<BR> 89</P> 90 91<hr><p>CONFIDENTIAL</p></body> 92</html> 93