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.
 
 
 
 
 
 

57 lines
1.2 KiB

//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1992.
//
// File: CLoops.hxx
//
// Contents: Class to encapsulate demo of distributed binding interface
//
// Classes: CLoop
//
// History: 06-Aug-92 Ricksa Created
//
//--------------------------------------------------------------------------
#ifndef __LOOPS__
#define __LOOPS__
#include <otrack.hxx>
#include <iloop.h>
#include <loopscf.hxx>
//+-------------------------------------------------------------------------
//
// Class: CLoop
//
// Purpose: Class to demostrate remote binding functionality
//
// Interface: QueryInterface
// AddRef
// Release
//
// History: 06-Aug-92 Ricksa Created
//
//--------------------------------------------------------------------------
class CLoop : INHERIT_TRACKING,
public ILoop
{
public:
CLoop(void);
STDMETHOD(QueryInterface)(REFIID riid, void **ppunk);
DECLARE_STD_REFCOUNTING;
STDMETHOD(Init)(ILoop *pRemoteLoop);
STDMETHOD(Uninit)(void);
STDMETHOD(Loop)(ULONG ulLoopCount);
private:
~CLoop(void);
ILoop * _pRemoteLoop;
};
#endif // __LOOPS__