ReactOS  0.4.14-dev-98-gb0d4763
main.c
Go to the documentation of this file.
1 /*
2  * ReactOS WinStation
3  * Copyright (C) 2005 ReactOS Team
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 /*
20  * PROJECT: ReactOS winsta.dll
21  * FILE: lib/winsta/main.c
22  * PURPOSE: WinStation
23  * PROGRAMMER: Emanuele Aliberti <ea@reactos.com>
24  * Samuel Serapi?n
25  */
26 
27 #include "winsta.h"
28 
30 
31 
33 DllMain(HINSTANCE hinstDLL,
36 {
37  switch (dwReason)
38  {
39  case DLL_PROCESS_ATTACH:
40  hDllInstance = hinstDLL;
41  break;
42  case DLL_THREAD_ATTACH:
43  break;
44  case DLL_THREAD_DETACH:
45  break;
46  case DLL_PROCESS_DETACH:
47  break;
48  }
49  return TRUE;
50 }
51 /* EOF */
#define TRUE
Definition: types.h:120
#define DLL_THREAD_ATTACH
Definition: compat.h:121
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
#define DLL_THREAD_DETACH
Definition: compat.h:122
static IN DWORD IN LPVOID lpvReserved
DWORD dwReason
Definition: misc.cpp:154
unsigned int BOOL
Definition: ntddk_ex.h:94
#define DLL_PROCESS_DETACH
Definition: compat.h:119
#define WINAPI
Definition: msvc.h:8
unsigned long DWORD
Definition: ntddk_ex.h:95
HINSTANCE hDllInstance
Definition: main.c:29
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
Definition: main.c:26