decoder.h
来自「Windows 图形编程 书籍」· C头文件 代码 · 共 36 行
H
36 行
//-----------------------------------------------------------------------------------//
// Windows Graphics Programming: Win32 GDI and DirectDraw //
// ISBN 0-13-086985-6 //
// //
// Written by Yuan, Feng www.fengyuan.com //
// Copyright (c) 2000 by Hewlett-Packard Company www.hp.com //
// Published by Prentice Hall PTR, Prentice-Hall, Inc. www.phptr.com //
// //
// FileName : decoder.h //
// Description: IAtomTable, IDecoder abstract base classes //
// Version : 1.00.000, May 31, 2000 //
//-----------------------------------------------------------------------------------//
#ifndef DECODER_INC
#define DECODER_INC
struct IAtomTable
{
virtual ATOM AddAtom(const char * name) = 0;
virtual const char * GetAtomName(ATOM atom) = 0;
};
struct IDecoder
{
IDecoder * pNextDecoder;
virtual bool Initialize(IAtomTable * pAtomTable) = 0;
virtual int Decode(ATOM typ, const void * pValue, char * szBuffer, int nBufferSize) = 0;
};
typedef IDecoder * (WINAPI * DecoderCreator)(void);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?