Some APIs do not work when they are called in services in Windows

Symptoms

Assume that you have a 32-bit service on Windows 8, Windows Server 2012, Windows 8.1, or Windows Server 2012 R2. When the service calls a function that requires interaction with CPrintTicket WoW Services, the operation fails. For example, the service cannot call the .NET function GetPrintCapabilitiesAsXml or the equivalent native API function PTGetPrintCapabilities.

Note This issue does not occur when these APIs are called in an .exe file.

Workaround

To work around this issue, click the Fix it button or link. Then click Run in the File Download dialog box, and follow the steps in the Fix it wizard.




Notes

QueryWords

fixit fix it fixme

Properties

Article ID: 2954953 - Last Review: 11 Apr 2014 - Revision: 1

Feedback