-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlecnet.cpp
42 lines (33 loc) · 781 Bytes
/
lecnet.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
// lecnet.cpp - lecnet network library implementation
//
// lecnet network library, part of the liblec library
// Copyright (c) 2018 Alec Musasa (alecmus at live dot com)
//
// Released under the MIT license. For full details see the
// file LICENSE.txt
//
#include "lecnet.h"
#include "versioninfo.h"
#include <Windows.h>
// DllMain function
BOOL APIENTRY DllMain(HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved) {
switch (ul_reason_for_call) {
case DLL_PROCESS_ATTACH:
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
case DLL_PROCESS_DETACH:
break;
default:
break;
}
return TRUE;
}
std::string liblec::lecnet::version() {
return lecnetname + std::string(" ") + lecnetversion + std::string(", ") + lecnetdate;
}