mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-04 02:31:10 -06:00
21 lines
513 B
C
21 lines
513 B
C
#pragma once
|
|
|
|
struct PPCContext;
|
|
struct GuestThreadParameter
|
|
{
|
|
uint32_t function;
|
|
uint32_t value;
|
|
uint32_t flags;
|
|
};
|
|
|
|
struct GuestThread
|
|
{
|
|
static DWORD Start(uint32_t function);
|
|
static DWORD Start(const GuestThreadParameter& parameter);
|
|
static HANDLE Start(uint32_t function, uint32_t parameter, uint32_t flags, LPDWORD threadId);
|
|
|
|
static void SetThreadName(uint32_t id, const char* name);
|
|
static void SetLastError(DWORD error);
|
|
static PPCContext* Invoke(uint32_t address);
|
|
};
|