ReactOS 0.4.15-dev-7906-g1b85a5f
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
20extern PEPROCESS gpepCSRSS;
21extern PVOID CsrApiPort;
22
23VOID InitCsrProcess(VOID /*IN PEPROCESS CsrProcess*/);
25NTSTATUS InitCsrApiPort(IN HANDLE CsrPortHandle);
27
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
39DWORD UserSystemThreadProc(BOOL bRemoteProcess);
41
42/* EOF */
Type
Definition: Type.h:7
LONG NTSTATUS
Definition: precomp.h:26
_In_ ULONG _In_opt_ WDFREQUEST _In_opt_ PVOID _In_ size_t _In_ PVOID _In_ size_t _Out_ size_t * DataLength
Definition: cdrom.h:1444
ULONG CSR_API_NUMBER
Definition: csrmsg.h:35
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
NTSTATUS NTAPI CsrClientCallServer(_Inout_ PCSR_API_MESSAGE ApiMessage, _Inout_opt_ PCSR_CAPTURE_BUFFER CaptureBuffer, _In_ CSR_API_NUMBER ApiNumber, _In_ ULONG DataLength)
Definition: connect.c:366
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
#define NTAPI
Definition: typedefs.h:36
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
NTSTATUS InitCsrApiPort(IN HANDLE CsrPortHandle)
Definition: csr.c:38
BOOL UserCreateSystemThread(DWORD Type)
Definition: csr.c:247
PVOID CsrApiPort
Definition: connect.c:27
VOID ResetCsrProcess(VOID)
Definition: csr.c:29
PEPROCESS gpepCSRSS
Definition: csr.c:15
VOID ResetCsrApiPort(VOID)
Definition: csr.c:58
DWORD UserSystemThreadProc(BOOL bRemoteProcess)
Definition: csr.c:207
VOID InitCsrProcess(VOID)
Definition: csr.c:20