Direct2d Viewer for bitmaps.
More...
#include <Windows.h>
#include <Windowsx.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <wchar.h>
#include <math.h>
#include <string>
#include <d2d1.h>
#include <d2d1helper.h>
#include <dwrite.h>
#include <wincodec.h>
#include <d2d1_1.h>
Go to the source code of this file.
|
template<class Interface> |
void | SafeRelease (Interface **ppInterfaceToRelease) |
|
Direct2d Viewer for bitmaps.
This file was created by using Microsofts example "SimpleDirect2DApplication", originally released under MIT license. https://github.com/microsoft/Windows-classic-samples/tree/master/Samples/Win7Samples/multimedia/Direct2D/SimpleDirect2DApplication
- Author
- Florian Hahn
- Date
- 30.09.2019
- Copyright
- Copyright Entwicklungsbuero Stresing. This software is release under the LPGL-3.0.
◆ _WIN32_WINNT
#define _WIN32_WINNT 0x0A00 |
◆ Assert
◆ HINST_THISCOMPONENT
◆ UNICODE
◆ WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN |
◆ WINVER
◆ WM_2DVIEWER_CLOSED
#define WM_2DVIEWER_CLOSED (WM_USER + 0x0001) |
◆ SafeRelease()
template<class Interface>
void SafeRelease |
( |
Interface ** | ppInterfaceToRelease | ) |
|
|
inline |
◆ __ImageBase
EXTERN_C IMAGE_DOS_HEADER __ImageBase |