#include <comdef.h>//初始化com口
#include <gdiplus.h>
#pragma comment(lib, "gdiplus.lib")
using namespace Gdiplus;
int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
_In_opt_ HINSTANCE hPrevInstance,
_In_ LPTSTR lpCmdLine,
_In_ int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
ULONG_PTR gdiplusToken;
GdiplusStartupInput gdiplusStartupInput;
//初始化GDI +
GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL);
{
}
GdiplusShutdown(gdiplusToken);
returen 0;
}
gid+ 初始化
最新推荐文章于 2017-10-11 11:36:02 发布