ReactOS
0.4.16-dev-41-ge8c7597
dllmain.c
Go to the documentation of this file.
1
/* NFSv4.1 client for Windows
2
* Copyright © 2012 The Regents of the University of Michigan
3
*
4
* Olga Kornievskaia <aglo@umich.edu>
5
* Casey Bodley <cbodley@umich.edu>
6
*
7
* This library is free software; you can redistribute it and/or modify it
8
* under the terms of the GNU Lesser General Public License as published by
9
* the Free Software Foundation; either version 2.1 of the License, or (at
10
* your option) any later version.
11
*
12
* This library is distributed in the hope that it will be useful, but
13
* without any warranty; without even the implied warranty of merchantability
14
* or fitness for a particular purpose. See the GNU Lesser General Public
15
* License for more details.
16
*
17
* You should have received a copy of the GNU Lesser General Public License
18
* along with this library; if not, write to the Free Software Foundation,
19
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20
*/
21
22
/*++
23
24
Copyright (c) 1989-1999 Microsoft Corporation
25
26
Module Name:
27
28
dllmain.c
29
30
Abstract:
31
32
This module implements the initialization routines for network
33
provider interface
34
35
Notes:
36
37
This module has been built and tested only in UNICODE environment
38
39
--*/
40
41
#include <windows.h>
42
#include <process.h>
43
44
45
// NOTE:
46
//
47
// Function:` DllMain
48
//
49
// Return: TRUE => Success
50
// FALSE => Failure
51
52
BOOL
WINAPI
DllMain
(
HINSTANCE
hDLLInst,
DWORD
fdwReason,
LPVOID
lpvReserved
)
53
{
54
BOOL
bStatus =
TRUE
;
55
56
switch
(fdwReason) {
57
case
DLL_PROCESS_ATTACH
:
58
break
;
59
60
case
DLL_PROCESS_DETACH
:
61
break
;
62
63
case
DLL_THREAD_ATTACH
:
64
break
;
65
66
case
DLL_THREAD_DETACH
:
67
break
;
68
69
default
:
70
break
;
71
}
72
73
return
(bStatus);
74
}
TRUE
#define TRUE
Definition:
types.h:120
DllMain
BOOL WINAPI DllMain(HINSTANCE hDLLInst, DWORD fdwReason, LPVOID lpvReserved)
Definition:
dllmain.c:52
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
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
WINAPI
#define WINAPI
Definition:
msvc.h:6
dll
np
nfs
dllmain.c
Generated on Wed Sep 18 2024 06:14:30 for ReactOS by
1.9.6