mirror of https://github.com/lianthony/NT4.0
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.
43 lines
1007 B
43 lines
1007 B
/***
|
|
*
|
|
* Copyright (C) 1993-1994, Microsoft Corporation. All Rights Reserved.
|
|
* Information Contained Herein Is Proprietary and Confidential.
|
|
*
|
|
* File:
|
|
* hellopro.h
|
|
*
|
|
* Purpose:
|
|
* This is the header for CHelloProgrammability, which is the
|
|
* programmability interface for CHello objects.
|
|
*
|
|
* This is the user interface that a programmer who uses our
|
|
* object will be using.
|
|
*
|
|
*****************************************************************************/
|
|
|
|
#include "common.h"
|
|
|
|
|
|
// Forward declaration.
|
|
CLASS CHello;
|
|
|
|
#include "ihello.h" // Include MkTypLib-created interface
|
|
// description of _IHello.
|
|
|
|
|
|
|
|
CLASS CHelloPro : public _IHello
|
|
{
|
|
public:
|
|
|
|
// Standard OLE stuff.
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR * ppvObj);
|
|
STDMETHOD_(ULONG, AddRef)(THIS);
|
|
STDMETHOD_(ULONG, Release)(THIS);
|
|
|
|
STDMETHOD_(void, put_HelloMessage)(THIS_ BSTR b);
|
|
STDMETHOD_(BSTR, get_HelloMessage)(THIS);
|
|
STDMETHOD_(BSTR, SayHello)(THIS);
|
|
|
|
CHello FAR* m_phello;
|
|
};
|