Microsoft KB Archive/246792

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:13, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


ReleaseDC API Fails with Laststatus = 0xc000007c and Lasterror = 87 Error Messages

Article ID: 246792

Article Last Modified on 11/1/2006



APPLIES TO

  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT 4.0 Service Pack 4
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 4.0 Enterprise Edition
  • Microsoft Windows NT 4.0 Service Pack 4



This article was previously published under Q246792


IMPORTANT: The individual hotfix that is available is for Windows NT 4.0 Service Pack 4 only. Do not apply the individual hotfix to a computer running Windows NT 4.0 Service Pack 5. Applying Windows NT 4.0 Service Pack 6 to a computer running Windows NT 4.0 Service Pack 5 will resolve this problem.

SYMPTOMS

The ReleaseDC API fails to release a device context intermittantly, and you see the following error messages:

lasterror = 87 ERROR_INVALID_PARAMETER

laststatus = 0xc000007c STATUS_NO_TOKEN

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows NT 4.0 or the individual hotfix.

  • For information on obtaining the latest service pack, please go to:

    152734 How to Obtain the Latest Windows NT 4.0 Service Pack

  • For information on obtaining the individual hotfix, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:

    The English-language version of this fix should have the following file attributes or later:

       Date      Time                 Size    File name     Platform
       -------------------------------------------------------------
       08/04/99  01:37p               169,744 gdi32.dll     x86
       08/04/99  01:37p               326,416 user32.dll    x86
       07/28/99  11:21a             1,250,640 win32k.sys    x86
       08/04/99  01:37p               175,376 winsrv.dll    x86
    
       08/06/99  01:09p               307,984 gdi32.dll     Alpha
       08/06/99  01:09p               577,296 user32.dll    Alpha
       07/28/99  11:20a             2,071,888 win32k.sys    Alpha
       08/06/99  01:09p               316,176 winsrv.dll    Alpha
                            



STATUS

Microsoft has confirmed that this is a problem in Windows NT 4.0. This problem was first corrected in Windows NT 4.0 Service Pack 6.

Keywords: kberrmsg kbbug kbfix kbqfe kbhotfixserver KB246792