myrandplottest_com.hpp
来自「精通matlab7.0及与其他语言的混合编程」· HPP 代码 · 共 35 行
HPP
35 行
#ifndef _myrandplottest_com_HPP
#define _myrandplottest_com_HPP 1
#include <windows.h>
#include "myrandplottest.h"
#include "myrandplottest_idl.h"
#include "mclcommain.h"
#include "mclcomclass.h"
class Cmyrandplottest : public CMCLClassImpl<Imyrandplottest,
&IID_Imyrandplottest,
Cmyrandplottest,
&CLSID_myrandplottest>
{
public:
Cmyrandplottest() { }
~Cmyrandplottest() { }
HRESULT __stdcall getplotcolor(/* [in] */ long nargout,
/* [in,out] */ VARIANT* out);
HRESULT __stdcall myrandplot(/* [in] */ long nargout,
/* [in,out] */ VARIANT* out,
/* [in] */ VARIANT n);
HRESULT __stdcall setplotcolor(/* [in] */ VARIANT color);
HRESULT __stdcall get_randplotcolor(/* [out, retval] */ VARIANT* randplotcolor);
HRESULT __stdcall put_randplotcolor(/* [in] */ VARIANT randplotcolor);
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?