Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

72 lines
1.9 KiB

/*
** SSOBASE.H
** Sean P. Nolan
**
** Simple MSN SSS Object Framework
*/
#ifndef _SSOBASE_H_
#define _SSOBASE_H_
#include "wcsutil.h"
#include <ascript.h>
/*--------------------------------------------------------------------------+
| Types |
+--------------------------------------------------------------------------*/
typedef struct _SsoSupportStuff
{
EXCEPINFO *pexcepinfo;
LONG lUser;
IUnknown *punk;
OLECHAR *wszMethodName;
}
SSSTUFF;
typedef HRESULT (*PFNSSOMETHOD)(WORD, DISPPARAMS *, VARIANT *, SSSTUFF *pssstuff);
typedef struct _SSOMethod
{
OLECHAR *wszName;
PFNSSOMETHOD pfn;
int iMethod;
}
SSOMETHOD;
/*--------------------------------------------------------------------------+
| Globals !!! Provided by the SSO !!! |
+--------------------------------------------------------------------------*/
extern PFNSSOMETHOD g_pfnssoDynamic;
extern SSOMETHOD g_rgssomethod[];
extern LPSTR g_szSSOProgID;
extern GUID g_clsidSSO;
extern BOOL g_fPersistentSSO;
/*--------------------------------------------------------------------------+
| Globals Provided by the Framework |
+--------------------------------------------------------------------------*/
extern HINSTANCE g_hinst;
extern OLECHAR *c_wszOnNewTemplate;
extern OLECHAR *c_wszOnFreeTemplate;
/*--------------------------------------------------------------------------+
| Routines Provided by the Framework |
+--------------------------------------------------------------------------*/
extern HRESULT SSOTranslateVirtualRoot(VARIANT *, IUnknown*, LPSTR, DWORD);
extern BOOL SSODllMain(HINSTANCE, ULONG, LPVOID);
/*--------------------------------------------------------------------------+
| Other Data Needed by the Framework |
+--------------------------------------------------------------------------*/
const int cTimeSamplesMax = 100;
#define SSO_OFFICIAL_NAME_PREFIX "Microsoft ActiveX Server Component"
#endif // _SSOBASE_H_