RE: Can coredll.lib be added in the sources file in kernel?

From: Russ Keldorph [MS] (russellk_at_online.microsoft.com)
Date: 03/30/04

  • Next message: Russ Keldorph [MS]: "RE: How to view the symbolic for the files of *.s in boot loader"
    Date: Tue, 30 Mar 2004 00:30:59 GMT
    
    

    1) No, coredll.lib definitely cannot be linked into the kernel
    2) No, you cannot call GWES routines from the kernel.

    You should be able to call the kernel routine 'void
    SC_PowerOffSystem(void)' directly instead. It isn't recommended, but it
    ought to work.

    -- 
    Russ Keldorph
    russellk@online.microsoft.com (Remove the 'online.' from my address to 
    reach me.)
    This posting is provided "AS IS" with no warranties, and confers no rights.
    OR if you wish to include a script sample in your post please add "Use of
    included script samples are subject to the terms specified at
    http://www.microsoft.com/info/cpyright.htm"
    --------------------
    > Reply-To: "chen" <chen@discussions.microsoft.com.invalid>
    > From: "chen" <chen@discussions.microsoft.com.invalid>
    > Subject: Can coredll.lib be added in the sources file in kernel?
    > Date: Fri, 26 Mar 2004 11:09:36 -0500
    > Lines: 14
    > X-Priority: 3
    > X-MSMail-Priority: Normal
    > X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    > Message-ID: <#y4p1z0EEHA.3132@TK2MSFTNGP12.phx.gbl>
    > Newsgroups: 
    microsoft.public.windowsce.platbuilder,microsoft.public.windowsce.targeted.d
    evice
    > NNTP-Posting-Host: h-68-165-149-226.cmbrmaor.covad.net 68.165.149.226
    > Path: 
    cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
    .phx.gbl!TK2MSFTNGP12.phx.gbl
    > Xref: cpmsftngxa06.phx.gbl 
    microsoft.public.windowsce.targeted.device:4745 
    microsoft.public.windowsce.platbuilder:47648
    > X-Tomcat-NG: microsoft.public.windowsce.platbuilder
    > 
    > Hi,
    >     I want to call GwesPowerOffSystem or SetEvent in OEMIoControl 
    function.
    > That requires coredll.lib. But if I add
    > TARGETLIBS=$(_COMMONSDKROOT)\lib\$(_CPUINDPATH)\coredll.lib in the sources
    > file for the 3 directories kern,kernkitl and kernkitlprof under
    > \kernel\buildexe, my nk.bin can not be loaded on the device. So my 
    questions
    > are:
    > 1) Can coredll.lib be added in the sources file in kernel?
    > 2) If not, is there a way that I can call GwesPowerOffSystem in 
    OEMIoControl
    > ?
    > 
    > Thankes a lot in advance for your help.
    > 
    > 
    > 
    

  • Next message: Russ Keldorph [MS]: "RE: How to view the symbolic for the files of *.s in boot loader"

    Relevant Pages

    • Re: previous problem sort of resolved
      ... > now i have some updates which i can't install because of dependancy ... the '2's to '3's in the sources file. ... You certainly should not need to register with RedHat. ... > boot) doesn'y list the latest kernel. ...
      (Fedora)
    • Re: kernel-2.6.8-1.520 (i586) and no X
      ... > Check your yum.conf or the sources file for up2date: ... This means the kernel you are speaking about ... Yes your right had updates-testing in there and didn't really know it. ...
      (Fedora)