summaryrefslogtreecommitdiff
path: root/Interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'Interfaces')
-rw-r--r--Interfaces/CmptIfaces.h780
-rw-r--r--Interfaces/CmptIfaces.idl107
-rw-r--r--Interfaces/Interfaces.dsp73
-rw-r--r--Interfaces/Interfaces.dsw29
-rw-r--r--Interfaces/SiteIfaces.h332
-rw-r--r--Interfaces/SiteIfaces.idl44
-rw-r--r--Interfaces/dlldata.c40
7 files changed, 1405 insertions, 0 deletions
diff --git a/Interfaces/CmptIfaces.h b/Interfaces/CmptIfaces.h
new file mode 100644
index 0000000..9d62116
--- /dev/null
+++ b/Interfaces/CmptIfaces.h
@@ -0,0 +1,780 @@
+/* this ALWAYS GENERATED file contains the definitions for the interfaces */
+
+
+/* File created by MIDL compiler version 5.01.0164 */
+/* at Sat Mar 04 13:33:24 2000
+ */
+/* Compiler settings for E:\Projects\NightSec\Interfaces\CmptIfaces.idl:
+ Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
+ error checks: allocation ref bounds_check enum stub_data
+*/
+//@@MIDL_FILE_HEADING( )
+
+
+/* verify that the <rpcndr.h> version is high enough to compile this file*/
+#ifndef __REQUIRED_RPCNDR_H_VERSION__
+#define __REQUIRED_RPCNDR_H_VERSION__ 440
+#endif
+
+#include "rpc.h"
+#include "rpcndr.h"
+
+#ifndef __RPCNDR_H_VERSION__
+#error this stub requires an updated version of <rpcndr.h>
+#endif // __RPCNDR_H_VERSION__
+
+#ifndef COM_NO_WINDOWS_H
+#include "windows.h"
+#include "ole2.h"
+#endif /*COM_NO_WINDOWS_H*/
+
+#ifndef __CmptIfaces_h__
+#define __CmptIfaces_h__
+
+#ifdef __cplusplus
+extern "C"{
+#endif
+
+/* Forward Declarations */
+
+#ifndef __ISecureShutdownWin_FWD_DEFINED__
+#define __ISecureShutdownWin_FWD_DEFINED__
+typedef interface ISecureShutdownWin ISecureShutdownWin;
+#endif /* __ISecureShutdownWin_FWD_DEFINED__ */
+
+
+#ifndef __ISecureShutdownDOS_FWD_DEFINED__
+#define __ISecureShutdownDOS_FWD_DEFINED__
+typedef interface ISecureShutdownDOS ISecureShutdownDOS;
+#endif /* __ISecureShutdownDOS_FWD_DEFINED__ */
+
+
+#ifndef __INightSecError_FWD_DEFINED__
+#define __INightSecError_FWD_DEFINED__
+typedef interface INightSecError INightSecError;
+#endif /* __INightSecError_FWD_DEFINED__ */
+
+
+#ifndef __INightSecErrorFix_FWD_DEFINED__
+#define __INightSecErrorFix_FWD_DEFINED__
+typedef interface INightSecErrorFix INightSecErrorFix;
+#endif /* __INightSecErrorFix_FWD_DEFINED__ */
+
+
+/* header files for imported files */
+#include "oaidl.h"
+#include "ocidl.h"
+
+void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
+void __RPC_USER MIDL_user_free( void __RPC_FAR * );
+
+/* interface __MIDL_itf_CmptIfaces_0000 */
+/* [local] */
+
+typedef /* [helpstring][uuid][v1_enum] */
+enum NightSecInfo
+ { nsName = 0,
+ nsCmdLine = nsName + 1,
+ nsHelpText = nsCmdLine + 1,
+ nsForceShow = nsHelpText + 1,
+ nsHideNormal = nsForceShow + 1,
+ nsCopyAble = nsHideNormal + 1,
+ nsHelpFile = nsCopyAble + 1,
+ nsHelpTopic = nsHelpFile + 1
+ } NightSecInfo;
+
+/* [helpstring] */ #define nsNoPrompt ( 0x2 )
+
+/* [helpstring] */ #define nsQuiet ( 0x4 )
+
+
+
+extern RPC_IF_HANDLE __MIDL_itf_CmptIfaces_0000_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_CmptIfaces_0000_v0_0_s_ifspec;
+
+#ifndef __ISecureShutdownWin_INTERFACE_DEFINED__
+#define __ISecureShutdownWin_INTERFACE_DEFINED__
+
+/* interface ISecureShutdownWin */
+/* [unique][helpstring][dual][uuid][object] */
+
+
+EXTERN_C const IID IID_ISecureShutdownWin;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("34F11691-F275-11d2-A589-0020182B97FC")
+ ISecureShutdownWin : public IDispatch
+ {
+ public:
+ virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DoShutdown(
+ /* [in] */ long hParent,
+ /* [in] */ long Mode) = 0;
+
+ virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetData(
+ /* [in] */ IUnknown __RPC_FAR *pUnk) = 0;
+
+ virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Info(
+ /* [in] */ NightSecInfo nsItem,
+ /* [retval][out] */ VARIANT __RPC_FAR *pvVal) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct ISecureShutdownWinVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
+ ISecureShutdownWin __RPC_FAR * This,
+ /* [in] */ REFIID riid,
+ /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
+ ISecureShutdownWin __RPC_FAR * This);
+
+ ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
+ ISecureShutdownWin __RPC_FAR * This);
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
+ ISecureShutdownWin __RPC_FAR * This,
+ /* [out] */ UINT __RPC_FAR *pctinfo);
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
+ ISecureShutdownWin __RPC_FAR * This,
+ /* [in] */ UINT iTInfo,
+ /* [in] */ LCID lcid,
+ /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
+ ISecureShutdownWin __RPC_FAR * This,
+ /* [in] */ REFIID riid,
+ /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
+ /* [in] */ UINT cNames,
+ /* [in] */ LCID lcid,
+ /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
+ ISecureShutdownWin __RPC_FAR * This,
+ /* [in] */ DISPID dispIdMember,
+ /* [in] */ REFIID riid,
+ /* [in] */ LCID lcid,
+ /* [in] */ WORD wFlags,
+ /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
+ /* [out] */ VARIANT __RPC_FAR *pVarResult,
+ /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
+ /* [out] */ UINT __RPC_FAR *puArgErr);
+
+ /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DoShutdown )(
+ ISecureShutdownWin __RPC_FAR * This,
+ /* [in] */ long hParent,
+ /* [in] */ long Mode);
+
+ /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetData )(
+ ISecureShutdownWin __RPC_FAR * This,
+ /* [in] */ IUnknown __RPC_FAR *pUnk);
+
+ /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Info )(
+ ISecureShutdownWin __RPC_FAR * This,
+ /* [in] */ NightSecInfo nsItem,
+ /* [retval][out] */ VARIANT __RPC_FAR *pvVal);
+
+ END_INTERFACE
+ } ISecureShutdownWinVtbl;
+
+ interface ISecureShutdownWin
+ {
+ CONST_VTBL struct ISecureShutdownWinVtbl __RPC_FAR *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define ISecureShutdownWin_QueryInterface(This,riid,ppvObject) \
+ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
+
+#define ISecureShutdownWin_AddRef(This) \
+ (This)->lpVtbl -> AddRef(This)
+
+#define ISecureShutdownWin_Release(This) \
+ (This)->lpVtbl -> Release(This)
+
+
+#define ISecureShutdownWin_GetTypeInfoCount(This,pctinfo) \
+ (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
+
+#define ISecureShutdownWin_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
+ (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
+
+#define ISecureShutdownWin_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
+ (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
+
+#define ISecureShutdownWin_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
+ (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
+
+
+#define ISecureShutdownWin_DoShutdown(This,hParent,Mode) \
+ (This)->lpVtbl -> DoShutdown(This,hParent,Mode)
+
+#define ISecureShutdownWin_SetData(This,pUnk) \
+ (This)->lpVtbl -> SetData(This,pUnk)
+
+#define ISecureShutdownWin_get_Info(This,nsItem,pvVal) \
+ (This)->lpVtbl -> get_Info(This,nsItem,pvVal)
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISecureShutdownWin_DoShutdown_Proxy(
+ ISecureShutdownWin __RPC_FAR * This,
+ /* [in] */ long hParent,
+ /* [in] */ long Mode);
+
+
+void __RPC_STUB ISecureShutdownWin_DoShutdown_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISecureShutdownWin_SetData_Proxy(
+ ISecureShutdownWin __RPC_FAR * This,
+ /* [in] */ IUnknown __RPC_FAR *pUnk);
+
+
+void __RPC_STUB ISecureShutdownWin_SetData_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISecureShutdownWin_get_Info_Proxy(
+ ISecureShutdownWin __RPC_FAR * This,
+ /* [in] */ NightSecInfo nsItem,
+ /* [retval][out] */ VARIANT __RPC_FAR *pvVal);
+
+
+void __RPC_STUB ISecureShutdownWin_get_Info_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+
+#endif /* __ISecureShutdownWin_INTERFACE_DEFINED__ */
+
+
+#ifndef __ISecureShutdownDOS_INTERFACE_DEFINED__
+#define __ISecureShutdownDOS_INTERFACE_DEFINED__
+
+/* interface ISecureShutdownDOS */
+/* [unique][helpstring][dual][uuid][object] */
+
+
+EXTERN_C const IID IID_ISecureShutdownDOS;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("34F11692-F275-11d2-A589-0020182B97FC")
+ ISecureShutdownDOS : public IDispatch
+ {
+ public:
+ virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetBatchText(
+ /* [retval][out] */ BSTR __RPC_FAR *psText) = 0;
+
+ virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetData(
+ /* [in] */ IUnknown __RPC_FAR *pUnk) = 0;
+
+ virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Info(
+ /* [in] */ NightSecInfo nsItem,
+ /* [retval][out] */ VARIANT __RPC_FAR *pvVal) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct ISecureShutdownDOSVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
+ ISecureShutdownDOS __RPC_FAR * This,
+ /* [in] */ REFIID riid,
+ /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
+ ISecureShutdownDOS __RPC_FAR * This);
+
+ ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
+ ISecureShutdownDOS __RPC_FAR * This);
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
+ ISecureShutdownDOS __RPC_FAR * This,
+ /* [out] */ UINT __RPC_FAR *pctinfo);
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
+ ISecureShutdownDOS __RPC_FAR * This,
+ /* [in] */ UINT iTInfo,
+ /* [in] */ LCID lcid,
+ /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
+ ISecureShutdownDOS __RPC_FAR * This,
+ /* [in] */ REFIID riid,
+ /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
+ /* [in] */ UINT cNames,
+ /* [in] */ LCID lcid,
+ /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
+ ISecureShutdownDOS __RPC_FAR * This,
+ /* [in] */ DISPID dispIdMember,
+ /* [in] */ REFIID riid,
+ /* [in] */ LCID lcid,
+ /* [in] */ WORD wFlags,
+ /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
+ /* [out] */ VARIANT __RPC_FAR *pVarResult,
+ /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
+ /* [out] */ UINT __RPC_FAR *puArgErr);
+
+ /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBatchText )(
+ ISecureShutdownDOS __RPC_FAR * This,
+ /* [retval][out] */ BSTR __RPC_FAR *psText);
+
+ /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetData )(
+ ISecureShutdownDOS __RPC_FAR * This,
+ /* [in] */ IUnknown __RPC_FAR *pUnk);
+
+ /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Info )(
+ ISecureShutdownDOS __RPC_FAR * This,
+ /* [in] */ NightSecInfo nsItem,
+ /* [retval][out] */ VARIANT __RPC_FAR *pvVal);
+
+ END_INTERFACE
+ } ISecureShutdownDOSVtbl;
+
+ interface ISecureShutdownDOS
+ {
+ CONST_VTBL struct ISecureShutdownDOSVtbl __RPC_FAR *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define ISecureShutdownDOS_QueryInterface(This,riid,ppvObject) \
+ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
+
+#define ISecureShutdownDOS_AddRef(This) \
+ (This)->lpVtbl -> AddRef(This)
+
+#define ISecureShutdownDOS_Release(This) \
+ (This)->lpVtbl -> Release(This)
+
+
+#define ISecureShutdownDOS_GetTypeInfoCount(This,pctinfo) \
+ (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
+
+#define ISecureShutdownDOS_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
+ (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
+
+#define ISecureShutdownDOS_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
+ (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
+
+#define ISecureShutdownDOS_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
+ (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
+
+
+#define ISecureShutdownDOS_GetBatchText(This,psText) \
+ (This)->lpVtbl -> GetBatchText(This,psText)
+
+#define ISecureShutdownDOS_SetData(This,pUnk) \
+ (This)->lpVtbl -> SetData(This,pUnk)
+
+#define ISecureShutdownDOS_get_Info(This,nsItem,pvVal) \
+ (This)->lpVtbl -> get_Info(This,nsItem,pvVal)
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISecureShutdownDOS_GetBatchText_Proxy(
+ ISecureShutdownDOS __RPC_FAR * This,
+ /* [retval][out] */ BSTR __RPC_FAR *psText);
+
+
+void __RPC_STUB ISecureShutdownDOS_GetBatchText_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISecureShutdownDOS_SetData_Proxy(
+ ISecureShutdownDOS __RPC_FAR * This,
+ /* [in] */ IUnknown __RPC_FAR *pUnk);
+
+
+void __RPC_STUB ISecureShutdownDOS_SetData_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISecureShutdownDOS_get_Info_Proxy(
+ ISecureShutdownDOS __RPC_FAR * This,
+ /* [in] */ NightSecInfo nsItem,
+ /* [retval][out] */ VARIANT __RPC_FAR *pvVal);
+
+
+void __RPC_STUB ISecureShutdownDOS_get_Info_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+
+#endif /* __ISecureShutdownDOS_INTERFACE_DEFINED__ */
+
+
+#ifndef __INightSecError_INTERFACE_DEFINED__
+#define __INightSecError_INTERFACE_DEFINED__
+
+/* interface INightSecError */
+/* [unique][helpstring][dual][uuid][object] */
+
+
+EXTERN_C const IID IID_INightSecError;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("409C4B09-9310-11d3-BFC1-0020182B97FC")
+ INightSecError : public IUnknown
+ {
+ public:
+ virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Err(
+ /* [retval][out] */ HRESULT __RPC_FAR *pbsRet) = 0;
+
+ virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Description(
+ /* [retval][out] */ BSTR __RPC_FAR *pbsRet) = 0;
+
+ virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_HelpFile(
+ /* [retval][out] */ BSTR __RPC_FAR *pbsRet) = 0;
+
+ virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_HelpContext(
+ /* [retval][out] */ long __RPC_FAR *plRet) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INightSecErrorVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
+ INightSecError __RPC_FAR * This,
+ /* [in] */ REFIID riid,
+ /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
+ INightSecError __RPC_FAR * This);
+
+ ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
+ INightSecError __RPC_FAR * This);
+
+ /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Err )(
+ INightSecError __RPC_FAR * This,
+ /* [retval][out] */ HRESULT __RPC_FAR *pbsRet);
+
+ /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Description )(
+ INightSecError __RPC_FAR * This,
+ /* [retval][out] */ BSTR __RPC_FAR *pbsRet);
+
+ /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_HelpFile )(
+ INightSecError __RPC_FAR * This,
+ /* [retval][out] */ BSTR __RPC_FAR *pbsRet);
+
+ /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_HelpContext )(
+ INightSecError __RPC_FAR * This,
+ /* [retval][out] */ long __RPC_FAR *plRet);
+
+ END_INTERFACE
+ } INightSecErrorVtbl;
+
+ interface INightSecError
+ {
+ CONST_VTBL struct INightSecErrorVtbl __RPC_FAR *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INightSecError_QueryInterface(This,riid,ppvObject) \
+ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
+
+#define INightSecError_AddRef(This) \
+ (This)->lpVtbl -> AddRef(This)
+
+#define INightSecError_Release(This) \
+ (This)->lpVtbl -> Release(This)
+
+
+#define INightSecError_get_Err(This,pbsRet) \
+ (This)->lpVtbl -> get_Err(This,pbsRet)
+
+#define INightSecError_get_Description(This,pbsRet) \
+ (This)->lpVtbl -> get_Description(This,pbsRet)
+
+#define INightSecError_get_HelpFile(This,pbsRet) \
+ (This)->lpVtbl -> get_HelpFile(This,pbsRet)
+
+#define INightSecError_get_HelpContext(This,plRet) \
+ (This)->lpVtbl -> get_HelpContext(This,plRet)
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+/* [id][propget] */ HRESULT STDMETHODCALLTYPE INightSecError_get_Err_Proxy(
+ INightSecError __RPC_FAR * This,
+ /* [retval][out] */ HRESULT __RPC_FAR *pbsRet);
+
+
+void __RPC_STUB INightSecError_get_Err_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+/* [id][propget] */ HRESULT STDMETHODCALLTYPE INightSecError_get_Description_Proxy(
+ INightSecError __RPC_FAR * This,
+ /* [retval][out] */ BSTR __RPC_FAR *pbsRet);
+
+
+void __RPC_STUB INightSecError_get_Description_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+/* [id][propget] */ HRESULT STDMETHODCALLTYPE INightSecError_get_HelpFile_Proxy(
+ INightSecError __RPC_FAR * This,
+ /* [retval][out] */ BSTR __RPC_FAR *pbsRet);
+
+
+void __RPC_STUB INightSecError_get_HelpFile_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+/* [id][propget] */ HRESULT STDMETHODCALLTYPE INightSecError_get_HelpContext_Proxy(
+ INightSecError __RPC_FAR * This,
+ /* [retval][out] */ long __RPC_FAR *plRet);
+
+
+void __RPC_STUB INightSecError_get_HelpContext_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+
+#endif /* __INightSecError_INTERFACE_DEFINED__ */
+
+
+#ifndef __INightSecErrorFix_INTERFACE_DEFINED__
+#define __INightSecErrorFix_INTERFACE_DEFINED__
+
+/* interface INightSecErrorFix */
+/* [unique][helpstring][dual][uuid][object] */
+
+
+EXTERN_C const IID IID_INightSecErrorFix;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("409C4B04-9310-11d3-BFC1-0020182B97FC")
+ INightSecErrorFix : public IUnknown
+ {
+ public:
+ virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Fixable(
+ /* [retval][out] */ BOOL __RPC_FAR *pbRet) = 0;
+
+ virtual /* [id] */ HRESULT STDMETHODCALLTYPE Fix( void) = 0;
+
+ virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Retryable(
+ /* [retval][out] */ BOOL __RPC_FAR *pbRet) = 0;
+
+ virtual /* [id] */ HRESULT STDMETHODCALLTYPE Retry( void) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INightSecErrorFixVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
+ INightSecErrorFix __RPC_FAR * This,
+ /* [in] */ REFIID riid,
+ /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
+ INightSecErrorFix __RPC_FAR * This);
+
+ ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
+ INightSecErrorFix __RPC_FAR * This);
+
+ /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Fixable )(
+ INightSecErrorFix __RPC_FAR * This,
+ /* [retval][out] */ BOOL __RPC_FAR *pbRet);
+
+ /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Fix )(
+ INightSecErrorFix __RPC_FAR * This);
+
+ /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Retryable )(
+ INightSecErrorFix __RPC_FAR * This,
+ /* [retval][out] */ BOOL __RPC_FAR *pbRet);
+
+ /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Retry )(
+ INightSecErrorFix __RPC_FAR * This);
+
+ END_INTERFACE
+ } INightSecErrorFixVtbl;
+
+ interface INightSecErrorFix
+ {
+ CONST_VTBL struct INightSecErrorFixVtbl __RPC_FAR *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INightSecErrorFix_QueryInterface(This,riid,ppvObject) \
+ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
+
+#define INightSecErrorFix_AddRef(This) \
+ (This)->lpVtbl -> AddRef(This)
+
+#define INightSecErrorFix_Release(This) \
+ (This)->lpVtbl -> Release(This)
+
+
+#define INightSecErrorFix_get_Fixable(This,pbRet) \
+ (This)->lpVtbl -> get_Fixable(This,pbRet)
+
+#define INightSecErrorFix_Fix(This) \
+ (This)->lpVtbl -> Fix(This)
+
+#define INightSecErrorFix_get_Retryable(This,pbRet) \
+ (This)->lpVtbl -> get_Retryable(This,pbRet)
+
+#define INightSecErrorFix_Retry(This) \
+ (This)->lpVtbl -> Retry(This)
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+/* [id][propget] */ HRESULT STDMETHODCALLTYPE INightSecErrorFix_get_Fixable_Proxy(
+ INightSecErrorFix __RPC_FAR * This,
+ /* [retval][out] */ BOOL __RPC_FAR *pbRet);
+
+
+void __RPC_STUB INightSecErrorFix_get_Fixable_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+/* [id] */ HRESULT STDMETHODCALLTYPE INightSecErrorFix_Fix_Proxy(
+ INightSecErrorFix __RPC_FAR * This);
+
+
+void __RPC_STUB INightSecErrorFix_Fix_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+/* [id][propget] */ HRESULT STDMETHODCALLTYPE INightSecErrorFix_get_Retryable_Proxy(
+ INightSecErrorFix __RPC_FAR * This,
+ /* [retval][out] */ BOOL __RPC_FAR *pbRet);
+
+
+void __RPC_STUB INightSecErrorFix_get_Retryable_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+/* [id] */ HRESULT STDMETHODCALLTYPE INightSecErrorFix_Retry_Proxy(
+ INightSecErrorFix __RPC_FAR * This);
+
+
+void __RPC_STUB INightSecErrorFix_Retry_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+
+#endif /* __INightSecErrorFix_INTERFACE_DEFINED__ */
+
+
+/* Additional Prototypes for ALL interfaces */
+
+unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
+unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
+unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
+void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
+
+unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
+unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
+unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
+void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
+
+/* end of Additional Prototypes */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/Interfaces/CmptIfaces.idl b/Interfaces/CmptIfaces.idl
new file mode 100644
index 0000000..c6170f7
--- /dev/null
+++ b/Interfaces/CmptIfaces.idl
@@ -0,0 +1,107 @@
+// NightSec Worker.idl : IDL source for NightSec Worker.dll
+//
+
+// This file will be processed by the MIDL tool to
+// produce the type library (NightSec Worker.tlb) and marshalling code.
+
+import "oaidl.idl";
+import "ocidl.idl";
+
+ [
+ uuid(34F11690-F275-11d2-A589-0020182B97FC),
+ helpstring("Info Types"),
+ ]
+ typedef [v1_enum] enum NightSecInfo
+ {
+ [ helpstring("Component Name (String)") ] nsName,
+ [ helpstring("Command Line Parameter (String)") ] nsCmdLine,
+ [ helpstring("Help Text (String)") ] nsHelpText,
+ [ helpstring("Component Needs to be Setup ie: Defaults not enough (Bool)") ] nsForceShow,
+ [ helpstring("If Disabled Only show in advanced setup (Bool)") ] nsHideNormal,
+ [ helpstring("Can make a second copy of component (Bool)") ] nsCopyAble,
+ [ helpstring("Component HelpFile (String)") ] nsHelpFile,
+ [ helpstring("Component Help Topic Number (Int)") ] nsHelpTopic
+
+ } NightSecInfo;
+
+ /*[
+ uuid(34F11689-F275-11d2-A589-0020182B97FC),
+ helpstring("Options for Shutdown"),
+ ]
+ typedef [v1_enum] enum NightSecOptions
+ {
+ [ helpstring("Don't display Prompts") ] nsNoPrompt = 0x00000002,
+ [ helpstring("Don't display any UI") ] nsQuiet = 0x00000004
+
+ } NightSecOptions; */
+
+ [ helpstring("Don't display Prompts") ] const long nsNoPrompt = 0x00000002;
+ [ helpstring("Don't display any UI") ] const long nsQuiet = 0x00000004;
+
+ [
+ object,
+ uuid(34F11691-F275-11d2-A589-0020182B97FC),
+ dual,
+ helpstring("Interface for performing Secure Shutdown Functions Before Exiting to DOS"),
+ pointer_default(unique)
+ ]
+ interface ISecureShutdownWin : IDispatch
+ {
+ [id(1), helpstring("Runs this component's shutdown")]
+ HRESULT DoShutdown([in] long hParent, [in] long Mode);
+
+ [id(2), helpstring("Gives the component an IPropertyBag to store it's properties in")]
+ HRESULT SetData([in] IUnknown* pUnk);
+
+ [propget, id(3), helpstring("Get's a comonents properties and options")]
+ HRESULT Info([in] NightSecInfo nsItem, [out, retval] VARIANT* pvVal);
+ };
+
+ [
+ object,
+ uuid(34F11692-F275-11d2-A589-0020182B97FC),
+ dual,
+ helpstring("Interface for retrieving Batch File Text to be run in a Secure Shutdown going into MS-DOS Mode"),
+ pointer_default(unique)
+ ]
+ interface ISecureShutdownDOS : IDispatch
+ {
+ [id(1), helpstring("Gets the components batch file text")]
+ HRESULT GetBatchText([out, retval] BSTR* psText);
+
+ [id(2), helpstring("Gives the component an IPropertyBag to store it's properties in")]
+ HRESULT SetData([in] IUnknown* pUnk);
+
+ [propget, id(3), helpstring("Get's a comonents properties and options")]
+ HRESULT Info([in] NightSecInfo nsItem, [out, retval] VARIANT* pvVal);
+ };
+
+ [
+ object,
+ uuid(409C4B09-9310-11d3-BFC1-0020182B97FC),
+ dual,
+ helpstring("Interface for retrieving misc information from a Night Security Container"),
+ pointer_default(unique)
+ ]
+ interface INightSecError : IUnknown
+ {
+ [propget, id(1)] HRESULT Err([out, retval] HRESULT* pbsRet);
+ [propget, id(2)] HRESULT Description([out, retval] BSTR* pbsRet);
+ [propget, id(3)] HRESULT HelpFile([out, retval] BSTR* pbsRet);
+ [propget, id(4)] HRESULT HelpContext([out, retval] long* plRet);
+ };
+
+ [
+ object,
+ uuid(409C4B04-9310-11d3-BFC1-0020182B97FC),
+ dual,
+ helpstring("Interface for retrieving misc information from a Night Security Container"),
+ pointer_default(unique)
+ ]
+ interface INightSecErrorFix : IUnknown
+ {
+ [propget, id(1)] HRESULT Fixable([out, retval] BOOL* pbRet);
+ [id(2)] HRESULT Fix();
+ [propget, id(3)] HRESULT Retryable([out, retval] BOOL* pbRet);
+ [id(4)] HRESULT Retry();
+ }; \ No newline at end of file
diff --git a/Interfaces/Interfaces.dsp b/Interfaces/Interfaces.dsp
new file mode 100644
index 0000000..96d17de
--- /dev/null
+++ b/Interfaces/Interfaces.dsp
@@ -0,0 +1,73 @@
+# Microsoft Developer Studio Project File - Name="Interfaces" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Generic Project" 0x010a
+
+CFG=Interfaces - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "Interfaces.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "Interfaces.mak" CFG="Interfaces - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "Interfaces - Win32 Release" (based on "Win32 (x86) Generic Project")
+!MESSAGE "Interfaces - Win32 Debug" (based on "Win32 (x86) Generic Project")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+MTL=midl.exe
+
+!IF "$(CFG)" == "Interfaces - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "Release"
+# PROP Intermediate_Dir "Release"
+# PROP Target_Dir ""
+
+!ELSEIF "$(CFG)" == "Interfaces - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "Debug"
+# PROP Intermediate_Dir "Debug"
+# PROP Target_Dir ""
+
+!ENDIF
+
+# Begin Target
+
+# Name "Interfaces - Win32 Release"
+# Name "Interfaces - Win32 Debug"
+# Begin Source File
+
+SOURCE=.\CmptIfaces.idl
+# ADD MTL /tlb "CmptIfaces.tlb"
+# End Source File
+# Begin Source File
+
+SOURCE=.\SiteIfaces.idl
+# ADD MTL /tlb "SiteIfaces.tlb"
+# End Source File
+# End Target
+# End Project
diff --git a/Interfaces/Interfaces.dsw b/Interfaces/Interfaces.dsw
new file mode 100644
index 0000000..c4a8188
--- /dev/null
+++ b/Interfaces/Interfaces.dsw
@@ -0,0 +1,29 @@
+Microsoft Developer Studio Workspace File, Format Version 6.00
+# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
+
+###############################################################################
+
+Project: "Interfaces"=.\Interfaces.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Global:
+
+Package=<5>
+{{{
+}}}
+
+Package=<3>
+{{{
+}}}
+
+###############################################################################
+
diff --git a/Interfaces/SiteIfaces.h b/Interfaces/SiteIfaces.h
new file mode 100644
index 0000000..2715d57
--- /dev/null
+++ b/Interfaces/SiteIfaces.h
@@ -0,0 +1,332 @@
+/* this ALWAYS GENERATED file contains the definitions for the interfaces */
+
+
+/* File created by MIDL compiler version 5.01.0164 */
+/* at Thu Apr 20 11:06:45 2000
+ */
+/* Compiler settings for E:\Projects\NightSec\Interfaces\SiteIfaces.idl:
+ Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
+ error checks: allocation ref bounds_check enum stub_data
+*/
+//@@MIDL_FILE_HEADING( )
+
+
+/* verify that the <rpcndr.h> version is high enough to compile this file*/
+#ifndef __REQUIRED_RPCNDR_H_VERSION__
+#define __REQUIRED_RPCNDR_H_VERSION__ 440
+#endif
+
+#include "rpc.h"
+#include "rpcndr.h"
+
+#ifndef __RPCNDR_H_VERSION__
+#error this stub requires an updated version of <rpcndr.h>
+#endif // __RPCNDR_H_VERSION__
+
+#ifndef COM_NO_WINDOWS_H
+#include "windows.h"
+#include "ole2.h"
+#endif /*COM_NO_WINDOWS_H*/
+
+#ifndef __SiteIfaces_h__
+#define __SiteIfaces_h__
+
+#ifdef __cplusplus
+extern "C"{
+#endif
+
+/* Forward Declarations */
+
+#ifndef __INightSecSiteInfo_FWD_DEFINED__
+#define __INightSecSiteInfo_FWD_DEFINED__
+typedef interface INightSecSiteInfo INightSecSiteInfo;
+#endif /* __INightSecSiteInfo_FWD_DEFINED__ */
+
+
+#ifndef __INightSecErrorLog_FWD_DEFINED__
+#define __INightSecErrorLog_FWD_DEFINED__
+typedef interface INightSecErrorLog INightSecErrorLog;
+#endif /* __INightSecErrorLog_FWD_DEFINED__ */
+
+
+/* header files for imported files */
+#include "oaidl.h"
+#include "ocidl.h"
+
+void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
+void __RPC_USER MIDL_user_free( void __RPC_FAR * );
+
+/* interface __MIDL_itf_SiteIfaces_0000 */
+/* [local] */
+
+typedef /* [helpstring][uuid][v1_enum] */
+enum NightSecSiteInfo
+ { nsAdvanced = 0
+ } NightSecSiteInfo;
+
+
+
+extern RPC_IF_HANDLE __MIDL_itf_SiteIfaces_0000_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_SiteIfaces_0000_v0_0_s_ifspec;
+
+#ifndef __INightSecSiteInfo_INTERFACE_DEFINED__
+#define __INightSecSiteInfo_INTERFACE_DEFINED__
+
+/* interface INightSecSiteInfo */
+/* [unique][helpstring][dual][uuid][object] */
+
+
+EXTERN_C const IID IID_INightSecSiteInfo;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("409C4B01-9310-11d3-BFC1-0020182B97FC")
+ INightSecSiteInfo : public IDispatch
+ {
+ public:
+ virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Info(
+ /* [in] */ NightSecSiteInfo nsItem,
+ /* [retval][out] */ VARIANT __RPC_FAR *pvVal) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INightSecSiteInfoVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
+ INightSecSiteInfo __RPC_FAR * This,
+ /* [in] */ REFIID riid,
+ /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
+ INightSecSiteInfo __RPC_FAR * This);
+
+ ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
+ INightSecSiteInfo __RPC_FAR * This);
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
+ INightSecSiteInfo __RPC_FAR * This,
+ /* [out] */ UINT __RPC_FAR *pctinfo);
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
+ INightSecSiteInfo __RPC_FAR * This,
+ /* [in] */ UINT iTInfo,
+ /* [in] */ LCID lcid,
+ /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
+ INightSecSiteInfo __RPC_FAR * This,
+ /* [in] */ REFIID riid,
+ /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
+ /* [in] */ UINT cNames,
+ /* [in] */ LCID lcid,
+ /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
+ INightSecSiteInfo __RPC_FAR * This,
+ /* [in] */ DISPID dispIdMember,
+ /* [in] */ REFIID riid,
+ /* [in] */ LCID lcid,
+ /* [in] */ WORD wFlags,
+ /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
+ /* [out] */ VARIANT __RPC_FAR *pVarResult,
+ /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
+ /* [out] */ UINT __RPC_FAR *puArgErr);
+
+ /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Info )(
+ INightSecSiteInfo __RPC_FAR * This,
+ /* [in] */ NightSecSiteInfo nsItem,
+ /* [retval][out] */ VARIANT __RPC_FAR *pvVal);
+
+ END_INTERFACE
+ } INightSecSiteInfoVtbl;
+
+ interface INightSecSiteInfo
+ {
+ CONST_VTBL struct INightSecSiteInfoVtbl __RPC_FAR *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INightSecSiteInfo_QueryInterface(This,riid,ppvObject) \
+ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
+
+#define INightSecSiteInfo_AddRef(This) \
+ (This)->lpVtbl -> AddRef(This)
+
+#define INightSecSiteInfo_Release(This) \
+ (This)->lpVtbl -> Release(This)
+
+
+#define INightSecSiteInfo_GetTypeInfoCount(This,pctinfo) \
+ (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
+
+#define INightSecSiteInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
+ (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
+
+#define INightSecSiteInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
+ (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
+
+#define INightSecSiteInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
+ (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
+
+
+#define INightSecSiteInfo_get_Info(This,nsItem,pvVal) \
+ (This)->lpVtbl -> get_Info(This,nsItem,pvVal)
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INightSecSiteInfo_get_Info_Proxy(
+ INightSecSiteInfo __RPC_FAR * This,
+ /* [in] */ NightSecSiteInfo nsItem,
+ /* [retval][out] */ VARIANT __RPC_FAR *pvVal);
+
+
+void __RPC_STUB INightSecSiteInfo_get_Info_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+
+#endif /* __INightSecSiteInfo_INTERFACE_DEFINED__ */
+
+
+#ifndef __INightSecErrorLog_INTERFACE_DEFINED__
+#define __INightSecErrorLog_INTERFACE_DEFINED__
+
+/* interface INightSecErrorLog */
+/* [unique][helpstring][uuid][object] */
+
+
+EXTERN_C const IID IID_INightSecErrorLog;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("409C4B03-9310-11d3-BFC1-0020182B97FC")
+ INightSecErrorLog : public IUnknown
+ {
+ public:
+ virtual /* [id] */ HRESULT STDMETHODCALLTYPE AddError(
+ /* [in] */ IUnknown __RPC_FAR *pUnk) = 0;
+
+ virtual /* [id] */ HRESULT STDMETHODCALLTYPE HasErrors(
+ /* [retval][out] */ BOOL __RPC_FAR *pbRet) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INightSecErrorLogVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
+ INightSecErrorLog __RPC_FAR * This,
+ /* [in] */ REFIID riid,
+ /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
+ INightSecErrorLog __RPC_FAR * This);
+
+ ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
+ INightSecErrorLog __RPC_FAR * This);
+
+ /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddError )(
+ INightSecErrorLog __RPC_FAR * This,
+ /* [in] */ IUnknown __RPC_FAR *pUnk);
+
+ /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HasErrors )(
+ INightSecErrorLog __RPC_FAR * This,
+ /* [retval][out] */ BOOL __RPC_FAR *pbRet);
+
+ END_INTERFACE
+ } INightSecErrorLogVtbl;
+
+ interface INightSecErrorLog
+ {
+ CONST_VTBL struct INightSecErrorLogVtbl __RPC_FAR *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INightSecErrorLog_QueryInterface(This,riid,ppvObject) \
+ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
+
+#define INightSecErrorLog_AddRef(This) \
+ (This)->lpVtbl -> AddRef(This)
+
+#define INightSecErrorLog_Release(This) \
+ (This)->lpVtbl -> Release(This)
+
+
+#define INightSecErrorLog_AddError(This,pUnk) \
+ (This)->lpVtbl -> AddError(This,pUnk)
+
+#define INightSecErrorLog_HasErrors(This,pbRet) \
+ (This)->lpVtbl -> HasErrors(This,pbRet)
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+/* [id] */ HRESULT STDMETHODCALLTYPE INightSecErrorLog_AddError_Proxy(
+ INightSecErrorLog __RPC_FAR * This,
+ /* [in] */ IUnknown __RPC_FAR *pUnk);
+
+
+void __RPC_STUB INightSecErrorLog_AddError_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+/* [id] */ HRESULT STDMETHODCALLTYPE INightSecErrorLog_HasErrors_Proxy(
+ INightSecErrorLog __RPC_FAR * This,
+ /* [retval][out] */ BOOL __RPC_FAR *pbRet);
+
+
+void __RPC_STUB INightSecErrorLog_HasErrors_Stub(
+ IRpcStubBuffer *This,
+ IRpcChannelBuffer *_pRpcChannelBuffer,
+ PRPC_MESSAGE _pRpcMessage,
+ DWORD *_pdwStubPhase);
+
+
+
+#endif /* __INightSecErrorLog_INTERFACE_DEFINED__ */
+
+
+/* Additional Prototypes for ALL interfaces */
+
+unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
+unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
+unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
+void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
+
+/* end of Additional Prototypes */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/Interfaces/SiteIfaces.idl b/Interfaces/SiteIfaces.idl
new file mode 100644
index 0000000..b93abf5
--- /dev/null
+++ b/Interfaces/SiteIfaces.idl
@@ -0,0 +1,44 @@
+// Checklist.idl : IDL source for Checklist.dll
+//
+
+// This file will be processed by the MIDL tool to
+// produce the type library (Checklist.tlb) and marshalling code.
+
+import "oaidl.idl";
+import "ocidl.idl";
+
+ [
+ uuid(409C4B00-9310-11d3-BFC1-0020182B97FC),
+ helpstring("Info Types"),
+ ]
+ typedef [v1_enum] enum NightSecSiteInfo
+ {
+ [ helpstring("Advanced Wizard (Bool)") ] nsAdvanced
+
+ } NightSecSiteInfo;
+
+ [
+ object,
+ uuid(409C4B01-9310-11d3-BFC1-0020182B97FC),
+ dual,
+ helpstring("Interface for retrieving misc information from a Night Security Container"),
+ pointer_default(unique)
+ ]
+ interface INightSecSiteInfo : IDispatch
+ {
+ [propget, id(1), helpstring("Get's a containers properties and options")]
+ HRESULT Info([in] NightSecSiteInfo nsItem, [out, retval] VARIANT* pvVal);
+ };
+
+ [
+ object,
+ uuid(409C4B03-9310-11d3-BFC1-0020182B97FC),
+ helpstring("Interface for retrieving misc information from a Night Security Container"),
+ pointer_default(unique)
+ ]
+ interface INightSecErrorLog : IUnknown
+ {
+ [id(1)] HRESULT AddError([in] IUnknown* pUnk);
+ [id(2)] HRESULT HasErrors([out, retval] BOOL* pbRet);
+ };
+
diff --git a/Interfaces/dlldata.c b/Interfaces/dlldata.c
new file mode 100644
index 0000000..d1e15e7
--- /dev/null
+++ b/Interfaces/dlldata.c
@@ -0,0 +1,40 @@
+/*********************************************************
+ DllData file -- generated by MIDL compiler
+
+ DO NOT ALTER THIS FILE
+
+ This file is regenerated by MIDL on every IDL file compile.
+
+ To completely reconstruct this file, delete it and rerun MIDL
+ on all the IDL files in this DLL, specifying this file for the
+ /dlldata command line option
+
+*********************************************************/
+
+#define PROXY_DELEGATION
+
+#include <rpcproxy.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+EXTERN_PROXY_FILE( CmptIfaces )
+EXTERN_PROXY_FILE( SiteIfaces )
+
+
+PROXYFILE_LIST_START
+/* Start of list */
+ REFERENCE_PROXY_FILE( CmptIfaces ),
+ REFERENCE_PROXY_FILE( SiteIfaces ),
+/* End of list */
+PROXYFILE_LIST_END
+
+
+DLLDATA_ROUTINES( aProxyFileList, GET_DLL_CLSID )
+
+#ifdef __cplusplus
+} /*extern "C" */
+#endif
+
+/* end of generated dlldata file */