Leaked source code of windows server 2003
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.
 
 
 
 
 
 

58 lines
1.4 KiB

/*++
Copyright (c) 1996, 1997 Microsoft Corporation
Module Name:
keybckup.h
Abstract:
This module contains routines associated with client side Key Backup
operations.
Author:
Scott Field (sfield) 16-Sep-97
--*/
#ifndef __KEYBCKUP_H__
#define __KEYBCKUP_H__
DWORD
LocalBackupRestoreData(
IN HANDLE hToken,
IN PMASTERKEY_STORED phMasterKey,
IN PBYTE pbDataIn,
IN DWORD cbDataIn,
OUT PBYTE *ppbDataOut,
OUT DWORD *pcbDataOut,
IN const GUID *pguidAction
);
DWORD
BackupRestoreData(
IN HANDLE hToken,
IN PMASTERKEY_STORED phMasterKey,
IN PBYTE pbDataIn,
IN DWORD cbDataIn,
OUT PBYTE *ppbDataOut,
OUT DWORD *pcbDataOut,
IN BOOL fBackup
);
DWORD
AttemptLocalBackup(
IN BOOL fRetrieve,
IN HANDLE hToken,
IN PMASTERKEY_STORED phMasterKey,
IN PBYTE pbMasterKey,
IN DWORD cbMasterKey,
IN PBYTE pbLocalKey,
IN DWORD cbLocalKey,
OUT PBYTE * ppbBBK,
OUT DWORD * pcbBBK
);
#endif // __KEYBCKUP_H__