mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
0c63012b6d
Changed 'CUPS:printername' to 'LPR:printername'. Some fixes in AddPrinterW().
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;
|
|
}
|