ReactOS
0.4.15-dev-7918-g2a2556c
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
29
HINSTANCE
hDllInstance
;
30
31
32
BOOL
WINAPI
33
DllMain
(
HINSTANCE
hinstDLL,
34
DWORD
dwReason
,
35
LPVOID
lpvReserved
)
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 */
dwReason
DWORD dwReason
Definition:
misc.cpp:154
TRUE
#define TRUE
Definition:
types.h:120
DllMain
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
Definition:
main.c:26
DLL_THREAD_DETACH
#define DLL_THREAD_DETACH
Definition:
compat.h:133
DLL_PROCESS_ATTACH
#define DLL_PROCESS_ATTACH
Definition:
compat.h:131
DLL_PROCESS_DETACH
#define DLL_PROCESS_DETACH
Definition:
compat.h:130
DLL_THREAD_ATTACH
#define DLL_THREAD_ATTACH
Definition:
compat.h:132
hDllInstance
HINSTANCE hDllInstance
Definition:
main.c:29
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
void
Definition:
nsiface.idl:2307
lpvReserved
static IN DWORD IN LPVOID lpvReserved
Definition:
load_notifications.c:17
winsta.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
dll
win32
winsta
main.c
Generated on Thu Apr 18 2024 06:14:45 for ReactOS by
1.9.6