mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-21 13:54:18 +01:00
[util] Add stubs for DuplicateHandle and GetCurrentProcess
This commit is contained in:
parent
2659cfc674
commit
11ef172c79
@ -45,11 +45,28 @@ inline BOOL SetEvent(HANDLE hEvent) {
|
|||||||
return FALSE;
|
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) {
|
inline BOOL CloseHandle(HANDLE hObject) {
|
||||||
dxvk::Logger::warn("CloseHandle not implemented.");
|
dxvk::Logger::warn("CloseHandle not implemented.");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline HANDLE GetCurrentProcess() {
|
||||||
|
dxvk::Logger::warn("GetCurrentProcess not implemented.");
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
inline HDC CreateCompatibleDC(HDC hdc) {
|
inline HDC CreateCompatibleDC(HDC hdc) {
|
||||||
dxvk::Logger::warn("CreateCompatibleDC not implemented.");
|
dxvk::Logger::warn("CreateCompatibleDC not implemented.");
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user