mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-12-21 02:00:34 +08:00
Use 32bit helper to interact between 32bit processes
This commit is contained in:
21
QuickLook.Native/QuickLook.Native32/DllExport.cpp
Normal file
21
QuickLook.Native/QuickLook.Native32/DllExport.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "Shell32.h"
|
||||
#include "WoW64HookHelper.h"
|
||||
|
||||
#define EXPORT extern "C" __declspec(dllexport)
|
||||
|
||||
EXPORT void LaunchWoW64HookHelper()
|
||||
{
|
||||
WoW64HookHelper::Launch();
|
||||
}
|
||||
|
||||
EXPORT Shell32::FocusedWindowType GetFocusedWindowType()
|
||||
{
|
||||
return Shell32::GetFocusedWindowType();
|
||||
}
|
||||
|
||||
EXPORT void GetCurrentSelection(PWCHAR buffer)
|
||||
{
|
||||
Shell32::GetCurrentSelection(buffer);
|
||||
}
|
||||
Reference in New Issue
Block a user