ReactOS 0.4.16-dev-716-g2b2bdab
|
#include <stdio.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <ndk/cmfuncs.h>
#include <ndk/exfuncs.h>
#include <ndk/iofuncs.h>
#include <ndk/kefuncs.h>
#include <ndk/lpcfuncs.h>
#include <ndk/mmfuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/psfuncs.h>
#include <ndk/rtlfuncs.h>
#include <ndk/setypes.h>
#include <ndk/umfuncs.h>
#include <ntstrsafe.h>
#include <sm/smmsg.h>
Go to the source code of this file.
Classes | |
struct | _SMP_REGISTRY_VALUE |
struct | _SMP_SUBSYSTEM |
Macros | |
#define | WIN32_NO_STATUS |
#define | NTOS_MODE_USER |
#define | SMP_DEBUG_FLAG 0x01 |
#define | SMP_ASYNC_FLAG 0x02 |
#define | SMP_AUTOCHK_FLAG 0x04 |
#define | SMP_SUBSYSTEM_FLAG 0x08 |
#define | SMP_INVALID_PATH 0x10 |
#define | SMP_DEFERRED_FLAG 0x20 |
#define | SMP_POSIX_FLAG 0x100 |
#define | SMP_OS2_FLAG 0x200 |
Typedefs | |
typedef struct _SMP_REGISTRY_VALUE | SMP_REGISTRY_VALUE |
typedef struct _SMP_REGISTRY_VALUE * | PSMP_REGISTRY_VALUE |
typedef struct _SMP_SUBSYSTEM | SMP_SUBSYSTEM |
typedef struct _SMP_SUBSYSTEM * | PSMP_SUBSYSTEM |
typedef struct _SMP_REGISTRY_VALUE * PSMP_REGISTRY_VALUE |
typedef struct _SMP_SUBSYSTEM * PSMP_SUBSYSTEM |
typedef struct _SMP_SUBSYSTEM SMP_SUBSYSTEM |
Definition at line 40 of file smutil.c.
Referenced by _main(), SmpLoadSubSystem(), and SmpLoadSubSystemsForMuSession().
ULONG NTAPI SmpAllocateSessionId | ( | IN PSMP_SUBSYSTEM | Subsystem, |
IN PSMP_SUBSYSTEM | OtherSubsystem | ||
) |
Definition at line 123 of file smsessn.c.
Referenced by SmpLoadSubSystem(), and SmpSbCreateSession().
Definition at line 423 of file smloop.c.
Referenced by SmpInit().
Definition at line 37 of file smsessn.c.
Referenced by SmpLoadDeferedSubsystem(), SmpLoadSubSystem(), and SmpSbCreateSession().
BOOLEAN NTAPI SmpCheckForCrashDump | ( | IN PUNICODE_STRING | FileName | ) |
Definition at line 20 of file crashdmp.c.
Referenced by SmpCreatePagingFileOnFixedDrive().
NTSTATUS NTAPI SmpCreatePagingFileDescriptor | ( | IN PUNICODE_STRING | PageFileToken | ) |
Definition at line 139 of file pagefile.c.
Referenced by SmpLoadDataFromRegistry().
Definition at line 1049 of file pagefile.c.
Referenced by SmpLoadDataFromRegistry().
Definition at line 975 of file sminit.c.
Referenced by SmpConfigureProtectionMode(), and SmpInit().
Definition at line 98 of file smsessn.c.
Referenced by SmpLoadSubSystem(), and SmpSbCreateSession().
VOID NTAPI SmpDereferenceSubsystem | ( | IN PSMP_SUBSYSTEM | SubSystem | ) |
Definition at line 47 of file smsubsys.c.
Referenced by SmpHandleConnectionRequest(), SmpLoadSubSystem(), and SmpSbCreateSession().
NTSTATUS NTAPI SmpExecuteCommand | ( | IN PUNICODE_STRING | CommandLine, |
IN ULONG | MuSessionId, | ||
OUT PHANDLE | ProcessId, | ||
IN ULONG | Flags | ||
) |
Definition at line 210 of file smss.c.
Referenced by SmpLoadDataFromRegistry(), SmpLoadDeferedSubsystem(), and SmpLoadSubSystemsForMuSession().
NTSTATUS NTAPI SmpExecuteImage | ( | IN PUNICODE_STRING | FileName, |
IN PUNICODE_STRING | Directory, | ||
IN PUNICODE_STRING | CommandLine, | ||
IN ULONG | MuSessionId, | ||
IN ULONG | Flags, | ||
IN PRTL_USER_PROCESS_INFORMATION | ProcessInformation | ||
) |
Definition at line 30 of file smss.c.
Referenced by SmpExecuteCommand(), SmpExecuteInitialCommand(), SmpInvokeAutoChk(), and SmpLoadSubSystem().
NTSTATUS NTAPI SmpExecuteInitialCommand | ( | IN ULONG | MuSessionId, |
IN PUNICODE_STRING | InitialCommand, | ||
IN HANDLE | InitialCommandProcess, | ||
OUT PHANDLE | ReturnPid | ||
) |
Definition at line 283 of file smss.c.
Referenced by _main(), and SmpStartCsr().
Definition at line 168 of file smsessn.c.
Referenced by SmpHandleConnectionRequest(), SmpLoadDeferedSubsystem(), and SmpSbCreateSession().
Definition at line 2449 of file sminit.c.
Referenced by _main().
NTSTATUS NTAPI SmpLoadSubSystem | ( | IN PUNICODE_STRING | FileName, |
IN PUNICODE_STRING | Directory, | ||
IN PUNICODE_STRING | CommandLine, | ||
IN ULONG | MuSessionId, | ||
OUT PHANDLE | ProcessId, | ||
IN ULONG | Flags | ||
) |
Definition at line 138 of file smsubsys.c.
Referenced by SmpExecuteCommand().
NTSTATUS NTAPI SmpLoadSubSystemsForMuSession | ( | IN PULONG | MuSessionId, |
OUT PHANDLE | ProcessId, | ||
IN PUNICODE_STRING | InitialCommand | ||
) |
Definition at line 510 of file smsubsys.c.
Referenced by SmpLoadDataFromRegistry(), and SmpStartCsr().
PSMP_SUBSYSTEM NTAPI SmpLocateKnownSubSysByCid | ( | IN PCLIENT_ID | ClientId | ) |
Definition at line 68 of file smsubsys.c.
Referenced by SmpHandleConnectionRequest().
Definition at line 102 of file smsubsys.c.
Referenced by SmpHandleConnectionRequest(), SmpLoadSubSystem(), and SmpSbCreateSession().
Definition at line 130 of file pagefile.c.
Referenced by SmpLoadDataFromRegistry().
NTSTATUS NTAPI SmpParseCommandLine | ( | IN PUNICODE_STRING | CommandLine, |
OUT PULONG | Flags, | ||
OUT PUNICODE_STRING | FileName, | ||
OUT PUNICODE_STRING | Directory, | ||
OUT PUNICODE_STRING | Arguments | ||
) |
Definition at line 233 of file smutil.c.
Referenced by SmpCreatePagingFileDescriptor(), SmpExecuteCommand(), and SmpExecuteInitialCommand().
Definition at line 424 of file smutil.c.
Referenced by SmpInvokeAutoChk().
Definition at line 129 of file smutil.c.
Referenced by _main(), SmpLoadSubSystem(), and SmpLoadSubSystemsForMuSession().
Definition at line 531 of file smutil.c.
Referenced by SmpInvokeAutoChk().
Definition at line 481 of file smutil.c.
Referenced by SmpInvokeAutoChk().
NTSTATUS NTAPI SmpSbCreateSession | ( | IN PVOID | Reserved, |
IN PSMP_SUBSYSTEM | OtherSubsystem, | ||
IN PRTL_USER_PROCESS_INFORMATION | ProcessInformation, | ||
IN ULONG | DbgSessionId, | ||
IN PCLIENT_ID | DbgUiClientId | ||
) |
Definition at line 36 of file smsbapi.c.
Referenced by SmpExecPgm().
Definition at line 199 of file smsessn.c.
Referenced by SmpExecuteImage().
NTSTATUS NTAPI SmpTerminate | ( | IN PULONG_PTR | Parameters, |
IN ULONG | ParameterMask, | ||
IN ULONG | ParameterCount | ||
) |
Definition at line 374 of file smss.c.
Referenced by _main(), SmpInitializeKnownDllsInternal(), and SmpUnhandledExceptionFilter().
Definition at line 811 of file sminit.c.
Referenced by SmpLoadSubSystemsForMuSession().
|
extern |
Definition at line 21 of file smss.c.
Referenced by _main(), SmpLoadSubSystem(), and SmpLoadSubSystemsForMuSession().
|
extern |
Definition at line 22 of file smsubsys.c.
Referenced by SmpConfigureSubSystems().
|
extern |
Definition at line 26 of file sminit.c.
Referenced by SmpConfigureEnvironment(), SmpInit(), SmpInitializeKnownDllPath(), SmpLoadSubSystem(), SmpParseCommandLine(), SmpParseToken(), SmpProcessFileRenames(), SmpSaveRegistryValue(), and SmpSbCreateSession().
UNICODE_STRING SmpASyncKeyword |
Definition at line 90 of file smss.h.
Referenced by SmpLoadDataFromRegistry().
UNICODE_STRING SmpAutoChkKeyword |
Definition at line 90 of file smss.h.
Referenced by SmpLoadDataFromRegistry().
|
extern |
Definition at line 30 of file smsessn.c.
Referenced by SmpInit(), and SmpSbCreateSession().
|
extern |
Definition at line 22 of file smss.c.
Referenced by _main(), SmExecuteProgram(), SmpExecuteImage(), and SmpLoadSubSystem().
|
extern |
Definition at line 34 of file smutil.c.
Referenced by SmpLoadDataFromRegistry(), and SmpParseCommandLine().
|
extern |
Definition at line 28 of file sminit.c.
Referenced by SmExecuteProgram(), SmpExecuteImage(), SmpLoadDataFromRegistry(), and SmpParseCommandLine().
|
extern |
Definition at line 29 of file sminit.c.
Referenced by SmpConfigureEnvironment(), SmpExecuteImage(), SmpLoadSubSystem(), and SmpParseCommandLine().
|
extern |
Definition at line 23 of file sminit.c.
Referenced by SmpLoadDataFromRegistry(), and SmpLoadSubSystemsForMuSession().
|
extern |
Definition at line 25 of file sminit.c.
Referenced by SmpAcquirePrivilege(), SmpAllocateSessionId(), SmpDeleteSession(), SmpDereferenceSubsystem(), SmpHandleConnectionRequest(), SmpInit(), SmpLoadSubSystem(), SmpParseCommandLine(), SmpParseToken(), SmpReleasePrivilege(), and SmpSbCreateSession().
|
extern |
Definition at line 19 of file smsubsys.c.
Referenced by SmpCheckDuplicateMuSessionId(), SmpInit(), SmpLoadSubSystem(), SmpLocateKnownSubSysByCid(), and SmpLocateKnownSubSysByType().
|
extern |
Definition at line 18 of file smsubsys.c.
Referenced by SmpCheckDuplicateMuSessionId(), SmpDereferenceSubsystem(), SmpInit(), SmpLoadSubSystem(), SmpLocateKnownSubSysByCid(), and SmpLocateKnownSubSysByType().
|
extern |
Definition at line 28 of file smsessn.c.
Referenced by SmpAllocateSessionId(), and SmpInit().
|
extern |
Definition at line 29 of file smsessn.c.
Referenced by SmpAllocateSessionId(), and SmpInit().
|
extern |
Definition at line 27 of file smsessn.c.
Referenced by SmpAllocateSessionId(), SmpInit(), and SmpSessionIdToSession().
|
extern |
Definition at line 26 of file smsessn.c.
Referenced by SmpAllocateSessionId(), SmpDeleteSession(), and SmpInit().
|
extern |
Definition at line 31 of file smsessn.c.
Referenced by SmpLoadDataFromRegistry().
|
extern |
Definition at line 19 of file sminit.c.
Referenced by SmpLoadDataFromRegistry(), and SmpLoadSubSystemsForMuSession().
|
extern |
Definition at line 22 of file sminit.c.
Referenced by SmpLoadDataFromRegistry(), and SmpLoadSubSystemsForMuSession().
|
extern |
Definition at line 22 of file sminit.c.
Referenced by SmpConfigureSubSystems(), SmpLoadDataFromRegistry(), and SmpLoadDeferedSubsystem().
|
extern |
Definition at line 22 of file sminit.c.
Referenced by SmpConfigureSubSystems(), SmpLoadDataFromRegistry(), and SmpLoadSubSystemsForMuSession().
|
extern |
Definition at line 20 of file smss.c.
Referenced by SmpParseCommandLine().
|
extern |
Definition at line 20 of file smsubsys.c.
Referenced by SmpInit(), and SmpLoadSubSystem().
|
extern |
Definition at line 21 of file smsubsys.c.
Referenced by SmpLoadDataFromRegistry(), and SmpLoadSubSystem().