NTKERNELAPLI is not able to access

Kumar, G N Pavan 0 Reputation points
2024-03-27T11:55:45.92+00:00

I'm trying to use the some NTKERNELAPI, in my driver code, but i'm getting these below errors.

error LNK2019: unresolved external symbol __imp__KeInitializeEvent referenced in function XXXX

error LNK2019: unresolved external symbol __imp__IoAcquireCancelSpinLock referenced in function XXXX

error LNK2019: unresolved external symbol __imp__KeSetEvent referenced in function XXXX

error LNK2019: unresolved external symbol __imp__PoCallDriver referenced in function XXXX

My .c files was include with wdm.h file. and compiled the code with cl.exe and during linking the library with ntoskrnl.lib these errors are observed.
I will be great help if someone help on this issue.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,620 questions
Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,543 questions
0 comments No comments
{count} votes