You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
492 B
32 lines
492 B
// Copyright (c)1997-1999 Microsoft Corporation, All Rights Reserved
|
|
|
|
#ifndef _dispexa_h_
|
|
#define _dispexa_h_
|
|
#include <dispex.h>
|
|
|
|
class CDispExArray
|
|
{
|
|
public:
|
|
|
|
CDispExArray() {
|
|
};
|
|
|
|
~CDispExArray() {
|
|
};
|
|
|
|
void Attach(IDispatchEx* pDispEx) {
|
|
m_piDispEx = pDispEx;
|
|
};
|
|
|
|
void Detach() {
|
|
m_piDispEx = NULL;
|
|
};
|
|
|
|
HRESULT HrGetLength(ULONG* pLength);
|
|
HRESULT HrGetElement(ULONG index, LPVARIANT pVar);
|
|
|
|
private:
|
|
CComPtr<IDispatchEx> m_piDispEx;
|
|
};
|
|
|
|
#endif
|