1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-03-18 15:14:10 +01:00

32 lines
477 B
C

#ifndef _METERPRETER_COMMON_THREAD_H
#define _METERPRETER_COMMON_THREAD_H
typedef struct _LOCK
{
HANDLE handle;
} LOCK, * LPLOCK;
typedef struct _EVENT
{
HANDLE handle;
} EVENT, * LPEVENT;
#define THREADCALL __stdcall
typedef struct _THREAD THREAD, *LPTHREAD;
typedef DWORD (THREADCALL * THREADFUNK)(LPTHREAD thread);
struct _THREAD
{
DWORD id;
HANDLE handle;
EVENT * sigterm;
THREADFUNK funk;
LPVOID parameter1;
LPVOID parameter2;
LPVOID parameter3;
};
#endif