A Microsoft platform for building and publishing apps for Windows devices.
InstallVirtualPrinterAsync returns Status 3 / E_UNEXPECTED (0x8000FFFF) for both packaged and non-packaged callers
We are developing a Windows Print Support App with virtual printers.
An original developer-signed package (0.1.1.0) successfully created a queue using the two-argument InstallVirtualPrinterAsync overload from a non-elevated, non-packaged native MTA helper. That queue remains usable after package updates.
New creation attempts with versions 0.1.7.0 and 0.1.8.0 return:
- Status = 3
ExtendedError = 0x8000FFFF
E_UNEXPECTED
Version 0.1.8.0 uses a packaged AppContainer console caller and the one-argument overload.
A separate minimal laboratory package (1.0.3.0) reproduces the same result from an external MTA caller using an individually declared, 31-character URI.
The API call is entered and its return observed. This is not a pre-call exception. No new printer is visible afterwards. Existing printers and the default printer remain unchanged in the observed inventories.
Environment:
Windows 11 Home, 26H2, build 26300.9974, x64.
Non-elevated medium-integrity session.
MSVC v143 14.44.35207.
Windows SDK 10.0.26100.0.
Signing, deployment and package identity checks passed. Relevant event-log queries did not expose a corresponding failure.
Questions:
What internal failure can cause InstallVirtualPrinterAsync to return Status 3 and E_UNEXPECTED?
Are there specific caller or application identity requirements?
Are there additional manifest, PDC or URI declaration requirements?
Is this API fully supported on the reported Windows edition and build?
Which targeted diagnostic or ETW trace could identify the underlying failure?
What are the recommended rollback and retry procedures following this result?
We have prepared a detailed technical report, a minimal reproduction description and diagnostic evidence.
No root cause has been established. Sanitized diagnostic artifacts can be provided through a private support channel if required.
Any guidance would be greatly appreciated.We are developing a Windows Print Support App with virtual printers.
An original developer-signed package (0.1.1.0) successfully created a queue using the two-argument InstallVirtualPrinterAsync overload from a non-elevated, non-packaged native MTA helper. That queue remains usable after package updates.
New creation attempts with versions 0.1.7.0 and 0.1.8.0 return:
Status = 3
ExtendedError = 0x8000FFFF
E_UNEXPECTED
Version 0.1.8.0 uses a packaged AppContainer console caller and the one-argument overload.
A separate minimal laboratory package (1.0.3.0) reproduces the same result from an external MTA caller using an individually declared, 31-character URI.
The API call is entered and its return observed. This is not a pre-call exception. No new printer is visible afterwards. Existing printers and the default printer remain unchanged in the observed inventories.
Environment:
Windows 11 Home, 26H2, build 26300.9974, x64.
Non-elevated medium-integrity session.
MSVC v143 14.44.35207.
Windows SDK 10.0.26100.0.
Signing, deployment and package identity checks passed. Relevant event-log queries did not expose a corresponding failure.
Questions:
What internal failure can cause InstallVirtualPrinterAsync to return Status 3 and E_UNEXPECTED?
Are there specific caller or application identity requirements?
Are there additional manifest, PDC or URI declaration requirements?
Is this API fully supported on the reported Windows edition and build?
Which targeted diagnostic or ETW trace could identify the underlying failure?
What are the recommended rollback and retry procedures following this result?
We have prepared a detailed technical report, a minimal reproduction description and diagnostic evidence.
No root cause has been established. Sanitized diagnostic artifacts can be provided through a private support channel if required.
Any guidance would be greatly appreciated.