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 http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8<title>RSOMakeJumpCode</title>
9</head>
10
11<body>
12
13<h1>RSOMakeJumpCode</h1>
14
15<h2>C Specification</h2>
16<dl><dd><pre><code>
17#include &lt;revolution/rso.h&gt;
18#include &lt;revolution/RSOLink.h&gt;
19
20void RSOMakeJumpCode(const RSOObjectHeader *rsoExp,void *buff);
21</code></pre></dd></dl>
22
23<h2>Arguments</h2>
24<p>
25<TABLE border="1" >
26  <tr>
27<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>rsoExp</EM></STRONG></CODE></TD>
28<TD width="520">Pointer to the module information to reference.</TD>
29  </tr>
30  <tr>
31<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>buff</EM></STRONG></CODE></TD>
32    <TD width="520">Pointer to the jump code destination.</TD>
33  </tr>
34
35</TABLE>
36</p>
37
38<h2>Return Values</h2>
39<p>
40None.
41</p>
42
43
44<H2>Description</H2>
45<p>
46Creates a jump code required by the <code><a href="./RSOLinkJump.html">RSOLinkJump</a></code> function.<br> The buffer size required for jump code output is obtained with <code><a href="./RSOGetJumpCodeSize.html">RSOGetJumpCodeSize</a></code>.<br> Typically, allocate buffer from <CODE>MEM2</CODE> if the referenced module is in <CODE>MEM1</CODE>, and <CODE>MEM1</CODE> if the referenced module is in <CODE>MEM2</CODE>. (This should be the case when the buffer is necessary.)
47</p>
48<h2>See Also</h2>
49<p>
50<code><a href="./intro.html">RSO API Introduction</a></code><br> <code><a href="./RSOLinkJump.html">RSOLinkJump</a></code> <code><a href="./RSOGetJumpCodeSize.html">RSOGetJumpCodeSize</a></code>
51</p>
52<H2>Revision History</H2>
53<p>12/19/2006 Initial version. </p>
54
55<HR>
56<P>CONFIDENTIAL</P>
57</BODY>
58</HTML>
59