| 51 | } |
| 52 | |
| 53 | BOOL WINAPI MPQDraftPluginInterface::InitializePlugin(IMPQDraftServer* /*server*/) |
| 54 | { |
| 55 | std::string target = GetBWAPITarget(); |
| 56 | |
| 57 | if ( !LoadLibraryA(target.c_str()) ) |
| 58 | return BWAPIError("Could not load \"%s\".", target.c_str()); |
| 59 | return TRUE; |
| 60 | } |
| 61 | |
| 62 | BOOL WINAPI MPQDraftPluginInterface::TerminatePlugin() |
| 63 | { //Called when starcraft closes |
nothing calls this directly
no test coverage detected