Leaked source code of windows server 2003
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.
|
|
/*++
Copyright (C) 1996-1999 Microsoft Corporation
Module Name:
REFCOUNT.H
History:
--*/
#pragma once
class LTAPIENTRY CRefCount { public: CRefCount();
//
// Declared as STDMETHOD so as compatible with COM.
//
STDMETHOD_(ULONG, AddRef)(void); STDMETHOD_(ULONG, Release)(void);
//
//
ULONG AddRef(void) const; ULONG Release(void) const; protected: virtual ~CRefCount() = 0;
private:
CRefCount(const CRefCount &); const CRefCount & operator=(const CRefCount &); UINT operator==(const CRefCount &); mutable UINT m_uiRefCount; };
|