/[rdesktop]/sourceforge.net/trunk/seamlessrdp/ServerExe/main.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/seamlessrdp/ServerExe/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1177 by ossman_, Tue Mar 21 14:42:25 2006 UTC revision 1185 by ossman_, Wed Mar 22 11:52:07 2006 UTC
# Line 22  Line 22 
22     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23  */  */
24    
25    #define WINVER 0x0501
26    
27  #include <windows.h>  #include <windows.h>
28  #include <stdio.h>  #include <stdio.h>
29  #include <wtsapi32.h>  #include <wtsapi32.h>
# Line 337  WinMain(HINSTANCE instance, HINSTANCE pr Line 339  WinMain(HINSTANCE instance, HINSTANCE pr
339          /* Disable screen saver since we cannot catch its windows. */          /* Disable screen saver since we cannot catch its windows. */
340          SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, FALSE, NULL, 0);          SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, FALSE, NULL, 0);
341    
342            /* We don't want windows denying requests to activate windows. */
343            SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, 0, 0);
344    
345          if (strlen(cmdline) == 0)          if (strlen(cmdline) == 0)
346          {          {
347                  message("No command line specified.");                  message("No command line specified.");

Legend:
Removed from v.1177  
changed lines
  Added in v.1185

  ViewVC Help
Powered by ViewVC 1.1.26