PRB: GetExitCodeProcess() Always Returns 0 for 16-Bit Processes

ID: Q111559


1.10 1.15 1.20 1.30 1.30c | 3.10 3.50
WINDOWS                   | WINDOWS NT
kbprg 

The information in this article applies to:
  • Microsoft Win32 Application Programming Interface (API), used with:
    • Microsoft Windows NT versions 3.1, 3.5, 4.0
    • Microsoft Win32s versions 1.1, 1.15, 1.2, 1.3, 1.3c
    • Microsoft Windows 2000


SYMPTOMS

GetExitCodeProcess() always returns a status of 0 (zero) when the handle for a 16-bit process is passed. This applies to both Windows NT and Win32s.


STATUS

This behavior is by design in the Microsoft products listed at the beginning of this article. Microsoft may add functionality in future versions that support exit codes from 16-bit processes.

Additional query words: 3.10 3.50 1.10 1.20

Keywords : kb16bitonly kbAPI kbKernBase kbWinOS2000 kbWin32s kbDSupport kbGrpKernBase
Version : winnt:3.1,3.5,4.0
Platform : winnt
Issue type : kbprb


Last Reviewed: January 5, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.