1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>ps_reactos</title><meta name="generator" content="DocBook XSL Stylesheets V1.58.1"><meta name="generator" content="GTK-Doc V1.1 (XML mode)"><style type="text/css">
3 .synopsis, .classsynopsis {
5 border: solid 1px #aaaaaa;
10 border: solid 1px #aaaaff;
19 border: solid 1px #ffaaaa;
26 .navigation a:visited {
32 </style><link rel="home" href="index.html" title="Operation Captive Reference Manual"><link rel="up" href="ch01.html" title="Operation Captive"><link rel="previous" href="captive-apiref-mm.html" title="mm"><link rel="next" href="captive-apiref-unicode.html" title="unicode"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="captive-apiref-mm.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td><th width="100%" align="center">Operation Captive Reference Manual</th><td><a accesskey="n" href="captive-apiref-unicode.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry" lang="en"><a name="captive-apiref-ps-reactos"></a><div class="titlepage"></div><div class="refnamediv"><h2>ps_reactos</h2><p>ps_reactos — </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">
36 typedef <a href="captive-apiref-ps-reactos.html#captive-KPCR">captive_KPCR</a>;
37 typedef <a href="captive-apiref-ps-reactos.html#captive-PKPCR">captive_PKPCR</a>;
38 <a href="captive-apiref-ps-reactos.html#captive-PKPCR">captive_PKPCR</a> <a href="captive-apiref-ps-reactos.html#captive-KeGetCurrentKPCR">captive_KeGetCurrentKPCR</a> (void);
39 </pre></div><div class="refsect1" lang="en"><h2>Description</h2><p>
41 </p></div><div class="refsect1" lang="en"><h2>Details</h2><div class="refsect2" lang="en"><h3><a name="captive-KPCR"></a>captive_KPCR</h3><pre class="programlisting">typedef struct {
43 /* newline to pass gtkdoc-scan */
44 _KTHREAD *CurrentThread;
47 PCR (Processor Control Region) structure type.
48 Returned by <a href="captive-apiref-ps-reactos.html#captive-KeGetCurrentKPCR">captive_KeGetCurrentKPCR</a>().
50 This structure IS NOT binary compatible with reactos!</p><p>
52 </p></div><hr><div class="refsect2" lang="en"><h3><a name="captive-PKPCR"></a>captive_PKPCR</h3><pre class="programlisting">typedef captive_KPCR *captive_PKPCR;
55 </p></div><hr><div class="refsect2" lang="en"><h3><a name="captive-KeGetCurrentKPCR"></a>captive_KeGetCurrentKPCR ()</h3><pre class="programlisting"><a href="captive-apiref-ps-reactos.html#captive-PKPCR">captive_PKPCR</a> captive_KeGetCurrentKPCR (void);</pre><p>
56 Returns the PCR (Processor Control Region) structure for the
58 Currently libcaptive doesn't use multithreading
59 and thus this function returns a constant pointer to one static structure.</p><p>
61 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> <a href="captive-apiref-ps-reactos.html#captive-PKPCR">captive_PKPCR</a> type pointer to valid <a href="captive-apiref-ps-reactos.html#captive-KPCR">captive_KPCR</a>.
62 This structure IS NOT binary compatible with reactos - you SHOULD NOT
63 export this symbol for binary W32 modules. Anyone using this function
64 is very low-level based and you would probably find many other
65 compatibility problems afterwards - replace of such function is recommended.
66 </td></tr></tbody></table></div></div></div></div><table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"><td align="left"><a accesskey="p" href="captive-apiref-mm.html"><b><< mm</b></a></td><td align="right"><a accesskey="n" href="captive-apiref-unicode.html"><b>unicode >></b></a></td></tr></table></body></html>