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>EXT_TestScreenShot</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">EXT_TestScreenShot <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1>
15<h2>Syntax</h2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;nitro/ext/scrntest.h&gt;</CODE><BR>
20  <BR>
21  <CODE>void EXT_TestScreenShot( u32 testFrames, u32 checkSum )</CODE><br>
22  </dd>
23</dl>
24<h2>Arguments</h2>
25<TABLE border="1" width="100%">
26  <TBODY>
27    <TR>
28      <TD width="13%"><CODE><B><I><em><strong><CODE>testFrames</CODE></strong></em>&nbsp;&nbsp;</I></B></CODE></TD>
29      <TD width="87%">The number of frames to be tested.</TD>
30    </TR>
31    <TR>
32      <TD><CODE><B><I><em><strong><CODE>checkSum</CODE></strong></em>&nbsp;&nbsp;</B></I></CODE></TD>
33      <TD>The expected checksum.</TD>
34    </TR>
35  </TBODY>
36</TABLE>
37
38<h2>Return Values</h2>
39<p>None.</p>
40
41<H2>Description</H2>
42<P>For the number of frames specified, this function performs screen capture, calculates checksum from the capture data, and compares the calculated checksum to the expected checksum.<BR> If the test fails,  the checksum value and an error message are output to the debug console.<BR>
43</P>
44<h2>Internal Operation</h2>
45<p><CODE>EXT_TestSetVRAMForScreenShot()</CODE> specifies the VRAM that will be used for capture.<BR>Calling <CODE><A href="EXT_TestTickCounter.html">EXT_TestTickCounter()</A></CODE> increments frames.</p>
46
47<h2>See Also</h2>
48<P>
49<A href="EXT_TestTickCounter.html">EXT_TestTickCounter</A>, <A href="EXT_TestResetCounter.html">EXT_TestResetCounter</A>, <A href="EXT_TestSetVRAMForScreenShot.html">EXT_TestSetVRAMForScreenShot</A></CODE>
50<P>
51
52<H2>Revision History</H2>
53<P>2004/02/25 Initial version.</P>
54<hr><p>CONFIDENTIAL</p></body>
55</html>
56