#if !defined(AFX_TESTMARSHALCTL_H__7452AD3A_789E_4E20_85B2_07F7EC39658F__INCLUDED_)
#define AFX_TESTMARSHALCTL_H__7452AD3A_789E_4E20_85B2_07F7EC39658F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

// TestMarshalCtl.h : Declaration of the CTestMarshalCtrl ActiveX Control class.

/////////////////////////////////////////////////////////////////////////////
// CTestMarshalCtrl : See TestMarshalCtl.cpp for implementation.

class CTestMarshalCtrl : public COleControl
{
	DECLARE_DYNCREATE(CTestMarshalCtrl)

// Constructor
public:
	CTestMarshalCtrl();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestMarshalCtrl)
	public:
	virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
	virtual void DoPropExchange(CPropExchange* pPX);
	virtual void OnResetState();
	//}}AFX_VIRTUAL

// Implementation
protected:
	~CTestMarshalCtrl();

	DECLARE_OLECREATE_EX(CTestMarshalCtrl)    // Class factory and guid
	DECLARE_OLETYPELIB(CTestMarshalCtrl)      // GetTypeInfo
	DECLARE_PROPPAGEIDS(CTestMarshalCtrl)     // Property page IDs
	DECLARE_OLECTLTYPE(CTestMarshalCtrl)		// Type name and misc status

// Message maps
	//{{AFX_MSG(CTestMarshalCtrl)
		// NOTE - ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

// Dispatch maps
	//{{AFX_DISPATCH(CTestMarshalCtrl)
	afx_msg void SetArrayTest(long FAR* nParam);
	afx_msg void SetArrayTest1(short nparam);
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()

	afx_msg void AboutBox();

// Event maps
	//{{AFX_EVENT(CTestMarshalCtrl)
	//}}AFX_EVENT
	DECLARE_EVENT_MAP()

// Dispatch and event IDs
public:
	enum {
	//{{AFX_DISP_ID(CTestMarshalCtrl)
	dispidSetArrayTest = 1L,
	dispidSetArrayTest1 = 2L,
	//}}AFX_DISP_ID
	};
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TESTMARSHALCTL_H__7452AD3A_789E_4E20_85B2_07F7EC39658F__INCLUDED)
