iball.h

来自「最近在学习directshow, Directshow实务精选的源代码」· C头文件 代码 · 共 36 行

H
36
字号
//
// IBall.h
//

#ifndef __H_IBall__
#define __H_IBall__

// {A1BBB8F4-7DDF-45be-8386-C492F167BC81}
DEFINE_GUID(IID_IBall, 
0xa1bbb8f4, 0x7ddf, 0x45be, 0x83, 0x86, 0xc4, 0x92, 0xf1, 0x67, 0xbc, 0x81);


#ifdef __cplusplus
extern "C" {
#endif

//----------------------------------------------------------------------------
// IBall
//----------------------------------------------------------------------------
DECLARE_INTERFACE_(IBall, IUnknown)
{
	STDMETHOD(SetImageSize) (THIS_
		int inWidth, int inHeight	
	) PURE;

	STDMETHOD(GetImageSize) (THIS_
		int * outWidth, int * outHeight	
	) PURE;
};
//----------------------------------------------------------------------------

#ifdef __cplusplus
}
#endif

#endif // __H_IBall__

⌨️ 快捷键说明

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