windows-nt/Source/XPSP1/NT/ds/security/services/ca/certdb/column.h

58 lines
1.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+--------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996 - 1999
//
// File: column.h
//
// Contents: Cert Server Database interface implementation
//
//---------------------------------------------------------------------------
#include "resource.h" // main symbols
class CEnumCERTDBCOLUMN: public IEnumCERTDBCOLUMN
{
public:
CEnumCERTDBCOLUMN();
~CEnumCERTDBCOLUMN();
public:
// IUnknown
STDMETHODIMP QueryInterface(const IID& iid, void **ppv);
ULONG STDMETHODCALLTYPE AddRef();
ULONG STDMETHODCALLTYPE Release();
// IEnumCERTDBCOLUMN
STDMETHOD(Next)(
/* [in] */ ULONG celt, // celt OR (CVRC_TABLE_* | 0)
/* [out] */ CERTDBCOLUMN *rgelt,
/* [out] */ ULONG *pceltFetched);
STDMETHOD(Skip)(
/* [in] */ LONG celt,
/* [out] */ LONG *pielt);
STDMETHOD(Reset)(VOID);
STDMETHOD(Clone)(
/* [out] */ IEnumCERTDBCOLUMN **ppenum);
HRESULT Open(
IN DWORD dwTable, // CVRC_TABLE_*
IN ICertDB *pdb);
private:
ICertDB *m_pdb;
ULONG m_ielt;
ULONG m_dwTable;
// Reference count
long m_cRef;
};