| SetLastErrorEx The SetLastErrorEx function sets the last-error code. Currently, this function is identical to the SetLastError function. The second parameter is ignored. VB4-32,5,6 Declare Sub SetLastErrorEx Lib "user32" (ByVal dwErrCode As Long, ByVal dwType As Long) |  
 
 | Operating Systems Supported |  
 | Requires Windows NT 3.1 or later; Requires Windows 95 or later |  
 
 
 · dwErrCode  [in] Specifies the last-error code for the thread.
  · dwType  This parameter is ignored. |  
 
 | This function does not return a value. |  
 
 
      |