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