1999-08-15 16:34:22 +00:00
|
|
|
/******************************************************************************
|
|
|
|
* Print Spooler Functions
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright 1999 Thuy Nguyen
|
|
|
|
*/
|
|
|
|
|
2001-04-27 18:02:46 +00:00
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include "winspool.h"
|
1999-08-15 16:34:22 +00:00
|
|
|
#include "debugtools.h"
|
|
|
|
|
2000-11-27 23:54:25 +00:00
|
|
|
DEFAULT_DEBUG_CHANNEL(winspool);
|
1999-08-15 16:34:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
* WINSPOOL_EntryPoint
|
|
|
|
*
|
|
|
|
* Winspool entry point.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
BOOL WINAPI WINSPOOL_EntryPoint(HINSTANCE hInstance,
|
|
|
|
DWORD reason,
|
|
|
|
LPVOID lpReserved)
|
|
|
|
{
|
|
|
|
switch (reason)
|
|
|
|
{
|
2001-04-27 18:02:46 +00:00
|
|
|
case DLL_PROCESS_ATTACH: {
|
2001-05-09 17:10:41 +00:00
|
|
|
extern void WINSPOOL_LoadSystemPrinters();
|
|
|
|
WINSPOOL_LoadSystemPrinters();
|
1999-08-15 16:34:22 +00:00
|
|
|
break;
|
2001-04-27 18:02:46 +00:00
|
|
|
}
|
1999-08-15 16:34:22 +00:00
|
|
|
case DLL_PROCESS_DETACH:
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
return TRUE;
|
|
|
|
}
|