Re: Force Reboot
From: Paul G. Tobey [eMVP] (ptobey)
Date: 11/24/04
- Previous message: Hari Seldon: "Re: Force Reboot"
- In reply to: Hari Seldon: "Re: Force Reboot"
- Next in thread: Tony: "Re: Force Reboot"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 24 Nov 2004 13:52:31 -0700
Google (formerly DejaNews), archives the newsgroup. The link below is a
starting point for searching the Windows CE newsgroups:
http://groups.google.com/groups?hl=en&group=microsoft.public.windowsce
Paul T.
"Hari Seldon" <HariSeldon@discussions.microsoft.com> wrote in message
news:4D88E362-02B1-4540-A844-37D03F270FAD@microsoft.com...
> Mr. Tobey,
> Thank you for your response.
>
> Please excuse my ignorance, how do you search the archives? The only
> search
> I know about is on the newsgroup page and that does not give the result
> you
> point me to.
>
> The page pointed to by your response did not point to any usable VB code,
> but some research makes me believe that this is the solution that posting
> is
> trying to get to:
>
>
> Declare Function KernelIoControl Lib "coredll" (ByVal dwIoControlCode
> As
> Long, ByVal lpInBuf As String, ByVal nInBufSize As Long, ByVal lpOutBuf As
> String, ByVal lnOutBufferSize As Long, ByVal lpBytesReturned As Long) As
> Boolean
>
> Const IOCTRL_HAL_REBOOT = 16842812
>
> Dim lValue As Long
> KernelIoControl(IOCTRL_HAL_REBOOT, "", 0, "", 0, lValue)
>
> I see this posting in many places but it does not seem to work, when I try
> it I get a "NotSupportedOption" error.
>
>
> "Paul G. Tobey [eMVP]" wrote:
>
>> Well, not surprisingly, this *has* been covered before, even for eVB. A
>> quick search in the archives for "force reboot evb" yields the answer...
>>
>> http://groups.google.com/groups?hl=en&lr=&threadm=%23J%23Ta8OgCHA.564%40tkmsftngp10&rnum=2&prev=/groups%3Fhl%3Den%26lr%3D%26q%3Dforce%2Breboot%2Bevb%26meta%3Dgroup%253Dmicrosoft.public.windowsce.*
>>
>> Paul T.
>>
>> "Hari Seldon" <HariSeldon@discussions.microsoft.com> wrote in message
>> news:7EA02C60-5B14-4034-8E9E-76564697EE2D@microsoft.com...
>> > How can I force a reboot of CE.Net from within a VB program?
>>
>>
>>
- Previous message: Hari Seldon: "Re: Force Reboot"
- In reply to: Hari Seldon: "Re: Force Reboot"
- Next in thread: Tony: "Re: Force Reboot"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|