mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
13 lines
329 B
C++
13 lines
329 B
C++
#pragma once
|
|
#include "pch.h"
|
|
|
|
|
|
namespace winrt::Magpie::App {
|
|
|
|
struct IconHelper {
|
|
static Windows::Graphics::Imaging::SoftwareBitmap GetIconOfWnd(HWND hWnd, uint32_t preferredSize, uint32_t dpi);
|
|
|
|
static Windows::Graphics::Imaging::SoftwareBitmap GetIconOfExe(const wchar_t* path, uint32_t preferredSize, uint32_t dpi);
|
|
};
|
|
|
|
}
|