mirror of https://github.com/tongzx/nt5src
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.
57 lines
1.2 KiB
57 lines
1.2 KiB
//+--------------------------------------------------------------------------
|
|
//
|
|
// 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);
|