CERTPOL.IDL

//+-------------------------------------------------------------------------- 
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996-1996
//
// File: certpol.idl
//
// Contents: IDL source for certpol.dll
//
//---------------------------------------------------------------------------

// This file will be processed by the MIDL tool to produce the type library
// (certpol.tlb) and marshalling code.

import "wtypes.idl";

//+--------------------------------------------------------------------------
// ICertPolicy class -- local COM interface
//+--------------------------------------------------------------------------

[
object,
uuid(38bb5a00-7636-11d0-b413-00a0c91bbf8c),
dual,
helpstring("ICertPolicy Interface"),
pointer_default(unique)
]

interface ICertPolicy: IDispatch
{
import "oaidl.idl";

HRESULT Initialize(
[in] BSTR const strConfig);

HRESULT VerifyRequest(
[in] BSTR const strConfig,
[in] LONG Context,
[in] LONG bNewRequest,
[in] LONG Flags,
[out, retval] LONG *pDisposition);

HRESULT GetDescription(
[out, retval] BSTR *pstrDescription);

HRESULT ShutDown();
};


//+--------------------------------------------------------------------------
// certpol Type library
//+--------------------------------------------------------------------------

[
uuid(39c0a710-7636-11d0-b413-00a0c91bbf8c),
version(1.0),
helpstring("CertPol 1.0 Type Library")
]

library CERTPOLICYLib
{
importlib("stdole2.tlb");

[
uuid(3a428a00-7636-11d0-b413-00a0c91bbf8c),
helpstring("CertPolicy Class")
]
coclass CCertPolicy
{
[default] interface ICertPolicy;
};
};