Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Shutting down PocketPC

 
   Soft32 Home -> PDA -> Pocket PC Developer RSS
Next:  Changing MAC Address of NIC  
Author Message
Mike Berro

External


Since: Jan 02, 2004
Posts: 38



(Msg. 1) Posted: Sat Sep 13, 2003 5:52 pm
Post subject: Shutting down PocketPC
Archived from groups: microsoft>public>pocketpc>developer (more info?)

Is there a function that shuts down the PPC? This is for a sleep timer.
Thanx!

---Mike
Back to top
Login to vote
Amit

External


Since: Aug 23, 2003
Posts: 111



(Msg. 2) Posted: Mon Sep 15, 2003 5:30 am
Post subject: Re: Shutting down PocketPC [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

There are two ways..:
1.calling PowerOffSystem()
declared in core dll..
extern "C" __declspec(dllimport) void PowerOffSystem();

2.calling
keybd_event(VK_OFF,0,0,0);
keybd_event(VK_OFF,0,KEYEVENTF_KEYUP,0);

Hope it helps

Regards
Amit
"Mike Berro" <mikeberrox DeleteThis @hotmail.com> wrote in message
news:%232RYYRoeDHA.2336@TK2MSFTNGP12.phx.gbl...
> Is there a function that shuts down the PPC? This is for a sleep timer.
> Thanx!
>
> ---Mike
>
>
Back to top
Login to vote
Mike Berro

External


Since: Jan 02, 2004
Posts: 38



(Msg. 3) Posted: Mon Sep 15, 2003 6:31 pm
Post subject: Re: Shutting down PocketPC [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I used method 2, and it works great. Thanx!

---Mike


"Amit" <amitranjan.TakeThisOut@visualsoft-tech.com> wrote in message
news:%23QqqOY0eDHA.2408@TK2MSFTNGP09.phx.gbl...
> There are two ways..:
> 1.calling PowerOffSystem()
> declared in core dll..
> extern "C" __declspec(dllimport) void PowerOffSystem();
>
> 2.calling
> keybd_event(VK_OFF,0,0,0);
> keybd_event(VK_OFF,0,KEYEVENTF_KEYUP,0);
>
> Hope it helps
>
> Regards
> Amit
> "Mike Berro" <mikeberrox.TakeThisOut@hotmail.com> wrote in message
> news:%232RYYRoeDHA.2336@TK2MSFTNGP12.phx.gbl...
> > Is there a function that shuts down the PPC? This is for a sleep timer.
> > Thanx!
> >
> > ---Mike
> >
> >
>
>
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Infra-red remote control using PocketPC - I am looking for resources to develop an application that control my TV and home entertainment system using ny Pocket...

Error connecting to Database in PocketPC 2002 - Dear all, I have trouble in opening a database in PocketPC2002 device. my code is as below: Set oconn = CreateOb...

In PocketPC 2003 under the support/httpserver folder there.. - In PocketPC 2003 under the support/httpserver folder there are a bunch of other folders ... Such as: 0404 0407 0409 e...

PocketPC Emulator - API calls - error pvbdecl.dll missing - I'm working with Windows 2000, PocketPC 2002, eVB 3.0. After installing the PPC development environment I developed a...

PocketPC 2003 SDK installation error; Failed to initialize.. - When I installed the PocketPC 2003 SDK I got a VBscript error: Failed to initialize property tag. After continuing the ...
       Soft32 Home -> PDA -> Pocket PC Developer All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
  PDA


[ Contact us | Terms of Service/Privacy Policy ]