[NTDLL]
[reactos.git] / include / reactos / subsys / csr / csrcl.h
1 /*
2 * PROJECT: ReactOS Native Headers
3 * FILE: include/subsys/csrss/client.h
4 * PURPOSE: Public Definitions for CSR Clients
5 * PROGRAMMERS: Alex Ionescu (alex@relsoft.net)
6 * Hermes Belusca-Maito (hermes.belusca@sfr.fr)
7 */
8
9 #ifndef _CSRCL_H
10 #define _CSRCL_H
11
12 #include "csrmsg.h"
13
14 /*
15 BOOLEAN
16 NTAPI
17 CsrCaptureArguments(IN PCSR_THREAD CsrThread,
18 IN PCSR_API_MESSAGE ApiMessage);
19
20 VOID
21 NTAPI
22 CsrReleaseCapturedArguments(IN PCSR_API_MESSAGE ApiMessage);
23 */
24
25 NTSTATUS
26 NTAPI
27 CsrClientConnectToServer(IN PWSTR ObjectDirectory,
28 IN ULONG ServerId,
29 IN PVOID ConnectionInfo,
30 IN OUT PULONG ConnectionInfoSize,
31 OUT PBOOLEAN ServerToServerCall);
32
33 NTSTATUS
34 NTAPI
35 CsrClientCallServer(IN OUT PCSR_API_MESSAGE Request,
36 IN OUT PCSR_CAPTURE_BUFFER CaptureBuffer OPTIONAL,
37 IN ULONG ApiNumber,
38 IN ULONG RequestLength);
39
40 PVOID
41 NTAPI
42 CsrAllocateCaptureBuffer(IN ULONG ArgumentCount,
43 IN ULONG BufferSize);
44
45 VOID
46 NTAPI
47 CsrFreeCaptureBuffer(IN PCSR_CAPTURE_BUFFER CaptureBuffer);
48
49 ULONG
50 NTAPI
51 CsrAllocateMessagePointer(IN OUT PCSR_CAPTURE_BUFFER CaptureBuffer,
52 IN ULONG MessageLength,
53 OUT PVOID* CaptureData);
54
55 VOID
56 NTAPI
57 CsrCaptureMessageBuffer(IN OUT PCSR_CAPTURE_BUFFER CaptureBuffer,
58 IN PVOID MessageString,
59 IN ULONG StringLength,
60 OUT PVOID* CapturedData);
61
62 VOID
63 NTAPI
64 CsrProbeForRead(IN PVOID Address,
65 IN ULONG Length,
66 IN ULONG Alignment);
67
68 VOID
69 NTAPI
70 CsrProbeForWrite(IN PVOID Address,
71 IN ULONG Length,
72 IN ULONG Alignment);
73
74 NTSTATUS
75 NTAPI
76 CsrIdentifyAlertableThread(VOID);
77
78 HANDLE
79 NTAPI
80 CsrGetProcessId(VOID);
81
82 NTSTATUS
83 NTAPI
84 CsrNewThread(VOID);
85
86 NTSTATUS
87 NTAPI
88 CsrSetPriorityClass(IN HANDLE Process,
89 IN OUT PULONG PriorityClass);
90
91 #endif // _CSRCLIENT_H
92
93 /* EOF */