drivers/can_copcican_win32/dllmain.cpp
author Christian Taedcke <hacking@taedcke.com>
Thu, 22 Dec 2011 11:43:08 +0100
changeset 678 c1b9455929e6
parent 629 b9274b595650
permissions -rw-r--r--
FIXED: - adapted paths for current vscom driver
- removed chmod +x vs_can_api.dll;
- added option -o to unzip command to overwrite existing files
629
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     1
// dllmain.cpp : Defines the entry point for the DLL application.
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     2
#include "stdafx.h"
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     3
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     4
BOOL APIENTRY DllMain( HMODULE hModule,
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     5
                       DWORD  ul_reason_for_call,
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     6
                       LPVOID lpReserved
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     7
					 )
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     8
{
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
     9
	switch (ul_reason_for_call)
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    10
	{
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    11
	case DLL_PROCESS_ATTACH:
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    12
	case DLL_THREAD_ATTACH:
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    13
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    14
		break;
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    15
	case DLL_THREAD_DETACH:
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    16
	case DLL_PROCESS_DETACH:
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    17
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    18
		break;
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    19
	}
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    20
	return TRUE;
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    21
}
b9274b595650 CosateQ contribution.
edouard
parents:
diff changeset
    22