39 lines
764 B
C
39 lines
764 B
C
/******************************************************************************
|
|
* Print Spooler Functions
|
|
*
|
|
*
|
|
* Copyright 1999 Thuy Nguyen
|
|
*/
|
|
|
|
|
|
#include "config.h"
|
|
#include "winspool.h"
|
|
#include "debugtools.h"
|
|
|
|
DEFAULT_DEBUG_CHANNEL(winspool);
|
|
|
|
|
|
/******************************************************************************
|
|
* WINSPOOL_EntryPoint
|
|
*
|
|
* Winspool entry point.
|
|
*
|
|
*/
|
|
BOOL WINAPI WINSPOOL_EntryPoint(HINSTANCE hInstance,
|
|
DWORD reason,
|
|
LPVOID lpReserved)
|
|
{
|
|
switch (reason)
|
|
{
|
|
case DLL_PROCESS_ATTACH: {
|
|
extern void WINSPOOL_LoadSystemPrinters();
|
|
WINSPOOL_LoadSystemPrinters();
|
|
break;
|
|
}
|
|
case DLL_PROCESS_DETACH:
|
|
break;
|
|
}
|
|
|
|
return TRUE;
|
|
}
|