Sync with trunk r58740.
[reactos.git] / drivers / sac / driver / util.c
1 /*
2 * PROJECT: ReactOS Boot Loader
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: drivers/sac/driver/util.c
5 * PURPOSE: Driver for the Server Administration Console (SAC) for EMS
6 * PROGRAMMERS: ReactOS Portable Systems Group
7 */
8
9 /* INCLUDES *******************************************************************/
10
11 #include "sacdrv.h"
12
13 /* GLOBALS ********************************************************************/
14
15 /* FUNCTIONS ******************************************************************/
16
17 ULONG
18 ConvertAnsiToUnicode(
19 IN PWCHAR pwch,
20 IN PCHAR pch,
21 IN ULONG length
22 )
23 {
24 return STATUS_NOT_IMPLEMENTED;
25 }
26
27 BOOLEAN
28 IsCmdEventRegistrationProcess(
29 IN PFILE_OBJECT FileObject
30 )
31 {
32 return FALSE;
33 }
34
35 VOID
36 InitializeCmdEventInfo(
37 VOID
38 )
39 {
40
41 }
42
43 BOOLEAN
44 VerifyEventWaitable(
45 IN PVOID Object,
46 OUT PVOID *WaitObject,
47 OUT PVOID *ActualWaitObject
48 )
49 {
50 return FALSE;
51 }
52
53 NTSTATUS
54 InvokeUserModeService(
55 VOID
56 )
57 {
58 return STATUS_NOT_IMPLEMENTED;
59 }
60
61 VOID
62 SacFormatMessage(
63 IN PWCHAR FormattedString,
64 IN PWCHAR MessageString,
65 IN ULONG MessageSize
66 )
67 {
68
69 }
70
71 NTSTATUS
72 TearDownGlobalMessageTable(
73 VOID
74 )
75 {
76 return STATUS_NOT_IMPLEMENTED;
77 }
78
79 PWCHAR
80 GetMessage(
81 IN ULONG MessageIndex
82 )
83 {
84 return NULL;
85 }
86
87 BOOLEAN
88 SacTranslateUtf8ToUnicode(
89 IN CHAR Utf8Char,
90 IN PCHAR UnicodeBuffer,
91 OUT PCHAR Utf8Value
92 )
93 {
94 return FALSE;
95 }
96
97 BOOLEAN
98 SacTranslateUnicodeToUtf8(
99 IN PWCHAR SourceBuffer,
100 IN ULONG SourceBufferLength,
101 OUT PCHAR DestinationBuffer,
102 IN ULONG DestinationBufferSize,
103 IN ULONG UTF8Count,
104 OUT PULONG ProcessedCount
105 )
106 {
107 return FALSE;
108 }
109
110 NTSTATUS
111 GetRegistryValueBuffer(
112 IN PCWSTR KeyName,
113 IN PWCHAR ValueName,
114 IN PKEY_VALUE_PARTIAL_INFORMATION ValueBuffer
115 )
116 {
117 return STATUS_NOT_IMPLEMENTED;
118 }
119
120 NTSTATUS
121 SetRegistryValue(
122 IN PCWSTR KeyName,
123 IN PWCHAR ValueName,
124 IN ULONG Type,
125 IN PVOID Data,
126 IN ULONG DataSize
127 )
128 {
129 return STATUS_NOT_IMPLEMENTED;
130 }
131
132 NTSTATUS
133 CopyRegistryValueData(
134 IN PVOID Dest,
135 IN PKEY_VALUE_PARTIAL_INFORMATION ValueBuffer
136 )
137 {
138 return STATUS_NOT_IMPLEMENTED;
139 }
140
141 NTSTATUS
142 TranslateMachineInformationText(
143 IN PWCHAR Buffer)
144 {
145 return STATUS_NOT_IMPLEMENTED;
146 }
147
148 NTSTATUS
149 TranslateMachineInformationXML(
150 IN PWCHAR Buffer,
151 IN PWCHAR ExtraData
152 )
153 {
154 return STATUS_NOT_IMPLEMENTED;
155 }
156
157 NTSTATUS
158 RegisterBlueScreenMachineInformation(
159 VOID
160 )
161 {
162 return STATUS_NOT_IMPLEMENTED;
163 }
164
165 VOID
166 FreeMachineInformation(
167 VOID
168 )
169 {
170
171 }
172
173 NTSTATUS
174 SerialBufferGetChar(
175 OUT PCHAR Char
176 )
177 {
178 return STATUS_NOT_IMPLEMENTED;
179 }
180
181 NTSTATUS
182 GetCommandConsoleLaunchingPermission(
183 OUT PBOOLEAN Permission
184 )
185 {
186 return STATUS_NOT_IMPLEMENTED;
187 }
188
189 NTSTATUS
190 ImposeSacCmdServiceStartTypePolicy(
191 VOID
192 )
193 {
194 return STATUS_NOT_IMPLEMENTED;
195 }
196
197 NTSTATUS
198 CopyAndInsertStringAtInterval(
199 IN PWCHAR SourceStr,
200 IN ULONG Interval,
201 IN PWCHAR InsertStr,
202 OUT PWCHAR pDestStr
203 )
204 {
205 return STATUS_NOT_IMPLEMENTED;
206 }
207
208 ULONG
209 GetMessageLineCount(
210 IN ULONG MessageIndex
211 )
212 {
213 return 0;
214 }
215
216 NTSTATUS
217 RegisterSacCmdEvent(
218 IN PVOID Object,
219 IN PKEVENT SetupCmdEvent[]
220 )
221 {
222 return STATUS_NOT_IMPLEMENTED;
223 }
224
225 NTSTATUS
226 UnregisterSacCmdEvent(
227 IN PFILE_OBJECT FileObject
228 )
229 {
230 return STATUS_NOT_IMPLEMENTED;
231 }
232
233 NTSTATUS
234 UTF8EncodeAndSend(
235 IN PWCHAR String
236 )
237 {
238 return STATUS_NOT_IMPLEMENTED;
239 }