DLL calling its own functions?
Can a Windows DLL exported function call another exported function of the same DLL? For example:
__declspec(dllexport) int __cdecl Function1();
__declspec(dllexport) int __cdecl Function2();
....
__declspec(dllexport) int __cdecl Function1() { return Function2(); }
__declspec(dllexport) int __cdecl Function2() { return 102; }
Most importantly, if this IS allowed. Is the call made by Function1 to Function2 done directly, or would it be called via the current process's JMP table for the DLL.