Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

53 lines
853 B

#include <pch.h>
#include "billbrd.h"
//DLLInit(
DllMain(
IN HANDLE DLLHandle,
IN DWORD Reason,
IN LPVOID ReservedAndUnused
)
{
#ifdef UNICODE
INITCOMMONCONTROLSEX ControlInit;
#endif
ReservedAndUnused;
switch(Reason) {
case DLL_PROCESS_ATTACH:
g_hInstance = (HINSTANCE)DLLHandle;
#ifdef UNICODE
// Need to initialize common controls in the comctl32 v6 case
// in GUI mode setup.
ControlInit.dwSize = sizeof(INITCOMMONCONTROLSEX);
ControlInit.dwICC = ICC_PROGRESS_CLASS;
InitCommonControlsEx( &ControlInit );
#endif
break;
case DLL_PROCESS_DETACH:
break ;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
break;
}
return(TRUE);
}