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.
 
 
 
 
 
 

49 lines
1.4 KiB

//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2000-2001 Microsoft Corporation
//
// Module Name:
// TaskGatherClusterInfo.h
//
// Description:
// CTaskGatherClusterInfo implementation.
//
// Maintained By:
// Galen Barbee (GalenB) 07-APR-2000
//
//////////////////////////////////////////////////////////////////////////////
#pragma once
// CTaskGatherClusterInfo
class CTaskGatherClusterInfo
: public ITaskGatherClusterInfo
{
private:
// IUnknown
LONG m_cRef;
// IDoTask / ITaskGatherNodeInfo
OBJECTCOOKIE m_cookie; // Cookie to the Node
OBJECTCOOKIE m_cookieCompletion; // Cookie to signal when task is completed
BOOL m_fStop;
CTaskGatherClusterInfo( void );
~CTaskGatherClusterInfo( void );
STDMETHOD( HrInit )( void );
public: // Methods
static HRESULT S_HrCreateInstance( IUnknown ** ppunkOut );
// IUnknown
STDMETHOD( QueryInterface )( REFIID riidIn, LPVOID * ppvOut );
STDMETHOD_( ULONG, AddRef )( void );
STDMETHOD_( ULONG, Release )( void );
// IDoTask / ITaskGatherNodeInfo
STDMETHOD( BeginTask )( void );
STDMETHOD( StopTask )( void );
STDMETHOD( SetCookie )( OBJECTCOOKIE cookieIn );
STDMETHOD( SetCompletionCookie )( OBJECTCOOKIE cookieIn );
}; //*** class CTaskGatherClusterInfo