DarkGDK starts at WinMain, and call DarkGDK from there, it's more or less like:
int WinMain ( HINSTANCE instance, HINSTANCE hPrevInstance, LPCSTR cmdLine, in cmdShow )
{
//
//initialize some stuff..
//
DarkGDK ( );
//
//clean up
//
}
now GDK is a group of libraries, in one header, it declares
and one library uses it, and because it's a library, the body of DarkGDK does not need to be defined in it, it could be defined in the code of the file which uses the library, and that is what's happening, your main.cpp (or whatever you made it) defines DarkGDK so the library can call it without linker errors
you are not defining any entry point in your source, you are just defining a regular function body