/*------------------------------------------------------------
   1LogOut.CPP 
  ------------------------------------------------------------*/

#include <windows.h>

int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
                    PSTR szCmdLine, int iCmdShow)
{
    int ok = MessageBoxEx(NULL, 
                          "Czy chcesz się wylogować?",
                          "Terminator", 
                          MB_YESNO | MB_ICONQUESTION ,
                          0 ); 
    if (ok == IDYES) 
        ExitWindowsEx (EWX_LOGOFF,0);
    return 0;
}

