summaryrefslogtreecommitdiffstats
path: root/tkimg/compat/dllEntry.c
blob: 193c8e7b726a9ebeff1410a869469c6995e56bb7 (plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*

 *	dllEntry.c

 */

#define WIN32_LEAN_AND_MEAN

#include <windows.h>

#undef WIN32_LEAN_AND_MEAN



/*

 *----------------------------------------------------------------------

 *

 * DllEntryPoint --

 *

 *	This routine is called by Borland to invoke the

 *	initialization code for the library.

 *

 * Results:

 *	TRUE.

 *

 * Side effects:

 *	See DllMain.

 *

 *----------------------------------------------------------------------

 */

BOOL APIENTRY
DllEntryPoint(
    HINSTANCE hInst,		/* Library instance handle. */
    DWORD reason,		/* Reason this function is being called. */
    LPVOID reserved)		/* Not used. */
{
    return TRUE;
}

/*

 *----------------------------------------------------------------------

 *

 * DllMain --

 *

 *	This routine is called by the VC++ C run time library init

 *	code invoke the initialization code for the library.

 *

 * Results:

 *	TRUE.

 *

 * Side effects:

 *	None.

 *

 *----------------------------------------------------------------------

 */

BOOL APIENTRY
DllMain(
    HINSTANCE hInst,		/* Library instance handle. */
    DWORD reason,		/* Reason this function is being called. */
    LPVOID reserved)		/* Not used. */
{
    return TRUE;
}