Allow console allocation policies that are finer-grained than the PE image subsystem #10218

Closed
opened 2026-01-31 02:15:38 +00:00 by claunia · 0 comments
Owner

Originally created by @DHowett on GitHub (Aug 18, 2020).

Originally assigned to: @DHowett on GitHub.

Due to the design of the console subsystem on Windows as it has existed
since Windows 95, every application that is stamped with the
IMAGE_SUBSYSTEM_WINDOWS_CUI subsystem in its PE header will be
allocated a console by kernel32 (conclnt, the console client library,
handles this.)

Any application that is stamped IMAGE_SUBSYSTEM_WINDOWS_GUI will not
automatically be allocated a console.

We need something finer-grained than that.

This scenario workitem includes:

  • Creating the new fusion manifest entry
  • Adding support for the fusion manifest entry to conclnt
  • Any APIs that must be added (e.g. AllocConsoleEx) to support this new policy
  • All testing for any new APIs and fusion manifest fields
  • All public facing documentation for any new APIs and fusion manifest fields

MSFT:28455640

Originally created by @DHowett on GitHub (Aug 18, 2020). Originally assigned to: @DHowett on GitHub. Due to the design of the console subsystem on Windows as it has existed since Windows 95, every application that is stamped with the `IMAGE_SUBSYSTEM_WINDOWS_CUI` subsystem in its PE header will be allocated a console by kernel32 (conclnt, the console client library, handles this.) Any application that is stamped `IMAGE_SUBSYSTEM_WINDOWS_GUI` will not automatically be allocated a console. We need something finer-grained than that. This scenario workitem includes: - [x] Creating the new fusion manifest entry - [x] Adding support for the fusion manifest entry to conclnt - [ ] Any APIs that must be added (e.g. `AllocConsoleEx`) to support this new policy - [ ] All testing for any new APIs and fusion manifest fields - [ ] All public facing documentation for any new APIs and fusion manifest fields MSFT:28455640
claunia added the In-PRNeeds-Tag-FixArea-ServerProduct-MetaIssue-Scenario labels 2026-01-31 02:15:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10218