🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.ms-windows.programmer.vxd
Article #1

Can I resume a suspended Windows 95 system through a program

#1
From: Rohit
Date: Mon, 11 May 1998 00:00
19 lines
2146 bytes
I have a problem :-(

I'm trying to write a program to resume my PC (running Windows 95), after
suspending it by choosing "Suspend" from the Start Menu on the task bar.

Generally, one can resume a suspended system by either moving the mouse or
by pressing any key on the keyboard. In my program I'm trying to resume the
system by using WM_TIMER. In the program I'm setting the timer to go off
after 1 minute. When my program receives the WM_TIMER message I use
::mouse_event() to synthesize a mouse move. This should resume my system but
it doesn't. The reason being, once you suspend the system the program
doesn't receive any WM_TIMER message.

The main objective behind this program is to be able to suspend the system
and then later resume it at time specified by the user of the program.

Is there a way in which I can do this using SDK,C++,VC++ or assembly
language.
Technical Details
Message-ID: <3557781a.0@news.interpow.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 134d78,480ae734c1728692,start
X-Google-Attributes: gid134d78,public
X-Google-Thread: 110a07,480ae734c1728692,start
X-Google-Attributes: gid110a07,public
X-Google-Thread: 1163b8,480ae734c1728692,start
X-Google-Attributes: gid1163b8,public
X-Google-Thread: 10a2c7,480ae734c1728692,start
X-Google-Attributes: gid10a2c7,public
X-Google-Thread: 109b8e,480ae734c1728692,start
X-Google-Attributes: gid109b8e,public
X-Google-Thread: 114950,480ae734c1728692,start
X-Google-Attributes: gid114950,public
X-Google-Thread: 14854e,480ae734c1728692,start
X-Google-Attributes: gid14854e,public
From: "Rohit" <rohit@interpow.net>
Subject: Can I resume a suspended Windows 95 system through a program
Date: 1998/05/11
Message-ID: <3557781a.0@news.interpow.net>
X-Deja-AN: 352357782
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: InterPow Internet Services
NNTP-Posting-Date: Mon, 11 May 1998 19:14:21 EDT
Newsgroups: comp.ms-windows.programmer.vxd,comp.os.ms-windows.programmer.vxd,fj.os.ms-windows.programming,japan.comp.lang.visual-c++,microsoft.public.activex.programming.java.visualj,microsoft.public.USASalesInfo.Developer.VisualC++,microsoft.public.vc.activext