error.htm
来自「udt的一个源代码」· HTM 代码 · 共 44 行
HTM
44 行
<html><head><meta http-equiv="Content-Language" content="en-us"><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title>UDT Reference</title></head><body><table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" id="table1" bgcolor="#99CCFF" bordercolor="#99CCFF"> <tr> <td width="100%"><font face="Verdana" size="2"><i> UDT Reference: UDT Functions</i></font></td> </tr></table><h1><font face="Verdana" size="4">getlasterror</font></h1><p><font face="Verdana" size="2">The <b>getlasterror</b> method retrieves the last UDT error in the thread.</font></p><table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" id="AutoNumber2" bgcolor="#C0C0C0" bordercolor="#C0C0C0"> <tr> <td width="100%"> <p style="margin-top: 0; margin-bottom: 0"> <font size="1" face="Courier New">UDTERROR& getlasterror(<br> );</font></p></td> </tr></table><h4><font face="Verdana" size="2">Parameters</font></h4><h4><span style="font-weight: 400"><font face="Verdana" size="2">None.</font></span></h4><h4><font face="Verdana" size="2">Return Values</font></h4><p><font face="Verdana" size="2">The latest UDT error in the same thread is retrieved and stored in the <a href="structure.htm">ERRORINFO</a> structure.</font></p><H4><font face="Verdana" size="2">Descriptions</font></H4><p><font face="Verdana" size="2">The <b>getlasterror</b> method reads the latest UDT error occurred in the thread where this method is called. This method will always succeed. If there is no error ever occurred, the method returns theERRORINFO structure indicating a successful state.</font></p><P><p></p><H4><font face="Verdana" size="2">See Also</font></H4><P><font face="Verdana" size="2"><b><a href="structure.htm">UDT Sockets Structure</a>, <a href="ecode.htm">Error Code List</a></b></font></P></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?