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.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.