Ignore:
Timestamp:
May 23, 2003, 3:53:43 PM (22 years ago)
Author:
sandervl
Message:

ClearCommError: lpdwError is allowed to be NULL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/hmcomm.cpp

    r9079 r10109  
    1 /* $Id: hmcomm.cpp,v 1.38 2002-08-21 17:23:12 sandervl Exp $ */
     1/* $Id: hmcomm.cpp,v 1.39 2003-05-23 13:53:43 sandervl Exp $ */
    22
    33/*
     
    888888{
    889889  APIRET rc;
    890   ULONG ulLen;
     890  ULONG ulLen, dwError = 0;
    891891  USHORT COMErr;
     892
     893  if(lpdwErrors == NULL)
     894     lpdwErrors = &dwError;
    892895
    893896  dprintf(("HMDeviceCommClass::ClearCommError"));
Note: See TracChangeset for help on using the changeset viewer.