<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>pcsc-lite: winscard_svc.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.2-20100208 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_c68a5dfdca54003c765e303a18006edb.html">src</a> </div> </div> <div class="contents"> <h1>winscard_svc.h File Reference</h1> <p>This demarshalls functions over the message queue and keeps track of clients and their handles. <a href="#_details">More...</a></p> <div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dynsection"> </div> <p><a href="winscard__svc_8h_source.html">Go to the source code of this file.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4c2a5600ab20e5274f70e4a93937f38b"></a><!-- doxytag: member="winscard_svc.h::ContextsInitialize" ref="a4c2a5600ab20e5274f70e4a93937f38b" args="(void)" --> LONG </td><td class="memItemRight" valign="bottom"><b>ContextsInitialize</b> (void)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">LONG </td><td class="memItemRight" valign="bottom"><a class="el" href="winscard__svc_8h.html#a5bac068a14cc933543a00b61673cb573">CreateContextThread</a> (uint32_t *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates threads to handle messages received from Clients. <a href="#a5bac068a14cc933543a00b61673cb573"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>This demarshalls functions over the message queue and keeps track of clients and their handles. </p> <p>Definition in file <a class="el" href="winscard__svc_8h_source.html">winscard_svc.h</a>.</p> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a5bac068a14cc933543a00b61673cb573"></a><!-- doxytag: member="winscard_svc.h::CreateContextThread" ref="a5bac068a14cc933543a00b61673cb573" args="(uint32_t *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">LONG CreateContextThread </td> <td>(</td> <td class="paramtype">uint32_t * </td> <td class="paramname"> <em>pdwClientID</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Creates threads to handle messages received from Clients. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>pdwClientID</em> </td><td>Connection ID used to reference the Client.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Error code. </dd></dl> <dl><dt><b>Return values:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>SCARD_S_SUCCESS</em> </td><td>Success. </td></tr> <tr><td valign="top"></td><td valign="top"><em>SCARD_F_INTERNAL_ERROR</em> </td><td>Exceded the maximum number of simultaneous Application Contexts. </td></tr> <tr><td valign="top"></td><td valign="top"><em>SCARD_E_NO_MEMORY</em> </td><td>Error creating the Context Thread. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="winscard__svc_8c_source.html#l00078">78</a> of file <a class="el" href="winscard__svc_8c_source.html">winscard_svc.c</a>.</p> <p>References <a class="el" href="winscard__svc_8c_source.html#l00126">ContextThread()</a>, <a class="el" href="winscard__svc_8c_source.html#l00046">_psContext::dwClientID</a>, <a class="el" href="pcscd_8h_source.html#l00054">PCSCLITE_MAX_APPLICATIONS_CONTEXTS</a>, <a class="el" href="winscard__svc_8c.html#a4c383e648443031624ba0e312b75b30f">psContext</a>, <a class="el" href="pcsclite_8h_source.html#l00076">SCARD_E_NO_MEMORY</a>, <a class="el" href="pcsclite_8h_source.html#l00071">SCARD_F_INTERNAL_ERROR</a>, <a class="el" href="pcsclite_8h_source.html#l00070">SCARD_S_SUCCESS</a>, and <a class="el" href="sys__unix_8c_source.html#l00143">SYS_CloseFile()</a>.</p> <p>Referenced by <a class="el" href="pcscdaemon_8c_source.html#l00080">SVCServiceRunLoop()</a>.</p> <p><div class="dynheader"> Here is the call graph for this function:</div> <div class="dynsection"> </div> </p> </div> </div> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>