Re: Force Reboot

From: Paul G. Tobey [eMVP] (ptobey)
Date: 11/24/04

  • Next message: Charles Marques: "SSCE error"
    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?
    >>
    >>
    >>


  • Next message: Charles Marques: "SSCE error"

    Relevant Pages

    • Re: Force Reboot
      ... how do you search the archives? ... I know about is on the newsgroup page and that does not give the result you ... String, ByVal lnOutBufferSize As Long, ByVal lpBytesReturned As Long) As ... I see this posting in many places but it does not seem to work, ...
      (microsoft.public.windowsce.embedded.vb)
    • Re: How to change default text color of a DataGrid row?
      ... search the archives of the newsgroup via GoogleGroups: ... Paul T. ...
      (microsoft.public.dotnet.framework.compactframework)
    • Re: Write File to Network Drive using Wi Fi connection
      ... Declare Function WNetAddConnection Lib "mpr.dll" Alias ... "WNetAddConnectionA"(ByVal lpszNetPath As String, ByVal lpszPassword As ... > been some traffic on doing this before, so check the newsgroup archives. ...
      (microsoft.public.dotnet.framework.compactframework)
    • Re: Finding out if the device is cradled
      ... archives of this newsgroup, which you can search with GoogleGroups: ... Paul T. ...
      (microsoft.public.dotnet.framework.compactframework)
    • Re: SqlCeDataAdapter
      ... Search the newsgroup archives for similar questions (once you realize ... "How can I use DataSet in Compact ... >> Paul T. ...
      (microsoft.public.dotnet.framework.compactframework)

    Loading