Windows NT 4.0 source code leak
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.
 
 
 
 
 
 

66 lines
1.2 KiB

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1994.
//
// File: OleSpy.hxx
//
// Contents:
//
// Classes:
//
// Functions:
//
// History: 3-31-95 JohannP (Johann Posch) Created
//
// Note: Can be turned on via CairOle InfoLelevel mask 0x08000000
//
//----------------------------------------------------------------------------
#ifndef _OLESPY_HXX_
#define _OLESPY_HXX_
typedef struct _INTERFACENAMES
{
char *pszInterface;
char **ppszMethodNames;
} INTERFACENAMES;
extern INTERFACENAMES inInterfaceNames[];
extern char *apszApiNames[];
typedef enum
{
CALLIN_BEGIN =1,
CALLIN_TRACE,
CALLIN_ERROR,
CALLIN_QI,
CALLIN_END,
CALLOUT_BEGIN,
CALLOUT_TRACE,
CALLOUT_ERROR,
CALLOUT_END
} RPCSPYMODE;
#define OLESPY_TRACE 1
#define OLESPY_CLIENT 2
#if DBG==1
HRESULT InitializeOleSpy(DWORD dwLevel);
HRESULT UninitializeOleSpy(DWORD dwLevel);
void RpcSpyOutput(RPCSPYMODE mode, LPVOID pv, REFIID iid, DWORD dwMethod, HRESULT hres);
#define RpcSpy(x) RpcSpyOutput x
#else
#define RpcSpy(x)
#define InitializeOleSpy(x)
#define UninitializeOleSpy(x)
#endif // DBG==1
#endif // _OLESPY_HXX_