windows-nt/Source/XPSP1/NT/inetsrv/iis/staxinc/densso.h

72 lines
1.9 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*
** SSOBASE.H
** Sean P. Nolan
**
** Simple MSN SSS Object Framework
*/
#ifndef _SSOBASE_H_
#define _SSOBASE_H_
#include <denwcs.h>
#include <denali.h>
/*--------------------------------------------------------------------------+
| Types |
+--------------------------------------------------------------------------*/
typedef struct _SsoSupportStuff
{
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_