Shiny Language Reference

Language Reference > Handler Reference


PostRegWriteFail

 

 

Called on plugin shutdown to signify registry profile saving failed

This handler is only called if the registry profile for this plugin could not be accessed. If the profile doesn't exist then this handler is not called - instead the profile is automatically created. This handler is only called to signify a serious error condition. You may wish to warn the user of the failure using an immediate warning (eg: through importing the Win32API MessageBoxA function). If this handler was called on plugin unload, it is reasonable to assume that the next time the plugin is loaded the registry profile reading process will fail and the PostRegReadFail handler will be called.

The handler call order is as follows:

Shutdown -> PreRegWrite -> RegWrite -> PostRegWrite -> ShutdownEnd
Shutdown -> PreRegWrite -> PostRegWriteFail -> ShutdownEnd

 

Parameters

None