Page Menu
Home
desp's stash
Search
Configure Global Search
Log In
Files
F554484
PluginLoader.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
PluginLoader.h
View Options
#pragma once
#include
<windows.h>
#include
<vector>
class
Plugin
{
public
:
DWORD
fileSize
;
WCHAR
fullpath
[
MAX_PATH
];
WCHAR
pluginName
[
MAX_PATH
];
};
typedef
wchar_t
*
(
__cdecl
*
def_ScyllaPluginNameW
)();
typedef
char
*
(
__cdecl
*
def_ScyllaPluginNameA
)();
typedef
DWORD
(
*
def_Imprec_Trace
)(
DWORD
hFileMap
,
DWORD
dwSizeMap
,
DWORD
dwTimeOut
,
DWORD
dwToTrace
,
DWORD
dwExactCall
);
class
PluginLoader
{
public
:
WCHAR
imprecWrapperDllPath
[
MAX_PATH
];
bool
findAllPlugins
();
std
::
vector
<
Plugin
>
&
getScyllaPluginList
();
std
::
vector
<
Plugin
>
&
getImprecPluginList
();
private
:
static
const
WCHAR
PLUGIN_DIR
[];
static
const
WCHAR
PLUGIN_SEARCH_STRING
[];
static
const
WCHAR
PLUGIN_IMPREC_DIR
[];
static
const
WCHAR
PLUGIN_IMPREC_WRAPPER_DLL
[];
std
::
vector
<
Plugin
>
scyllaPluginList
;
std
::
vector
<
Plugin
>
imprecPluginList
;
WCHAR
dirSearchString
[
MAX_PATH
];
WCHAR
baseDirPath
[
MAX_PATH
];
bool
buildSearchString
();
bool
buildSearchStringImprecPlugins
();
bool
getScyllaPluginName
(
Plugin
*
pluginData
);
bool
searchForPlugin
(
std
::
vector
<
Plugin
>
&
newPluginList
,
const
WCHAR
*
searchPath
,
bool
isScyllaPlugin
);
static
bool
fileExists
(
const
WCHAR
*
fileName
);
static
bool
isValidDllFile
(
const
WCHAR
*
fullpath
);
static
bool
isValidImprecPlugin
(
const
WCHAR
*
fullpath
);
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Tue, Feb 10, 2:18 PM (1 d, 17 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6c/03/1ee0370389d2a4265dd67af1d24a
Attached To
rSCY Scylla
Event Timeline
Log In to Comment