mirror of
https://github.com/huiyiruciduojiao/FuckScreenCap.git
synced 2026-01-28 11:54:39 +08:00
11 lines
271 B
C
11 lines
271 B
C
#pragma once
|
|
#include <windows.h>
|
|
#define EXPORT extern "C" __declspec(dllexport)
|
|
|
|
#pragma data_seg ("shared")
|
|
HHOOK hHook = NULL;
|
|
HINSTANCE hInstance = NULL;
|
|
#pragma data_seg ()
|
|
#pragma comment (linker, "/section:shared,rws")
|
|
|
|
EXPORT BOOL WINAPI SetHook(BOOL isInstall); |