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.
 
 
 
 
 
 

52 lines
1.1 KiB

/*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
misc.h
Abstract:
This module contains various DPAPI declarations.
Author:
jbanes 10-11-2000
--*/
#define DPAPI_PACKAGE_NAME_A "DPAPI"
extern TOKEN_SOURCE DPAPITokenSource;
extern PLSA_SECPKG_FUNCTION_TABLE g_pSecpkgTable;
extern RTL_CRITICAL_SECTION g_csCredHistoryCache;
DWORD IntializeGlobals();
DWORD ShutdownGlobals();
DWORD GetIterationCount();
BOOL FIsLegacyCompliant();
BOOL FIsLegacyNt4Domain();
BOOL FDistributeDomainBackupKey();
DWORD GetMasterKeyDefaultPolicy();
#define MAX_STRING_ALGID_LENGTH 30
DWORD AlgIDToString(LPWSTR wszString, DWORD dwAlgID, DWORD dwStrength );
DWORD GetDefaultAlgInfo(DWORD *pdwProvType,
DWORD *pdwEncryptionAlg,
DWORD *pdwEncryptionAlgSize,
DWORD *pdwMACAlg,
DWORD *pdwMACAlgSize);
void
InitLsaString(
PLSA_UNICODE_STRING LsaString, // destination
LPWSTR String // source (Unicode)
);