blob: b9f92f713b5123a5e2325f368cb9c97dbdf102bb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/***
*cunk.h
*
* Copyright (C) 1992-93, Microsoft Corporation. All Rights Reserved.
* Information Contained Herein Is Proprietary and Confidential.
*
*Purpose:
* Declares a trivial class that implements IUnknown.
*
*Revision History:
*
* [00] 10-Apr-92 bradlo: Created.
*
*Implementation Notes:
*
*****************************************************************************/
class CUnk : public IUnknown {
public:
static HRESULT Create(IUnknown FAR* FAR* ppunk);
STDMETHOD(QueryInterface)(REFIID riid, void FAR* FAR* ppv);
STDMETHOD_(unsigned long, AddRef)(void);
STDMETHOD_(unsigned long, Release)(void);
CUnk::CUnk(){
m_refs = 0;
}
private:
unsigned long m_refs;
};
|