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



The information in this article applies to:

  • Microsoft Win32 Application Programming Interface (API), when used with:
    • Microsoft Win32s 1.1
    • Microsoft Win32s 1.15
    • Microsoft Win32s 1.2
    • Microsoft Win32s 1.3
    • Microsoft Win32s 1.3c
    • the operating system: Microsoft Windows NT 3.1
    • the operating system: Microsoft Windows NT 3.5
    • the operating system: Microsoft Windows NT 4.0
    • the operating system: Microsoft Windows 2000
    • the operating system: Microsoft Windows XP

This article was previously published under Q111559
1.10 1.15 1.20 1.30 1.30c | 3.10 3.50
WINDOWS                   | WINDOWS NT
kbprg
		

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.

Modification Type:MajorLast Reviewed:4/12/2004
Keywords:kb16bitonly kbAPI kbKernBase kbprb KB111559