| 8 | #include <gdiplus.h> |
| 9 | |
| 10 | class GdiplusInitializer |
| 11 | { |
| 12 | public: |
| 13 | GdiplusInitializer() |
| 14 | { |
| 15 | Gdiplus::GdiplusStartup(&gdiplusToken, &input, nullptr); |
| 16 | } |
| 17 | |
| 18 | ~GdiplusInitializer() |
| 19 | { |
| 20 | Gdiplus::GdiplusShutdown(gdiplusToken); |
| 21 | } |
| 22 | private: |
| 23 | Gdiplus::GdiplusStartupInput input; |
| 24 | ULONG_PTR gdiplusToken; |
| 25 | }; |
| 26 | |
| 27 | winrt::Microsoft::UI::Xaml::Media::ImageSource FileContextMenu::getIconFromWin32Menu(HBITMAP menuItemInfoBitmap) |
| 28 | { |
nothing calls this directly
no outgoing calls
no test coverage detected