forked from realgam3/x64dbg-python
-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathx64dbgpy.h
33 lines (29 loc) · 1.21 KB
/
x64dbgpy.h
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
/**
\brief Executes a python script.
\param szFileName Path to the file (UTF-8).
\return true if it succeeds, false if it fails.
*/
extern "C" __declspec(dllimport) bool ExecutePythonScriptA(const char* szFileName);
/**
\brief Executes a python script.
\param szFileName Path to the file (UTF-8).
\param argc Number of arguments to pass to the python script.
\param argv Array of arguments to pass to the python script (UTF-8).
\return true if it succeeds, false if it fails.
*/
extern "C" __declspec(dllimport) bool ExecutePythonScriptExA(const char* szFileName, int argc, char* argv[]);
/**
\brief Executes a python script.
\param szFileName Path to the file (UTF-16).
\return true if it succeeds, false if it fails.
*/
extern "C" __declspec(dllimport) bool ExecutePythonScriptW(const wchar_t* szFileName);
/**
\brief Executes a python script.
\param szFileName Path to the file (UTF-16).
\param argc Number of arguments to pass to the python script.
\param argv Array of arguments to pass to the python script (UTF-16).
\return true if it succeeds, false if it fails.
*/
extern "C" __declspec(dllimport) bool ExecutePythonScriptExW(const wchar_t* szFileName, int argc, wchar_t* argv[]);