The ShutdownBlockReasonCreate() function does not return the block reason message in Windows 8.1 and Windows 8

Symptoms

Assume that you have an application that uses the ShutdownBlockReasonCreate() function to block system shutdown on a computer that is running Windows 8.1, Windows RT 8.1, Windows Server 2012 R2, Windows 8, Windows RT, or Windows Server 2012. The function works correctly for the first time. However, when the application runs the function for the second time, the block reason message is not displayed.

Resolution

To resolve this issue, install the security update 3002885 that is documented in security bulletin MS14-079.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

See the terminology that Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

×