Commit | Line | Data |
---|---|---|
920dae64 AT |
1 | <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> |
2 | <html> | |
3 | <head> | |
4 | <title>SPARC Architectural Model: Device and Utility API</title> | |
5 | </head> | |
6 | ||
7 | <body bgcolor="#FFFFFF" LANG="en-US"> | |
8 | <h2>mmi_get_instance</h2> | |
9 | ||
10 | <h4>NAME</h4> | |
11 | ||
12 | <ul><i>mmi_get_instance()</i> - Get module instance pointer corresponding to module name</ul> | |
13 | ||
14 | <h4> | |
15 | SYNOPSIS</h4> | |
16 | ||
17 | <ul><font color="#0000FF">#include "mmi.h"</font> | |
18 | <p>mmi_instance_t mmi_get_instance (const char *instance_name)</ul> | |
19 | ||
20 | <h4> | |
21 | DESCRIPTION</h4> | |
22 | ||
23 | <ul>Returns module instance pointer for the instance <i>instance_name</i>.</ul> | |
24 | ||
25 | <h4>RETURN VALUES</h4> | |
26 | ||
27 | <ul>Returns handle for instance. | |
28 | Fails and returns NULL when there is no | |
29 | instance named <i>instance_name</i>.</ul> | |
30 | ||
31 | <h4> | |
32 | ERRORS</h4> | |
33 | <ul>Will fail if <i>instance_name</i> is not recognized</ul> | |
34 | ||
35 | <h4>USAGE</h4> | |
36 | ||
37 | <h4>SEE ALSO</h4> | |
38 | <ul><a href="intro.html">Introduction</a></ul> | |
39 | ||
40 | <p> | |
41 | <hr> | |
42 | ||
43 | ||
44 | </body> | |
45 | </html> |