mjpeg2bmp.h

来自「学习嵌入式LINUX的好东西」· C头文件 代码 · 共 30 行

H
30
字号
#pragma once


#define INITGUID
#include <windows.h>                 // For all that Windows stuff
#include <stdlib.h>
#include <stdio.h>
#include <imaging.h>
#include <GdiPlusEnums.h>

class CMjpeg2bmp
{
public:
	CMjpeg2bmp(void);
public:
	~CMjpeg2bmp(void);
// Header for conversion library that uses the Imaging component
// of Windows CE 5 and later.
//

// Call to initialize the library
HRESULT InitDisplayFrame (LPCWSTR pszExt);

// Call to convert MJPEG frame and write to a Device Context
HRESULT DisplayFrame (PBYTE pData, DWORD dwPreBuff, DWORD dwSize, HDC hdc, RECT *pRect);

// Call to free the library
HRESULT ReleaseDisplayFrame ();
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?