mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 17:59:17 +00:00
23 lines
368 B
C++
23 lines
368 B
C++
#pragma once
|
|
|
|
#include "stdafx.h"
|
|
|
|
class Shell32
|
|
{
|
|
public:
|
|
enum FocusedWindowType
|
|
{
|
|
INVALID = 0,
|
|
DESKTOP = 1,
|
|
EXPLORER = 2,
|
|
DIALOG = 3,
|
|
};
|
|
|
|
static FocusedWindowType GetFocusedWindowType();
|
|
static void GetCurrentSelection(PWCHAR buffer);
|
|
|
|
private:
|
|
static void getSelectedFromDesktop(PWCHAR buffer);
|
|
static void getSelectedFromExplorer(PWCHAR buffer);
|
|
};
|