aboutsummaryrefslogtreecommitdiff
path: root/win32/examples/dll.c
blob: 4c1d8ce77413f58c4a05d0c4c3e64d9dfb51b8dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//+---------------------------------------------------------------------------
//
//  dll.c - Windows DLL example - dynamically linked part
//

#include <windows.h>
#define DLL_EXPORT __declspec(dllexport)

DLL_EXPORT void HelloWorld (void)
{
    MessageBox (0, "Hello World!", "From DLL", MB_ICONINFORMATION);
}