admin
base
com
developer
drivers
ds
adsi
dns
ds
edb500
ese98
inc
nameres
netapi
nlrepl
nw
published
safealloca
security
asn1
authz
azroles
base
common
cryptoapi
csps
dsrole
gina
inc
lib
ntmarta
passport
protocols
services
ca
capesnpn
celib
certadm
admin.cpp
admin.h
atl.cpp
backup.cpp
certadm.cpp
certadm.def
certadm.rc
certadmp.h
legacy.idl
makefile
makefile.inc
manage.cpp
manage.h
pch.cpp
restore.cpp
sources
certcli
certclib
certdb
certenc
certif
certlib
certmmc
certprxy
certreq
certsrv
certview
certweb
certwrap
docs
exit
genreq
hdrs
idl
include
initlib
nsrevchk
ocmsetup
policy
requests
tools
dirs
makefile.sdk
mkallstr.bat
msaudite.mc
scerpc
smartcrd
w32time
dirs
tools
winsafer
dirs
roadmap.txt
win32
xpress
dirs
project.mk
enduser
inetcore
inetsrv
loc
mergedcomponents
multimedia
net
printscan
public
published
sdktools
shell
termsrv
tools
windows
dirs
makefil0
58 lines
1.3 KiB
C
58 lines
1.3 KiB
C
//+--------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1998 - 1999
|
|
//
|
|
// File: certadmnp.h
|
|
//
|
|
// Contents: private certadm declarations
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
#define FLT_DBFILES 0
|
|
#define FLT_LOGFILES 1
|
|
#define FLT_DYNAMICFILES 2
|
|
#define FLT_RESTOREDBLOCATIONS 3
|
|
|
|
typedef struct _CSBACKUPCONTEXT
|
|
{
|
|
DWORD dwServerVersion;
|
|
ICertAdminD2 *pICertAdminD;
|
|
WCHAR const *pwszConfig;
|
|
WCHAR const *pwszAuthority;
|
|
DWORD RestoreFlags;
|
|
BOOL fFileOpen;
|
|
BYTE *pbReadBuffer;
|
|
DWORD cbReadBuffer;
|
|
BYTE *pbCache;
|
|
DWORD cbCache;
|
|
} CSBACKUPCONTEXT;
|
|
|
|
|
|
HRESULT
|
|
AllocateContext(
|
|
IN WCHAR const *pwszConfig,
|
|
OUT CSBACKUPCONTEXT **ppcsbc);
|
|
|
|
VOID
|
|
ReleaseContext(
|
|
IN OUT CSBACKUPCONTEXT *pcsbc);
|
|
|
|
HRESULT
|
|
BackupRestoreGetFileList(
|
|
IN DWORD FileListType,
|
|
IN HCSBC hbc,
|
|
OUT WCHAR **ppwszzFileList,
|
|
OUT DWORD *pcbList);
|
|
|
|
HRESULT
|
|
OpenAdminServer(
|
|
IN WCHAR const *pwszConfig,
|
|
OUT WCHAR const **ppwszAuthority,
|
|
OUT DWORD *pdwServerVersion,
|
|
OUT ICertAdminD2 **ppICertAdminD);
|
|
|
|
VOID
|
|
CloseAdminServer(
|
|
IN OUT ICertAdminD2 **ppICertAdminD);
|