mirror of https://github.com/kurisufriend/cwp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
428 B
15 lines
428 B
#include <iostream>
|
|
#include <string>
|
|
#include <thread>
|
|
#include "hooks.h"
|
|
|
|
int main()
|
|
{
|
|
std::cout << "hello" << std::endl;
|
|
std::cout << FindWindow("Chrome_WidgetWin_1", NULL) << std::endl;
|
|
if (!hooks::setup())
|
|
std::cout << "hooking returned false" << std::endl;
|
|
while (!GetAsyncKeyState(VK_F10))
|
|
std::this_thread::sleep_for(std::chrono::milliseconds(20));
|
|
std::cout << "done" << std::endl;
|
|
} |