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.
68 lines
1.5 KiB
68 lines
1.5 KiB
/*++
|
|
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
Module Name:
|
|
|
|
MCAObjectSink.h
|
|
|
|
Abstract:
|
|
|
|
(See module header of MCAObjectSink.cpp)
|
|
|
|
Author:
|
|
|
|
Abdullah Ustuner (AUstuner) 28-August-2002
|
|
|
|
[Notes:]
|
|
|
|
Header file for MCAObjectSink.cpp
|
|
|
|
--*/
|
|
|
|
#ifndef MCAOBJECTSINK_H
|
|
#define MCAOBJECTSINK_H
|
|
|
|
#include "mca.h"
|
|
|
|
class MCATestEngine;
|
|
|
|
class MCAObjectSink : public IWbemObjectSink
|
|
{
|
|
|
|
public:
|
|
|
|
//
|
|
// Public function prototypes
|
|
//
|
|
MCAObjectSink();
|
|
~MCAObjectSink(){};
|
|
|
|
//
|
|
// IUnknown functions
|
|
//
|
|
virtual ULONG STDMETHODCALLTYPE AddRef();
|
|
virtual ULONG STDMETHODCALLTYPE Release();
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE QueryInterface(IN REFIID riid,
|
|
OUT VOID** ppv);
|
|
|
|
// IWbemObjectSink methods
|
|
virtual HRESULT STDMETHODCALLTYPE Indicate(IN LONG lObjectCount,
|
|
IN IWbemClassObject __RPC_FAR *__RPC_FAR *apObjArray
|
|
);
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE SetStatus(IN LONG lFlags,
|
|
IN HRESULT hResult,
|
|
IN BSTR strParam,
|
|
IN IWbemClassObject __RPC_FAR *pObjParam
|
|
);
|
|
private:
|
|
|
|
//
|
|
// Private variable declarations
|
|
//
|
|
LONG referenceCount;
|
|
};
|
|
|
|
#endif
|