Storing an IP address in a signed int results in bugs if it starts
[wine] / dlls / winspool / wspool.c
1 /******************************************************************************
2  * Print Spooler Functions
3  *
4  *
5  * Copyright 1999 Thuy Nguyen
6  */
7
8
9 #include "config.h"
10 #include "winspool.h"
11 #include "debugtools.h"
12
13 DEFAULT_DEBUG_CHANNEL(winspool);
14
15
16 /******************************************************************************
17  *  WINSPOOL_EntryPoint
18  *
19  * Winspool entry point.
20  *
21  */
22 BOOL WINAPI WINSPOOL_EntryPoint(HINSTANCE hInstance,
23                                 DWORD reason,
24                                 LPVOID lpReserved)
25 {
26   switch (reason)
27   {
28     case DLL_PROCESS_ATTACH: {
29       extern void WINSPOOL_LoadSystemPrinters();
30       WINSPOOL_LoadSystemPrinters();
31       break;
32     }
33     case DLL_PROCESS_DETACH:
34       break;
35   }
36
37   return TRUE;
38 }