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.
|
|
//=================================================================
//
// ThreadBase.h - Definition of Referenced Pointer class
//
// Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
//
// Revisions: 10/15/97 Created
//
//=================================================================
#if _MSC_VER > 1000
#pragma once
#endif
#ifndef __REFPTRLITE_H__
#define __REFPTRLITE_H__
class CRefPtrLite { public:
// Construction/Destruction
CRefPtrLite(); virtual ~CRefPtrLite();
// Ref/Counting functions
LONG AddRef( void ); LONG Release( void );
protected:
virtual void OnFinalRelease( void );
private:
LONG m_lRefCount; };
#endif
|