|
Revision 10, 0.8 KB
(checked in by balister, 9 years ago)
|
|
Initial import
|
| Line | |
|---|
| 1 | // ossieparser.cpp : Defines the entry point for the DLL application.
|
|---|
| 2 | //
|
|---|
| 3 |
|
|---|
| 4 | #include "stdafx.h"
|
|---|
| 5 | #include "ossieparser.h"
|
|---|
| 6 |
|
|---|
| 7 | BOOL APIENTRY DllMain( HANDLE hModule,
|
|---|
| 8 | DWORD ul_reason_for_call,
|
|---|
| 9 | LPVOID lpReserved
|
|---|
| 10 | )
|
|---|
| 11 | {
|
|---|
| 12 | switch (ul_reason_for_call)
|
|---|
| 13 | {
|
|---|
| 14 | case DLL_PROCESS_ATTACH:
|
|---|
| 15 | case DLL_THREAD_ATTACH:
|
|---|
| 16 | case DLL_THREAD_DETACH:
|
|---|
| 17 | case DLL_PROCESS_DETACH:
|
|---|
| 18 | break;
|
|---|
| 19 | }
|
|---|
| 20 | return TRUE;
|
|---|
| 21 | }
|
|---|
| 22 |
|
|---|
| 23 | /*
|
|---|
| 24 | // This is an example of an exported variable
|
|---|
| 25 | OSSIEPARSER_API int nOssieparser=0;
|
|---|
| 26 |
|
|---|
| 27 | // This is an example of an exported function.
|
|---|
| 28 | OSSIEPARSER_API int fnOssieparser(void)
|
|---|
| 29 | {
|
|---|
| 30 | return 42;
|
|---|
| 31 | }
|
|---|
| 32 |
|
|---|
| 33 | // This is the constructor of a class that has been exported.
|
|---|
| 34 | // see ossieparser.h for the class definition
|
|---|
| 35 | COssieparser::COssieparser()
|
|---|
| 36 | {
|
|---|
| 37 | return;
|
|---|
| 38 | }
|
|---|
| 39 | */
|
|---|