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

From: chen (chen_at_discussions.microsoft.com.invalid)
Date: 03/26/04


Date: Fri, 26 Mar 2004 11:09:36 -0500

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.