Page Menu
Home
desp's stash
Search
Configure Global Search
Log In
Files
F702547
PluginLoader.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
726 B
Subscribers
None
PluginLoader.h
View Options
#pragma once
#include
<windows.h>
#include
<stdio.h>
#include
<vector>
class
Plugin
{
public
:
DWORD
fileSize
;
WCHAR
fullpath
[
MAX_PATH
];
WCHAR
pluginName
[
MAX_PATH
];
};
#define PLUGIN_DIR "Plugins"
#define PLUGIN_SEARCH_STRING "*.dll"
typedef
wchar_t
*
(
__cdecl
*
def_ScyllaPluginNameW
)();
typedef
char
*
(
__cdecl
*
def_ScyllaPluginNameA
)();
class
PluginLoader
{
public
:
static
bool
findAllPlugins
();
static
std
::
vector
<
Plugin
>
&
getPluginList
();
private
:
static
std
::
vector
<
Plugin
>
pluginList
;
static
WCHAR
dirSearchString
[
MAX_PATH
];
static
WCHAR
baseDirPath
[
MAX_PATH
];
static
bool
buildSearchString
();
static
bool
getPluginName
(
Plugin
*
pluginData
);
static
bool
isValidDllFile
(
const
WCHAR
*
fullpath
);
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Mon, Jun 8, 2:01 PM (20 h, 39 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
25/22/0f9c4bccedb46e92309d37b4961b
Attached To
rSCY Scylla
Event Timeline
Log In to Comment