How do you access the `program entry point` to a DLL ?

i thought:
BOOL APIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved);

was it, but its not, thats just the start of the code. the "pep" is something else.

can anyone explain?