mirror of
https://github.com/WinDurango-project/WinDurango.git
synced 2024-11-23 19:29:40 +00:00
Merge branch 'WinDurango-project:main' into main
This commit is contained in:
commit
28e40076f1
@ -38,8 +38,8 @@ See the [Quickstart](https://github.com/WinDurango/WinDurango/wiki/Quickstart) p
|
||||
|
||||
## Building
|
||||
|
||||
See [building.md](docs/building.md) for setup.
|
||||
When writing code, check the [style guide](docs/style_guide.md)
|
||||
See [BUILDING.md](docs/BUILDING.md) for setup.
|
||||
When writing code, check the [STYLE_GUIDE.md](docs/STYLE_GUIDE.md)
|
||||
and be sure to run clang-format!
|
||||
|
||||
## Contributors Wanted!
|
||||
@ -48,7 +48,7 @@ Have some spare time, know C++ and have knowledge about Windows interals,
|
||||
and want to write code for the world's first Microsoft Xbox One compatiablity layer?
|
||||
Contribute!
|
||||
|
||||
**For general rules and guidelines please see [CONTRIBUTING.md](.github/CONTRIBUTING.md).**
|
||||
**For general rules and guidelines please see [CONTRIBUTING.md](docs/CONTRIBUTING.md).**
|
||||
|
||||
See more projects [good for contributors](https://github.com/WinDurango/WinDurango/labels/good%20first%20issue).
|
||||
It's a good idea to ask on Discord and check the issues page before beginning work on something.
|
||||
|
@ -176,6 +176,20 @@ EXPORTS
|
||||
QueryPerformanceFrequency = NTDLL.RtlQueryPerformanceFrequency @334
|
||||
RaiseException = RaiseException_X @339
|
||||
ReadFile = ReadFile_X @344
|
||||
RegCloseKey = RegCloseKey_X @348
|
||||
RegCreateKeyExW = RegCreateKeyExW_X @349
|
||||
RegCreateKeyW = RegCreateKeyW_X @350
|
||||
RegDeleteKeyExW = RegDeleteKeyExW_X @351
|
||||
RegDeleteKeyW = RegDeleteKeyW_X @352
|
||||
RegDeleteValueW = RegDeleteValueW_X @353
|
||||
RegEnumKeyExW = RegEnumKeyExW_X @354
|
||||
RegEnumKeyW = RegEnumKeyW_X @355
|
||||
RegEnumValueW = RegEnumValueW_X @356
|
||||
RegOpenKeyExW = RegOpenKeyExW_X @357
|
||||
RegOpenKeyW = RegOpenKeyW_X @358
|
||||
RegQueryInfoKeyW = RegQueryInfoKeyW_X @359
|
||||
RegQueryValueExW = RegQueryValueExW_X @360
|
||||
RegSetValueExW = RegSetValueExW_X @361
|
||||
RegisterTraceGuidsW = NTDLL.EtwRegisterTraceGuidsW @362
|
||||
ReleaseMutexWhenCallbackReturns = NTDLL.TpCallbackReleaseMutexOnCompletion @365
|
||||
ReleaseSRWLockExclusive = NTDLL.RtlReleaseSRWLockExclusive @366
|
||||
|
@ -827,6 +827,7 @@ __int64 GetConsoleType_X()
|
||||
}
|
||||
|
||||
|
||||
|
||||
// !!!!!
|
||||
/*/ Should be in ntdll.dll reimplementation, right now i'm just testing things with DLLMain entryPoint
|
||||
PVOID RtlSetUnhandledExceptionFilter(PVOID ExceptionFilter)
|
||||
@ -835,9 +836,81 @@ PVOID RtlSetUnhandledExceptionFilter(PVOID ExceptionFilter)
|
||||
}*/
|
||||
|
||||
|
||||
LSTATUS RegCloseKey_X(HKEY hKey)
|
||||
{
|
||||
return RegCloseKey(hKey);
|
||||
}
|
||||
|
||||
LSTATUS RegCreateKeyExW_X(HKEY hKey, LPCWSTR lpSubKey, DWORD Reserved, LPWSTR lpClass, DWORD dwOptions,
|
||||
REGSAM samDesired, const LPSECURITY_ATTRIBUTES lpSecurityAttributes, PHKEY phkResult, LPDWORD lpdwDisposition)
|
||||
{
|
||||
return RegCreateKeyExW(hKey, lpSubKey, Reserved, lpClass, dwOptions, samDesired, lpSecurityAttributes, phkResult, lpdwDisposition);
|
||||
}
|
||||
|
||||
LSTATUS RegCreateKeyW_X(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult)
|
||||
{
|
||||
return RegCreateKeyW(hKey, lpSubKey, phkResult);
|
||||
}
|
||||
|
||||
LSTATUS RegDeleteKeyExW_X(HKEY hKey, LPCWSTR lpSubKey, REGSAM samDesired, DWORD Reserved)
|
||||
{
|
||||
return RegDeleteKeyExW(hKey, lpSubKey, samDesired, Reserved);
|
||||
}
|
||||
|
||||
LSTATUS RegDeleteKeyW_X(HKEY hKey, LPCWSTR lpSubKey)
|
||||
{
|
||||
return RegDeleteKeyW(hKey, lpSubKey);
|
||||
}
|
||||
|
||||
LSTATUS RegDeleteValueW_X(HKEY hKey, LPCWSTR lpValueName)
|
||||
{
|
||||
return RegDeleteValueW(hKey, lpValueName);
|
||||
}
|
||||
|
||||
LSTATUS RegEnumKeyExW_X(HKEY hKey, DWORD dwIndex, LPWSTR lpName, LPDWORD lpcchName, LPDWORD lpReserved, LPWSTR lpClass,
|
||||
LPDWORD lpcchClass, PFILETIME lpftLastWriteTime)
|
||||
{
|
||||
return RegEnumKeyExW(hKey, dwIndex, lpName, lpcchName, lpReserved, lpClass, lpcchClass, lpftLastWriteTime);
|
||||
}
|
||||
|
||||
LSTATUS RegEnumKeyW_X(HKEY hKey, DWORD dwIndex, LPWSTR lpName, DWORD cchName)
|
||||
{
|
||||
return RegEnumKeyW(hKey, dwIndex, lpName, cchName);
|
||||
}
|
||||
|
||||
LSTATUS RegEnumValueW_X(HKEY hKey, DWORD dwIndex, LPWSTR lpValueName, LPDWORD lpcchValueName, LPDWORD lpReserved,
|
||||
LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData)
|
||||
{
|
||||
return RegEnumValueW(hKey, dwIndex, lpValueName, lpcchValueName, lpReserved, lpType, lpData, lpcbData);
|
||||
}
|
||||
|
||||
LSTATUS RegOpenKeyExW_X(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
|
||||
{
|
||||
return RegOpenKeyExW(hKey, lpSubKey, ulOptions, samDesired, phkResult);
|
||||
}
|
||||
|
||||
LSTATUS RegOpenKeyW_X(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult)
|
||||
{
|
||||
return RegOpenKeyW(hKey, lpSubKey, phkResult);
|
||||
}
|
||||
|
||||
LSTATUS RegQueryInfoKeyW_X(HKEY hKey, LPWSTR lpClass, LPDWORD lpcchClass, LPDWORD lpReserved, LPDWORD lpcSubKeys,
|
||||
LPDWORD lpcbMaxSubKeyLen, LPDWORD lpcbMaxClassLen, LPDWORD lpcValues, LPDWORD lpcbMaxValueNameLen,
|
||||
LPDWORD lpcbMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime)
|
||||
{
|
||||
return RegQueryInfoKeyW(hKey, lpClass, lpcchClass, lpReserved, lpcSubKeys, lpcbMaxSubKeyLen, lpcbMaxClassLen, lpcValues, lpcbMaxValueNameLen, lpcbMaxValueLen, lpcbSecurityDescriptor, lpftLastWriteTime);
|
||||
}
|
||||
|
||||
LSTATUS RegQueryValueExW_X(HKEY hKey, LPCWSTR lpValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData,
|
||||
LPDWORD lpcbData)
|
||||
{
|
||||
return RegQueryValueExW(hKey, lpValueName, lpReserved, lpType, lpData, lpcbData);
|
||||
}
|
||||
|
||||
LSTATUS RegSetValueExW_X(HKEY hKey, LPCWSTR lpValueName, DWORD Reserved, DWORD dwType, const BYTE* lpData, DWORD cbData)
|
||||
{
|
||||
return RegSetValueExW(hKey, lpValueName, Reserved, dwType, lpData, cbData);
|
||||
}
|
||||
|
||||
|
||||
// TODO
|
||||
@ -1070,4 +1143,5 @@ NTSTATUS sub_18001BCA0(HINSTANCE hInstance, DWORD forwardReason, LPVOID lpvReser
|
||||
}
|
||||
dword_18002B84C = 0;
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -300,6 +300,33 @@ extern "C"
|
||||
|
||||
__int64 GetConsoleType_X();
|
||||
|
||||
LSTATUS RegCloseKey_X(HKEY hKey);
|
||||
|
||||
LSTATUS RegCreateKeyExW_X(HKEY hKey, LPCWSTR lpSubKey, DWORD Reserved, LPWSTR lpClass, DWORD dwOptions, REGSAM samDesired, const LPSECURITY_ATTRIBUTES lpSecurityAttributes, PHKEY phkResult, LPDWORD lpdwDisposition);
|
||||
|
||||
LSTATUS RegCreateKeyW_X(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult);
|
||||
|
||||
LSTATUS RegDeleteKeyExW_X(HKEY hKey, LPCWSTR lpSubKey, REGSAM samDesired, DWORD Reserved);
|
||||
|
||||
LSTATUS RegDeleteKeyW_X(HKEY hKey, LPCWSTR lpSubKey);
|
||||
|
||||
LSTATUS RegDeleteValueW_X(HKEY hKey, LPCWSTR lpValueName);
|
||||
|
||||
LSTATUS RegEnumKeyExW_X(HKEY hKey, DWORD dwIndex, LPWSTR lpName, LPDWORD lpcchName, LPDWORD lpReserved, LPWSTR lpClass, LPDWORD lpcchClass, PFILETIME lpftLastWriteTime);
|
||||
|
||||
LSTATUS RegEnumKeyW_X(HKEY hKey, DWORD dwIndex, LPWSTR lpName, DWORD cchName);
|
||||
|
||||
LSTATUS RegEnumValueW_X(HKEY hKey, DWORD dwIndex, LPWSTR lpValueName, LPDWORD lpcchValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData);
|
||||
|
||||
LSTATUS RegOpenKeyExW_X(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult);
|
||||
|
||||
LSTATUS RegOpenKeyW_X(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult);
|
||||
|
||||
LSTATUS RegQueryInfoKeyW_X(HKEY hKey, LPWSTR lpClass, LPDWORD lpcchClass, LPDWORD lpReserved, LPDWORD lpcSubKeys, LPDWORD lpcbMaxSubKeyLen, LPDWORD lpcbMaxClassLen, LPDWORD lpcValues, LPDWORD lpcbMaxValueNameLen, LPDWORD lpcbMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime);
|
||||
|
||||
LSTATUS RegQueryValueExW_X(HKEY hKey, LPCWSTR lpValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData);
|
||||
|
||||
LSTATUS RegSetValueExW_X(HKEY hKey, LPCWSTR lpValueName, DWORD Reserved, DWORD dwType, const BYTE* lpData, DWORD cbData);
|
||||
//BOOL TerminateProcess(HANDLE hProcess, UINT uExitCode);
|
||||
}
|
||||
// EXE EXPORTS END
|
||||
|
1
docs/BUILDING.md
Normal file
1
docs/BUILDING.md
Normal file
@ -0,0 +1 @@
|
||||
|
1
docs/CONTRIBUTING.md
Normal file
1
docs/CONTRIBUTING.md
Normal file
@ -0,0 +1 @@
|
||||
|
1
docs/STYLE_GUIDE.md
Normal file
1
docs/STYLE_GUIDE.md
Normal file
@ -0,0 +1 @@
|
||||
|
Loading…
Reference in New Issue
Block a user