Split kernel32 into separate files (part 2)

This commit is contained in:
2025-10-02 00:20:28 -06:00
parent 9ea5b24b67
commit fa3ed4893a
53 changed files with 7352 additions and 6134 deletions

20
dll/kernel32/processenv.h Normal file
View File

@@ -0,0 +1,20 @@
#pragma once
#include "common.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);
} // namespace kernel32