Create c or c++ program that only Use ntdll.dll

  c++, linker, ntdll, visual-studio

I want to write a program in C or C ++ in Visual Studio that uses only the ntdll library and has no graphical interface.(import functions only From ntdll.dll)
Can anyone guide me?
my Test code here :

int main()
    int a = 1;
    int b = 2;
    return a+b;

I made some Change in my Project and Set "Ignore All Default Libraries" to Yes , put ntdll.lib on additional dependency and Set Entry Point to "main"
but whene i try to compile project recive 3 link Error
Link Error

Source: Windows Questions C++