ReactOS  0.4.14-dev-608-gd495a4f
csr.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS Win32k subsystem
4  * PURPOSE: Interface between Win32k and USERSRV
5  * FILE: win32ss/user/ntuser/csr.h
6  * PROGRAMER: Hermes Belusca-Maito (hermes.belusca@sfr.fr), based on
7  * the original code by Ge van Geldorp (ge@gse.nl) and by
8  * the CSR code in NTDLL.
9  */
10 
11 #pragma once
12 
13 /* NDK Headers */
14 #include <ndk/lpcfuncs.h>
15 
16 /* CSRSS Header */
17 #include <csr/csr.h>
18 #include <win/winmsg.h>
19 
20 extern PEPROCESS gpepCSRSS;
21 extern PVOID CsrApiPort;
22 
23 VOID InitCsrProcess(VOID /*IN PEPROCESS CsrProcess*/);
25 NTSTATUS InitCsrApiPort(IN HANDLE CsrPortHandle);
27 
29 NTAPI
31  IN OUT PCSR_CAPTURE_BUFFER CaptureBuffer OPTIONAL,
32  IN CSR_API_NUMBER ApiNumber,
34 
35 #define ST_RIT (1<<0)
36 #define ST_DESKTOP_THREAD (1<<1)
37 #define ST_GHOST_THREAD (1<<2)
38 
39 DWORD UserSystemThreadProc(BOOL bRemoteProcess);
41 
42 /* EOF */
ULONG CSR_API_NUMBER
Definition: csrmsg.h:35
#define IN
Definition: typedefs.h:38
PEPROCESS gpepCSRSS
Definition: csr.c:15
Type
Definition: Type.h:6
NTSTATUS InitCsrApiPort(IN HANDLE CsrPortHandle)
Definition: csr.c:38
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS NTAPI CsrClientCallServer(IN OUT PCSR_API_MESSAGE ApiMessage, IN OUT PCSR_CAPTURE_BUFFER CaptureBuffer OPTIONAL, IN CSR_API_NUMBER ApiNumber, IN ULONG DataLength)
Definition: connect.c:365
PVOID CsrApiPort
Definition: connect.c:21
VOID InitCsrProcess(VOID)
Definition: csr.c:20
VOID ResetCsrProcess(VOID)
Definition: csr.c:29
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL UserCreateSystemThread(DWORD Type)
Definition: csr.c:247
unsigned long DWORD
Definition: ntddk_ex.h:95
VOID ResetCsrApiPort(VOID)
Definition: csr.c:58
#define OUT
Definition: typedefs.h:39
unsigned int ULONG
Definition: retypes.h:1
_Must_inspect_result_ _Out_writes_to_ DataLength PHIDP_DATA _Inout_ PULONG DataLength
Definition: hidpi.h:333
DWORD UserSystemThreadProc(BOOL bRemoteProcess)
Definition: csr.c:207
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68