/*===========================================================================
    Fire-i API(TM) Source Code Samples                                  
    Copyright Unibrain S.A. 1999-2007
                                                                        
    This code and information is provided "AS IS" without warranty of   
    any kind, either expressed or implied, including but not limited to 
    the implied warranties of merchantability and/or fitness for a      
    particular purpose.   
 ===========================================================================*/

#pragma once
#include "fiint.h"

#if !defined(FICOMMON)
#ifdef FICOMMON_DLL_BUILD
#define FICOMMON_DLL_SPEC __declspec(dllexport)
#else
#define FICOMMON_DLL_SPEC __declspec(dllimport)
#endif
#define FICOMMON(type) extern "C" FICOMMON_DLL_SPEC type WINAPI
#endif

FICOMMON(HRESULT) FiDbgAddToRot(IUnknown *pUnkGraph, DWORD *pdwRegister);
FICOMMON(void) FiDbgRemoveFromRot(DWORD pdwRegister);
