2025-04-27 07:49:33 -04:00

82 lines
1.8 KiB
C

/*++
Copyright (c) 1997 Microsoft Corporation
Module Name:
dsdata.c
Abstract:
Implemntation of LSA/Ds Initialization routines
Author:
Mac McLain (MacM) Jan 17, 1997
Environment:
User Mode
Revision History:
--*/
#include <lsapch2.h>
#include <dsp.h>
//
// Info how the LSA uses the DS
//
LSADS_DS_STATE_INFO LsaDsStateInfo = {
NULL, // DsRoot
NULL, // DsPartitionsContainer
NULL, // DsSystemContainer
NULL, // DsConfigurationContainer
0L, // DsDomainHandle
// DsFuncTable
{ LsapDsOpenTransactionDummy,
LsapDsApplyTransactionDummy,
LsapDsAbortTransactionDummy },
// SystemContainerItems
{ FALSE,
NULL,
NULL },
NULL, // SavedThreadState
FALSE, // DsTransactionSave
FALSE, // DsTHStateSave
FALSE, // DsOperationSave
FALSE, // WriteLocal
FALSE, // UseDs
FALSE, // FunctionTableInitialized
FALSE, // DsInitializedAndRunning
FALSE // Nt4UpgradeInProcess
};
//
// Domain relative paths of the configuration containers for some object types
//
PWSTR LsapDsDomainRelativeContainers[] = {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
};
USHORT LsapDsDomainRelativeContainersLen[
sizeof(LsapDsDomainRelativeContainers) / sizeof(PWSTR)] = {
(sizeof(LsapDsDomainRelativeContainers[0]) - 1) / sizeof(WCHAR),
(sizeof(LsapDsDomainRelativeContainers[1]) - 1) / sizeof(WCHAR),
(sizeof(LsapDsDomainRelativeContainers[2]) - 1) / sizeof(WCHAR),
(sizeof(LsapDsDomainRelativeContainers[3]) - 1) / sizeof(WCHAR),
(sizeof(LsapDsDomainRelativeContainers[4]) - 1) / sizeof(WCHAR),
(sizeof(LsapDsDomainRelativeContainers[5]) - 1) / sizeof(WCHAR)
};