NT4/private/ole32/com/rot/scmrotif.hxx
2020-09-30 17:12:29 +02:00

62 lines
1.3 KiB
C++

//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1993.
//
// File: scmrotif.hxx
//
// Contents: Interface Functions for SCM to use the ROT
//
// History: 04-Dec-93 Ricksa Created
//
//--------------------------------------------------------------------------
#ifndef __SCMROTIF_HXX__
#define __SCMROTIF_HXX__
#include <iface.h>
#ifdef _CHICAGO_SCM_
class CHandlerList;
class CInProcList;
class CLocSrvList;
class CClassCacheList;
class CStringID;
//---------------------------------------------------------------------
// OLE without SCM -- shared memory access
//---------------------------------------------------------------------
class ROOT_SHARED_DATA
{
public:
CHandlerList * gpCHandlerList;
CInProcList * gpCInProcList;
CLocSrvList * gpCLocSrvList;
CClassCacheList * gpCClassCacheList;
LONG lSharedObjId;
};
HRESULT InitRotDir(ROOT_SHARED_DATA **pprsd);
#else
HRESULT InitRotDir(void);
#endif
void CleanUpRotDir(void);
HRESULT GetObjectFromRot(
const GUID *pguidThreadId,
InterfaceData * pIFDMoniker,
WCHAR *pwszPath,
DWORD dwHash,
InterfaceData **ppIFDunk,
LPDWORD lpdwEndpointToExclude);
void CleanUpRotDir(void);
#endif //__SCMROTIF_HXX__