You will need to link this against the ApacheCore.lib export library that is created when the ApacheCore.dll shared library is compiled. You may also have to change the compiler settings to ensure that the Apache header files are correctly located. This should create a DLL version of your module. Now simply place it in the modules directory of your server root, and use the LoadModule directive to load it. Filename is either and absolute path or relative to ServerRoot .
Module is the name of the external variable of type module in the file.