[DllImport("user32.dll", SetLastError=true)]
static extern bool ShutdownBlockReasonCreate(IntPtr hWnd, string reason);
Declare Function ShutdownBlockReasonCreate Lib "user32.dll" (hWnd as IntPtr, reason As String) As Boolean
None.
Do you know one? Please contribute it!
hWnd - A handle to the main window of the application.
reason - The reason the application must block system shutdown.
Please add some!
Please add some!