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.
|
|
//+--------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996 - 1999
//
// File: cscom.h
//
// Contents: Cert Server Policy & Exit module callouts
//
//---------------------------------------------------------------------------
#include "certdb.h"
HRESULT ComInit(VOID);
// Releases all Policy/Exit modules
VOID ComShutDown(VOID);
HRESULT PolicyInit( IN WCHAR const *pwszConfig, IN WCHAR const *pwszSanitizedName);
HRESULT PolicyVerifyRequest( IN WCHAR const *pwszConfig, IN LONG RequestId, IN LONG Flags, IN BOOL fNewRequest, IN DWORD dwComContextIndex, OUT LPWSTR *pwszDispositionMessage, // LocalAlloced.
OUT DWORD *pVerifyStatus); // VR_PENDING || VR_INSTANT_OK || VR_INSTANT_BAD
extern BOOL g_fEnablePolicy;
HRESULT ExitInit( IN WCHAR const *pwszConfig, IN WCHAR const *pwszSanitizedName);
HRESULT ExitNotify( IN LONG Event, IN LONG RequestId, IN DWORD dwComContextIndex); //MAXDWORD means no context
BSTR ExitGetDescription( IN DWORD iExitMod);
extern BOOL g_fEnableExit;
HRESULT ComVerifyRequestContext( IN BOOL fAllowZero, IN DWORD Flags, IN LONG Context, OUT DWORD *pRequestId);
HRESULT ComGetClientInfo( IN LONG Context, IN DWORD dwComContextIndex, OUT CERTSRV_COM_CONTEXT **ppComContext);
HRESULT RegisterComContext( IN CERTSRV_COM_CONTEXT *pComContext, IN OUT DWORD *pdwIndex);
VOID UnregisterComContext( IN CERTSRV_COM_CONTEXT *pComContext, IN DWORD dwIndex);
CERTSRV_COM_CONTEXT* GetComContextFromIndex( IN DWORD dwIndex);
|