Microsoft KB Archive/111559

{|
 * width="100%"|

PRB: GetExitCodeProcess Always Returns 0 for 16-Bit Processes

 * }

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:
 * the operating system: Microsoft Windows NT, versions 3.1, 3.5, 4.0
 * Microsoft Win32s versions 1.1, 1.15, 1.2, 1.3, 1.3c
 * the operating system: 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 kbOSWin2000 kbOSWin32s kbDSupport kbGrpDSKernBase

Issue type : kbprb

Technology : kbAudDeveloper kbWin32sSearch kbWin32API