ReactOS  0.4.15-dev-1201-gb2cf5a4
samsrv.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

NTSTATUS NTAPI SamIInitialize (VOID)
 
NTSTATUS NTAPI SampInitializeRegistry (VOID)
 

Function Documentation

◆ SamIInitialize()

NTSTATUS NTAPI SamIInitialize ( VOID  )

Definition at line 101 of file samsrv.c.

102 {
104 
105  TRACE("SamIInitialize() called\n");
106 
108  if (!NT_SUCCESS(Status))
109  return Status;
110 
111  if (SampIsSetupRunning())
112  {
114  if (!NT_SUCCESS(Status))
115  return Status;
116  }
117 
119 
120  /* Initialize the SAM database */
122  if (!NT_SUCCESS(Status))
123  return Status;
124 
125  /* Start the RPC server */
127 
128  return Status;
129 }
BOOL SampIsSetupRunning(VOID)
Definition: utils.c:64
LONG NTSTATUS
Definition: precomp.h:26
static NTSTATUS SampInitHashes(VOID)
Definition: samsrv.c:35
RTL_RESOURCE SampResource
Definition: samsrv.c:28
NTSYSAPI VOID NTAPI RtlInitializeResource(_In_ PRTL_RESOURCE Resource)
#define TRACE(s)
Definition: solgame.cpp:4
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
Status
Definition: gdiplustypes.h:24
NTSTATUS SampInitDatabase(VOID)
Definition: database.c:19
VOID SampStartRpcServer(VOID)
Definition: samrpc.c:78
NTSTATUS NTAPI SampInitializeRegistry(VOID)
Definition: samsrv.c:134
return STATUS_SUCCESS
Definition: btrfs.c:3014

Referenced by wWinMain().

◆ SampInitializeRegistry()

NTSTATUS NTAPI SampInitializeRegistry ( VOID  )

Definition at line 134 of file samsrv.c.

135 {
136  TRACE("SampInitializeRegistry() called\n");
137 
139 
140  return STATUS_SUCCESS;
141 }
BOOL SampInitializeSAM(VOID)
Definition: setup.c:888
#define TRACE(s)
Definition: solgame.cpp:4
return STATUS_SUCCESS
Definition: btrfs.c:3014

Referenced by SamIInitialize().