-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathUtility.hpp
33 lines (24 loc) · 1.01 KB
/
Utility.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma once
//---------------------------------------------------------------------------//
//
// Utility.hpp
// TTB Plugin Template (C++11)
//
//---------------------------------------------------------------------------//
#include <windows.h>
#include "Plugin.hpp"
//---------------------------------------------------------------------------//
LPTSTR CopyString (LPCTSTR Src);
void DeleteString (LPCTSTR Str);
PLUGIN_INFO* CopyPluginInfo (const PLUGIN_INFO* Src);
void FreePluginInfo (PLUGIN_INFO* PLUGIN_INFO);
void GetVersion (LPTSTR Filename, DWORD* VersionMS, DWORD* VersionLS);
BOOL ExecutePluginCommand(LPCTSTR pluginName, INT32 CmdID);
//---------------------------------------------------------------------------//
#if NO_WRITELOG
#define WriteLog(logLevel, format, ...)
#else
void WriteLog (ERROR_LEVEL logLevel, LPCTSTR format, ...);
#endif
//---------------------------------------------------------------------------//
// Utility.hpp