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>CXInitUncompContextLHFront</title>
9<LINK rel="stylesheet" href="../CSS/revolution.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">CXInitUncompContextLHFront</h1>
15<h2>Syntax</h2>
16
17<dl>
18  <dd>
19  <PRE><CODE>#include &lt;revolution/cx/CXStreamingUncompression.h&gt;</CODE><BR>
20<CODE>void CXInitUncompContextLHFront( <A href="CXUncompContextLH.html">CXUncompContextLH</A> *context,
21                            void*              dest,
22                            s32                destSize );</CODE><br></PRE>
23  </dd>
24</dl>
25<h2>Arguments</h2>
26<TABLE class="arguments" border="1">
27  <TBODY>
28    <TR>
29      <TH>context</TH>
30      <TD>Pointer to the context structure to be used for streaming uncompression of data compressed in LH format.</TD>
31    </TR>
32    <TR>
33      <TH>dest</TH>
34      <TD>Destination buffer for uncompressed data.</TD>
35    </TR>
36    <TR>
37      <TH>destSize</TH>
38      <TD>Maximum amount of data to be uncompressed.</TD>
39    </TR>
40  </TBODY>
41</TABLE>
42
43<h2>Return Values</h2>
44<p>None.</p>
45
46<H2>Description</H2>
47<P>Initializes the context structure for streaming decompression of data compressed in LH format.</P>
48<P>Use this interface for uncompressing only the number of bytes of data specified by <SPAN class="argument">destSize</SPAN>.<BR> To uncompress all data, use the <A href="CXInitUncompContextLH.html"><CODE>CXInitUncompContextLH</CODE></A> function.</P>
49<P>
50When the <A href="CXReadUncompLH.html">CXReadUncompLH</A> function is executed using this context, data is uncompressed sequentially in the region passed in the <SPAN class="argument">dest</SPAN> argument.
51</P>
52<P>
53If this context is going to be reused, it needs to be reinitialized after the decompression of each file is completed.
54</P>
55
56<h2>See Also</h2>
57<p><A href="CXGetUncompressedSize.html"><CODE>CXGetUncompressedSize</CODE></A><BR> <A href="CXUncompressLH.html"><CODE>CXUncompressLH</CODE></A><BR> <A href="CXSecureUncompressLH.html"><CODE>CXSecureUncompressLH</CODE></A><BR> <A href="CXReadUncompLH.html"><CODE>CXReadUncompLH</CODE></A><BR> <A href="CXIsFinishedUncompLH.html"><CODE>CXIsFinishedUncompLH</CODE></A><BR> <A href="../tools/ntcompress.html"><CODE>ntrompress</CODE></A></p>
58
59<H2>Revision History</H2>
60<P>2009/01/28 Initial version.</P>
61<hr><p>CONFIDENTIAL</p></body>
62</html>
63