| 17 | } |
| 18 | |
| 19 | BOOL WINAPI MPQDraftPluginInterface::GetPluginName(LPSTR pPluginName, DWORD namebufferlength) |
| 20 | { |
| 21 | // safeguard |
| 22 | if ( !pPluginName ) |
| 23 | return FALSE; |
| 24 | |
| 25 | // Copy the plugin name to the target |
| 26 | strcpy(pPluginName, ::GetPluginName().substr(0, namebufferlength-1).c_str()); |
| 27 | return TRUE; |
| 28 | } |
| 29 | |
| 30 | BOOL WINAPI MPQDraftPluginInterface::CanPatchExecutable(LPCSTR /*exefilename*/) |
| 31 | { //Generally you check if the version is right here |
nothing calls this directly
no test coverage detected