random comments

gui
qtkite 2 years ago
parent 9bb10bd7fb
commit d361ef7dee

@ -11,7 +11,6 @@ namespace gui::dx11
bool create_device(HWND hwnd)
{
// create swapchain
DXGI_SWAP_CHAIN_DESC sd;
ZeroMemory(&sd, sizeof(sd));
sd.BufferCount = 2;
@ -51,23 +50,37 @@ namespace gui::dx11
return true;
}
// Destroy d3dx11 resources
//
void cleanup()
{
}
// Runs once to setup the dx11
//
void setup(HWND hwnd)
{
}
// Start scene
//
void start()
{
}
// Endscene
//
void end()
{
}
// Handle window changes
//
void resize()
{
}
}

@ -1,4 +1,5 @@
// this is to poc for dumping out registry files
// Note that this is for defender-control older versions (1.8 i think)
//
#include "pch.h"
@ -527,7 +528,7 @@ void thread_main()
DetourHelper::perf_hook((PVOID*)&RegHooks::CreateProcessW_addr, RegHooks::hk_CreateProcessW);
DetourHelper::perf_hook((PVOID*)&RegHooks::ShellExecuteExW_addr, RegHooks::hk_ShellExecuteExW);
// native hooks
// native hooks for 1.8, need to update patterns and offsets.
//
#if 0
RegHooks::enable_def_help_addr = (uintptr_t)GetModuleHandleA(0) + 0x6AB70;

Loading…
Cancel
Save