1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[util] Add stubs for DuplicateHandle and GetCurrentProcess

This commit is contained in:
Philip Rebohle 2022-09-01 16:36:24 +02:00 committed by Philip Rebohle
parent 2659cfc674
commit 11ef172c79

View File

@ -45,11 +45,28 @@ inline BOOL SetEvent(HANDLE hEvent) {
return FALSE;
}
inline BOOL DuplicateHandle(
HANDLE hSourceProcessHandle,
HANDLE hSourceHandle,
HANDLE hTargetProcessHandle,
HANDLE* lpTargetHandle,
DWORD dwDesiredAccess,
BOOL bInheritHandle,
DWORD dwOptions) {
dxvk::Logger::warn("DuplicateHandle not implemented.");
return FALSE;
}
inline BOOL CloseHandle(HANDLE hObject) {
dxvk::Logger::warn("CloseHandle not implemented.");
return FALSE;
}
inline HANDLE GetCurrentProcess() {
dxvk::Logger::warn("GetCurrentProcess not implemented.");
return nullptr;
}
inline HDC CreateCompatibleDC(HDC hdc) {
dxvk::Logger::warn("CreateCompatibleDC not implemented.");
return nullptr;