[EMAIL PROTECTED] wrote:
[ Converted text/html to text/plain ]

I'm trying to find a function that is called very early in the client dll.
Whats the earliest function that is called that people know of?

DllMain?...


// Required DLL entry point
BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID
lpvReserved)
{
   if (fdwReason == DLL_PROCESS_ATTACH)
   {
      // allocate stuff here
   }
   else if (fdwReason == DLL_PROCESS_DETACH)
   {
      // de-allocate stuff here
   }

   return TRUE;
}

--
Jeffrey "botman" Broome

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Reply via email to