Initial guest-to-host trampoline generation

This commit is contained in:
2025-10-30 02:23:09 -06:00
parent 9367f003c5
commit 55a62a27c9
85 changed files with 1750 additions and 1807 deletions

View File

@@ -1,20 +1,20 @@
#pragma once
#include "common.h"
#include "types.h"
namespace kernel32 {
LPSTR WIN_FUNC GetCommandLineA();
LPWSTR WIN_FUNC GetCommandLineW();
HANDLE WIN_FUNC GetStdHandle(DWORD nStdHandle);
BOOL WIN_FUNC SetStdHandle(DWORD nStdHandle, HANDLE hHandle);
LPCH WIN_FUNC GetEnvironmentStrings();
LPWCH WIN_FUNC GetEnvironmentStringsW();
BOOL WIN_FUNC FreeEnvironmentStringsA(LPCH penv);
BOOL WIN_FUNC FreeEnvironmentStringsW(LPWCH penv);
DWORD WIN_FUNC GetEnvironmentVariableA(LPCSTR lpName, LPSTR lpBuffer, DWORD nSize);
DWORD WIN_FUNC GetEnvironmentVariableW(LPCWSTR lpName, LPWSTR lpBuffer, DWORD nSize);
BOOL WIN_FUNC SetEnvironmentVariableA(LPCSTR lpName, LPCSTR lpValue);
BOOL WIN_FUNC SetEnvironmentVariableW(LPCWSTR lpName, LPCWSTR lpValue);
LPSTR WINAPI GetCommandLineA();
LPWSTR WINAPI GetCommandLineW();
HANDLE WINAPI GetStdHandle(DWORD nStdHandle);
BOOL WINAPI SetStdHandle(DWORD nStdHandle, HANDLE hHandle);
LPCH WINAPI GetEnvironmentStrings();
LPWCH WINAPI GetEnvironmentStringsW();
BOOL WINAPI FreeEnvironmentStringsA(LPCH penv);
BOOL WINAPI FreeEnvironmentStringsW(LPWCH penv);
DWORD WINAPI GetEnvironmentVariableA(LPCSTR lpName, LPSTR lpBuffer, DWORD nSize);
DWORD WINAPI GetEnvironmentVariableW(LPCWSTR lpName, LPWSTR lpBuffer, DWORD nSize);
BOOL WINAPI SetEnvironmentVariableA(LPCSTR lpName, LPCSTR lpValue);
BOOL WINAPI SetEnvironmentVariableW(LPCWSTR lpName, LPCWSTR lpValue);
} // namespace kernel32