2 * Copyright (c) 2016 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 // DaliWrapper.cpp : Defines the entry point for the DLL application.
22 #include "DaliWrapper.h"
24 BOOL APIENTRY DllMain( HANDLE hModule,
25 DWORD ul_reason_for_call,
29 switch (ul_reason_for_call)
31 case DLL_PROCESS_ATTACH:
32 case DLL_THREAD_ATTACH:
33 case DLL_THREAD_DETACH:
34 case DLL_PROCESS_DETACH:
40 // This is an example of an exported variable
41 DALIWRAPPER_API int nDaliWrapper=0;
43 // This is an example of an exported function.
44 DALIWRAPPER_API int fnDaliWrapper(void)
49 // This is the constructor of a class that has been exported.
50 // see DaliWrapper.h for the class definition
51 CDaliWrapper::CDaliWrapper()