windows-nt/Source/XPSP1/NT/ds/security/services/scerpc/server/regvalue.h
2020-09-26 16:20:57 +08:00

82 lines
1.4 KiB
C

/*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
kerberos.h
Abstract:
Headers of apis for registry values
Author:
Jin Huang (jinhuang) 07-Jan-1998 created
Revision History:
--*/
#ifndef _sce_registryValue_
#define _sce_registryValue_
#ifdef __cplusplus
extern "C" {
#endif
#define SCEREG_VALUE_SNAPSHOT 1
#define SCEREG_VALUE_ANALYZE 2
#define SCEREG_VALUE_FILTER 3
#define SCEREG_VALUE_SYSTEM 4
#define SCEREG_VALUE_ROLLBACK 5
SCESTATUS
ScepGetRegistryValues(
IN PSCECONTEXT hProfile,
IN SCETYPE ProfileType,
OUT PSCE_REGISTRY_VALUE_INFO * ppRegValues,
OUT LPDWORD pValueCount,
OUT PSCE_ERROR_LOG_INFO *Errlog OPTIONAL
);
SCESTATUS
ScepConfigureRegistryValues(
IN PSCECONTEXT hProfile,
IN PSCE_REGISTRY_VALUE_INFO pRegValues,
IN DWORD ValueCount,
IN PSCE_ERROR_LOG_INFO *pErrLog,
IN DWORD ConfigOptions,
OUT PBOOL pAnythingSet
);
SCESTATUS
ScepAnalyzeRegistryValues(
IN PSCECONTEXT hProfile,
IN DWORD dwAnalFlag,
IN PSCE_PROFILE_INFO pSmpInfo
);
SCESTATUS
ScepAnalyzeOneRegistryValue(
IN PSCESECTION hSection OPTIONAL,
IN DWORD dwAnalFlag,
IN OUT PSCE_REGISTRY_VALUE_INFO pOneRegValue
);
SCESTATUS
ScepSaveRegistryValue(
IN PSCESECTION hSection,
IN PWSTR Name,
IN DWORD RegType,
IN PWSTR CurrentValue,
IN DWORD CurrentBytes,
IN DWORD Status
);
#ifdef __cplusplus
}
#endif
#endif