tcp: print error when we can't allocate a bucket.
[reactos.git] / reactos / lib / kernel32 / misc / stubs.c
1 /* $Id: stubs.c,v 1.91 2004/09/23 19:03:26 weiden Exp $
2 *
3 * KERNEL32.DLL stubs (STUB functions)
4 * Remove from this file, if you implement them.
5 */
6
7 #include <k32.h>
8
9 #define NDEBUG
10 #include "../include/debug.h"
11
12
13 #define STUB \
14 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); \
15 DPRINT1("%s() is UNIMPLEMENTED!\n", __FUNCTION__)
16
17 /*
18 * @unimplemented
19 */
20 BOOL
21 STDCALL
22 BaseAttachCompleteThunk (VOID)
23 {
24 STUB;
25 return FALSE;
26 }
27
28 /*
29 * @unimplemented
30 */
31 VOID STDCALL
32 BaseDumpAppcompatCache(VOID)
33 {
34 STUB;
35 }
36
37 /*
38 * @unimplemented
39 */
40 VOID STDCALL
41 BaseFlushAppcompatCache(VOID)
42 {
43 STUB;
44 }
45
46 /*
47 * @unimplemented
48 */
49 VOID STDCALL
50 BaseCheckAppcompatCache(ULONG Unknown1, ULONG Unknown2, ULONG Unknown3, ULONG Unknown4)
51 {
52 STUB;
53 }
54
55 /*
56 * @unimplemented
57 */
58 VOID STDCALL
59 BaseUpdateAppcompatCache(ULONG Unknown1, ULONG Unknown2, ULONG Unknown3)
60 {
61 STUB;
62 }
63
64 /*
65 * @unimplemented
66 */
67 BOOL
68 STDCALL
69 CmdBatNotification (
70 DWORD Unknown
71 )
72 {
73 STUB;
74 return FALSE;
75 }
76
77
78 /*
79 * @unimplemented
80 */
81 int
82 STDCALL
83 CompareStringA (
84 LCID Locale,
85 DWORD dwCmpFlags,
86 LPCSTR lpString1,
87 int cchCount1,
88 LPCSTR lpString2,
89 int cchCount2
90 )
91 {
92 STUB;
93 return 0;
94 }
95
96
97 /*
98 * @unimplemented
99 */
100 int
101 STDCALL
102 CompareStringW (
103 LCID Locale,
104 DWORD dwCmpFlags,
105 LPCWSTR lpString1,
106 int cchCount1,
107 LPCWSTR lpString2,
108 int cchCount2
109 )
110 {
111 INT Result;
112 UNICODE_STRING String1, String2;
113
114 if (!lpString1 || !lpString2)
115 {
116 SetLastError(ERROR_INVALID_PARAMETER);
117 return 0;
118 }
119
120 if (dwCmpFlags & ~(NORM_IGNORECASE | NORM_IGNORENONSPACE |
121 NORM_IGNORESYMBOLS | SORT_STRINGSORT | NORM_IGNOREKANATYPE |
122 NORM_IGNOREWIDTH | 0x10000000))
123 {
124 SetLastError(ERROR_INVALID_FLAGS);
125 return 0;
126 }
127
128 if (dwCmpFlags & ~NORM_IGNORECASE)
129 {
130 DPRINT1("CompareString: STUB flags - 0x%x\n",
131 dwCmpFlags & ~NORM_IGNORECASE);
132 }
133
134 if (cchCount1 < 0) cchCount1 = lstrlenW(lpString1);
135 if (cchCount2 < 0) cchCount2 = lstrlenW(lpString2);
136
137 String1.Length = String1.MaximumLength = cchCount1 * sizeof(WCHAR);
138 String1.Buffer = (LPWSTR)lpString1;
139 String2.Length = String2.MaximumLength = cchCount2 * sizeof(WCHAR);
140 String2.Buffer = (LPWSTR)lpString2;
141
142 Result = RtlCompareUnicodeString(
143 &String1, &String2, dwCmpFlags & NORM_IGNORECASE);
144
145 if (Result) /* need to translate result */
146 return (Result < 0) ? CSTR_LESS_THAN : CSTR_GREATER_THAN;
147
148 return CSTR_EQUAL;
149 }
150
151
152 /*
153 * @unimplemented
154 */
155 DWORD
156 STDCALL
157 CreateVirtualBuffer (
158 DWORD Unknown0,
159 DWORD Unknown1,
160 DWORD Unknown2
161 )
162 {
163 STUB;
164 return 0;
165 }
166
167
168 /*
169 * @unimplemented
170 */
171 DWORD
172 STDCALL
173 ExitVDM (
174 DWORD Unknown0,
175 DWORD Unknown1
176 )
177 {
178 STUB;
179 return 0;
180 }
181
182
183 /*
184 * @unimplemented
185 */
186 BOOL
187 STDCALL
188 ExtendVirtualBuffer (
189 DWORD Unknown0,
190 DWORD Unknown1
191 )
192 {
193 STUB;
194 return FALSE;
195 }
196
197
198 /*
199 * @unimplemented
200 */
201 int
202 STDCALL
203 FoldStringW (
204 DWORD dwMapFlags,
205 LPCWSTR lpSrcStr,
206 int cchSrc,
207 LPWSTR lpDestStr,
208 int cchDest
209 )
210 {
211 STUB;
212 return 0;
213 }
214
215
216 /*
217 * @unimplemented
218 */
219 int
220 STDCALL
221 FoldStringA (
222 DWORD dwMapFlags,
223 LPCSTR lpSrcStr,
224 int cchSrc,
225 LPSTR lpDestStr,
226 int cchDest
227 )
228 {
229 STUB;
230 return 0;
231 }
232
233
234 /*
235 * @unimplemented
236 */
237 BOOL
238 STDCALL
239 FreeVirtualBuffer (
240 HANDLE hVirtualBuffer
241 )
242 {
243 STUB;
244 return FALSE;
245 }
246
247
248 /*
249 * @unimplemented
250 */
251 DWORD
252 STDCALL
253 GetNextVDMCommand (
254 DWORD Unknown0
255 )
256 {
257 STUB;
258 return 0;
259 }
260
261
262 /*
263 * @unimplemented
264 */
265 BOOL
266 STDCALL
267 GetStringTypeExW (
268 LCID Locale,
269 DWORD dwInfoType,
270 LPCWSTR lpSrcStr,
271 int cchSrc,
272 LPWORD lpCharType
273 )
274 {
275 STUB;
276 return FALSE;
277 }
278
279
280 /*
281 * @unimplemented
282 */
283 BOOL
284 STDCALL
285 GetStringTypeExA (
286 LCID Locale,
287 DWORD dwInfoType,
288 LPCSTR lpSrcStr,
289 int cchSrc,
290 LPWORD lpCharType
291 )
292 {
293 STUB;
294 return FALSE;
295 }
296
297
298 /*
299 * @unimplemented
300 */
301 BOOL
302 STDCALL
303 GetStringTypeW (
304 DWORD dwInfoType,
305 LPCWSTR lpSrcStr,
306 int cchSrc,
307 LPWORD lpCharType
308 )
309 {
310 STUB;
311 return FALSE;
312 }
313
314
315 /*
316 * @unimplemented
317 */
318 BOOL
319 STDCALL
320 GetStringTypeA (
321 LCID Locale,
322 DWORD dwInfoType,
323 LPCSTR lpSrcStr,
324 int cchSrc,
325 LPWORD lpCharType
326 )
327 {
328 STUB;
329 return FALSE;
330 }
331
332
333 /*
334 * @unimplemented
335 */
336 BOOL
337 STDCALL
338 GetSystemPowerStatus (
339 LPSYSTEM_POWER_STATUS PowerStatus
340 )
341 {
342 STUB;
343 return 0;
344 }
345
346
347 /*
348 * @unimplemented
349 */
350 DWORD
351 STDCALL
352 GetVDMCurrentDirectories (
353 DWORD Unknown0,
354 DWORD Unknown1
355 )
356 {
357 STUB;
358 return 0;
359 }
360
361
362 /*
363 * @unimplemented
364 */
365 BOOL
366 STDCALL
367 RegisterConsoleVDM (
368 DWORD Unknown0,
369 DWORD Unknown1,
370 DWORD Unknown2,
371 DWORD Unknown3,
372 DWORD Unknown4,
373 DWORD Unknown5,
374 DWORD Unknown6,
375 DWORD Unknown7,
376 DWORD Unknown8,
377 DWORD Unknown9,
378 DWORD Unknown10
379 )
380 {
381 STUB;
382 return FALSE;
383 }
384
385
386 /*
387 * @unimplemented
388 */
389 BOOL
390 STDCALL
391 RegisterWowBaseHandlers (
392 DWORD Unknown0
393 )
394 {
395 STUB;
396 return FALSE;
397 }
398
399
400 /*
401 * @unimplemented
402 */
403 BOOL
404 STDCALL
405 RegisterWowExec (
406 DWORD Unknown0
407 )
408 {
409 STUB;
410 return FALSE;
411 }
412
413
414 /*
415 * @unimplemented
416 */
417 BOOL STDCALL
418 SetSystemPowerState (
419 BOOL fSuspend,
420 BOOL fForce
421 )
422 {
423 STUB;
424 return FALSE;
425 }
426
427
428 /*
429 * @unimplemented
430 */
431 BOOL
432 STDCALL
433 SetVDMCurrentDirectories (
434 DWORD Unknown0,
435 DWORD Unknown1
436 )
437 {
438 STUB;
439 return FALSE;
440 }
441
442
443 /*
444 * @unimplemented
445 */
446 DWORD
447 STDCALL
448 TrimVirtualBuffer (
449 DWORD Unknown0
450 )
451 {
452 STUB;
453 return 0;
454 }
455
456
457 /*
458 * @unimplemented
459 */
460 DWORD
461 STDCALL
462 VDMConsoleOperation (
463 DWORD Unknown0,
464 DWORD Unknown1
465 )
466 {
467 STUB;
468 return 0;
469 }
470
471
472 /*
473 * @unimplemented
474 */
475 DWORD
476 STDCALL
477 VDMOperationStarted (
478 DWORD Unknown0
479 )
480 {
481 STUB;
482 return 0;
483 }
484
485
486 /*
487 * @unimplemented
488 */
489 DWORD
490 STDCALL
491 VerLanguageNameA (
492 DWORD wLang,
493 LPSTR szLang,
494 DWORD nSize
495 )
496 {
497 STUB;
498 return 0;
499 }
500
501
502 /*
503 * @unimplemented
504 */
505 DWORD
506 STDCALL
507 VerLanguageNameW (
508 DWORD wLang,
509 LPWSTR szLang,
510 DWORD nSize
511 )
512 {
513 STUB;
514 return 0;
515 }
516
517
518 /*
519 * @unimplemented
520 */
521 DWORD
522 STDCALL
523 VirtualBufferExceptionHandler (
524 DWORD Unknown0,
525 DWORD Unknown1,
526 DWORD Unknown2
527 )
528 {
529 STUB;
530 return 0;
531 }
532
533 /*
534 * @unimplemented
535 */
536 BOOL
537 STDCALL
538 ActivateActCtx(
539 HANDLE hActCtx,
540 ULONG_PTR *lpCookie
541 )
542 {
543 STUB;
544 return 0;
545 }
546
547 /*
548 * @unimplemented
549 */
550 VOID
551 STDCALL
552 AddRefActCtx(
553 HANDLE hActCtx
554 )
555 {
556 STUB;
557 }
558
559 /*
560 * @unimplemented
561 */
562 BOOL
563 STDCALL
564 AllocateUserPhysicalPages(
565 HANDLE hProcess,
566 PULONG_PTR NumberOfPages,
567 PULONG_PTR PageArray
568 )
569 {
570 STUB;
571 return 0;
572 }
573
574 /*
575 * @unimplemented
576 */
577 BOOL
578 STDCALL
579 BindIoCompletionCallback (
580 HANDLE FileHandle,
581 LPOVERLAPPED_COMPLETION_ROUTINE Function,
582 ULONG Flags
583 )
584 {
585 STUB;
586 return 0;
587 }
588
589 /*
590 * @unimplemented
591 */
592 BOOL
593 STDCALL
594 CancelDeviceWakeupRequest(
595 HANDLE hDevice
596 )
597 {
598 STUB;
599 return 0;
600 }
601
602
603 /*
604 * @unimplemented
605 */
606 HANDLE
607 STDCALL
608 CreateActCtxA(
609 PCACTCTXA pActCtx
610 )
611 {
612 STUB;
613 return 0;
614 }
615
616 /*
617 * @unimplemented
618 */
619 HANDLE
620 STDCALL
621 CreateActCtxW(
622 PCACTCTXW pActCtx
623 )
624 {
625 STUB;
626 return 0;
627 }
628
629 /*
630 * @unimplemented
631 */
632 BOOL
633 STDCALL
634 CreateJobSet (
635 ULONG NumJob,
636 PJOB_SET_ARRAY UserJobSet,
637 ULONG Flags)
638 {
639 STUB;
640 return 0;
641 }
642
643 /*
644 * @unimplemented
645 */
646 BOOL
647 STDCALL
648 DeactivateActCtx(
649 DWORD dwFlags,
650 ULONG_PTR ulCookie
651 )
652 {
653 STUB;
654 return 0;
655 }
656
657 /*
658 * @unimplemented
659 */
660 BOOL
661 STDCALL
662 FindActCtxSectionGuid(
663 DWORD dwFlags,
664 const GUID *lpExtensionGuid,
665 ULONG ulSectionId,
666 const GUID *lpGuidToFind,
667 PACTCTX_SECTION_KEYED_DATA ReturnedData
668 )
669 {
670 STUB;
671 return 0;
672 }
673
674 /*
675 * @unimplemented
676 */
677 BOOL
678 STDCALL
679 FindVolumeClose(
680 HANDLE hFindVolume
681 )
682 {
683 STUB;
684 return 0;
685 }
686
687 /*
688 * @unimplemented
689 */
690 BOOL
691 STDCALL
692 FindVolumeMountPointClose(
693 HANDLE hFindVolumeMountPoint
694 )
695 {
696 STUB;
697 return 0;
698 }
699
700 /*
701 * @unimplemented
702 */
703 BOOL
704 STDCALL
705 FreeUserPhysicalPages(
706 HANDLE hProcess,
707 PULONG_PTR NumberOfPages,
708 PULONG_PTR PageArray
709 )
710 {
711 STUB;
712 return 0;
713 }
714
715 /*
716 * @unimplemented
717 */
718 BOOL
719 STDCALL
720 GetCurrentActCtx(
721 HANDLE *lphActCtx)
722 {
723 STUB;
724 return 0;
725 }
726
727 /*
728 * @unimplemented
729 */
730 BOOL
731 STDCALL
732 GetDevicePowerState(
733 HANDLE hDevice,
734 BOOL *pfOn
735 )
736 {
737 STUB;
738 return 0;
739 }
740
741 /*
742 * @unimplemented
743 */
744 VOID
745 STDCALL
746 GetNativeSystemInfo(
747 LPSYSTEM_INFO lpSystemInfo
748 )
749 {
750 STUB;
751 }
752
753 /*
754 * @unimplemented
755 */
756 BOOL
757 STDCALL
758 GetNumaHighestNodeNumber(
759 PULONG HighestNodeNumber
760 )
761 {
762 STUB;
763 return 0;
764 }
765
766 /*
767 * @unimplemented
768 */
769 BOOL
770 STDCALL
771 GetNumaNodeProcessorMask(
772 UCHAR Node,
773 PULONGLONG ProcessorMask
774 )
775 {
776 STUB;
777 return 0;
778 }
779
780 /*
781 * @unimplemented
782 */
783 BOOL
784 STDCALL
785 GetNumaProcessorNode(
786 UCHAR Processor,
787 PUCHAR NodeNumber
788 )
789 {
790 STUB;
791 return 0;
792 }
793
794 /*
795 * @unimplemented
796 */
797 BOOL
798 STDCALL
799 GetThreadIOPendingFlag(
800 HANDLE hThread,
801 PBOOL lpIOIsPending
802 )
803 {
804 STUB;
805 return 0;
806 }
807
808 /*
809 * @unimplemented
810 */
811 UINT
812 STDCALL
813 GetWriteWatch(
814 DWORD dwFlags,
815 PVOID lpBaseAddress,
816 SIZE_T dwRegionSize,
817 PVOID *lpAddresses,
818 PULONG_PTR lpdwCount,
819 PULONG lpdwGranularity
820 )
821 {
822 STUB;
823 return 0;
824 }
825
826 /*
827 * @unimplemented
828 */
829 BOOL
830 STDCALL
831 HeapQueryInformation (
832 HANDLE HeapHandle,
833 HEAP_INFORMATION_CLASS HeapInformationClass,
834 PVOID HeapInformation OPTIONAL,
835 SIZE_T HeapInformationLength OPTIONAL,
836 PSIZE_T ReturnLength OPTIONAL
837 )
838 {
839 STUB;
840 return 0;
841 }
842
843 /*
844 * @unimplemented
845 */
846 BOOL
847 STDCALL
848 HeapSetInformation (
849 HANDLE HeapHandle,
850 HEAP_INFORMATION_CLASS HeapInformationClass,
851 PVOID HeapInformation OPTIONAL,
852 SIZE_T HeapInformationLength OPTIONAL
853 )
854 {
855 STUB;
856 return 0;
857 }
858
859 /*
860 * @unimplemented
861 */
862 BOOL
863 STDCALL
864 IsSystemResumeAutomatic(
865 VOID
866 )
867 {
868 STUB;
869 return 0;
870 }
871
872 /*
873 * @unimplemented
874 */
875 BOOL
876 STDCALL
877 IsWow64Process(
878 HANDLE hProcess,
879 PBOOL Wow64Process
880 )
881 {
882 STUB;
883 return 0;
884 }
885
886 /*
887 * @unimplemented
888 */
889 BOOL
890 STDCALL
891 MapUserPhysicalPages(
892 PVOID VirtualAddress,
893 ULONG_PTR NumberOfPages,
894 PULONG_PTR PageArray OPTIONAL
895 )
896 {
897 STUB;
898 return 0;
899 }
900
901 /*
902 * @unimplemented
903 */
904 BOOL
905 STDCALL
906 MapUserPhysicalPagesScatter(
907 PVOID *VirtualAddresses,
908 ULONG_PTR NumberOfPages,
909 PULONG_PTR PageArray OPTIONAL
910 )
911 {
912 STUB;
913 return 0;
914 }
915
916 /*
917 * @unimplemented
918 */
919 BOOL
920 STDCALL
921 QueryActCtxW(
922 DWORD dwFlags,
923 HANDLE hActCtx,
924 PVOID pvSubInstance,
925 ULONG ulInfoClass,
926 PVOID pvBuffer,
927 SIZE_T cbBuffer OPTIONAL,
928 SIZE_T *pcbWrittenOrRequired OPTIONAL
929 )
930 {
931 STUB;
932 return 0;
933 }
934
935 /*
936 * @unimplemented
937 */
938 DWORD
939 STDCALL
940 QueueUserAPC(
941 PAPCFUNC pfnAPC,
942 HANDLE hThread,
943 ULONG_PTR dwData
944 )
945 {
946 STUB;
947 return 0;
948 }
949
950 /*
951 * @unimplemented
952 */
953 BOOL
954 STDCALL
955 QueueUserWorkItem(
956 LPTHREAD_START_ROUTINE Function,
957 PVOID Context,
958 ULONG Flags
959 )
960 {
961 STUB;
962 return 0;
963 }
964
965 /*
966 * @unimplemented
967 */
968 BOOL
969 STDCALL
970 ReadDirectoryChangesW(
971 HANDLE hDirectory,
972 LPVOID lpBuffer,
973 DWORD nBufferLength,
974 BOOL bWatchSubtree,
975 DWORD dwNotifyFilter,
976 LPDWORD lpBytesReturned,
977 LPOVERLAPPED lpOverlapped,
978 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
979 )
980 {
981 STUB;
982 return 0;
983 }
984
985 /*
986 * @unimplemented
987 */
988 BOOL
989 STDCALL
990 ReadFileScatter(
991 HANDLE hFile,
992 FILE_SEGMENT_ELEMENT aSegmentArray[],
993 DWORD nNumberOfBytesToRead,
994 LPDWORD lpReserved,
995 LPOVERLAPPED lpOverlapped
996 )
997 {
998 STUB;
999 return 0;
1000 }
1001
1002 /*
1003 * @unimplemented
1004 */
1005 BOOL
1006 STDCALL
1007 RegisterWaitForSingleObject(
1008 PHANDLE phNewWaitObject,
1009 HANDLE hObject,
1010 WAITORTIMERCALLBACK Callback,
1011 PVOID Context,
1012 ULONG dwMilliseconds,
1013 ULONG dwFlags
1014 )
1015 {
1016 STUB;
1017 return 0;
1018 }
1019
1020 /*
1021 * @unimplemented
1022 */
1023 HANDLE
1024 STDCALL
1025 RegisterWaitForSingleObjectEx(
1026 HANDLE hObject,
1027 WAITORTIMERCALLBACK Callback,
1028 PVOID Context,
1029 ULONG dwMilliseconds,
1030 ULONG dwFlags
1031 )
1032 {
1033 STUB;
1034 return 0;
1035 }
1036
1037 /*
1038 * @unimplemented
1039 */
1040 VOID
1041 STDCALL
1042 ReleaseActCtx(
1043 HANDLE hActCtx
1044 )
1045 {
1046 STUB;
1047 }
1048
1049 /*
1050 * @unimplemented
1051 */
1052 ULONG
1053 STDCALL
1054 RemoveVectoredExceptionHandler(
1055 PVOID VectoredHandlerHandle
1056 )
1057 {
1058 STUB;
1059 return 0;
1060 }
1061
1062 /*
1063 * @unimplemented
1064 */
1065 BOOL
1066 STDCALL
1067 RequestDeviceWakeup(
1068 HANDLE hDevice
1069 )
1070 {
1071 STUB;
1072 return 0;
1073 }
1074
1075 /*
1076 * @unimplemented
1077 */
1078 BOOL
1079 STDCALL
1080 RequestWakeupLatency(
1081 LATENCY_TIME latency
1082 )
1083 {
1084 STUB;
1085 return 0;
1086 }
1087
1088 /*
1089 * @unimplemented
1090 */
1091 UINT
1092 STDCALL
1093 ResetWriteWatch(
1094 LPVOID lpBaseAddress,
1095 SIZE_T dwRegionSize
1096 )
1097 {
1098 STUB;
1099 return 0;
1100 }
1101
1102 /*
1103 * @unimplemented
1104 */
1105 VOID
1106 STDCALL
1107 RestoreLastError(
1108 DWORD dwErrCode
1109 )
1110 {
1111 STUB;
1112 }
1113
1114 /*
1115 * @unimplemented
1116 */
1117 BOOL
1118 STDCALL
1119 SetMessageWaitingIndicator(
1120 HANDLE hMsgIndicator,
1121 ULONG ulMsgCount
1122 )
1123 {
1124 STUB;
1125 return 0;
1126 }
1127
1128 /*
1129 * @unimplemented
1130 */
1131 EXECUTION_STATE
1132 STDCALL
1133 SetThreadExecutionState(
1134 EXECUTION_STATE esFlags
1135 )
1136 {
1137 STUB;
1138 return 0;
1139 }
1140
1141 /*
1142 * @unimplemented
1143 */
1144 BOOL
1145 STDCALL
1146 TzSpecificLocalTimeToSystemTime(
1147 LPTIME_ZONE_INFORMATION lpTimeZoneInformation,
1148 LPSYSTEMTIME lpLocalTime,
1149 LPSYSTEMTIME lpUniversalTime
1150 )
1151 {
1152 STUB;
1153 return 0;
1154 }
1155
1156 /*
1157 * @unimplemented
1158 */
1159 BOOL
1160 STDCALL
1161 UnregisterWait(
1162 HANDLE WaitHandle
1163 )
1164 {
1165 STUB;
1166 return 0;
1167 }
1168
1169 /*
1170 * @unimplemented
1171 */
1172 BOOL
1173 STDCALL
1174 UnregisterWaitEx(
1175 HANDLE WaitHandle,
1176 HANDLE CompletionEvent
1177 )
1178 {
1179 STUB;
1180 return 0;
1181 }
1182
1183 /*
1184 * @unimplemented
1185 */
1186 BOOL
1187 STDCALL
1188 WriteFileGather(
1189 HANDLE hFile,
1190 FILE_SEGMENT_ELEMENT aSegmentArray[],
1191 DWORD nNumberOfBytesToWrite,
1192 LPDWORD lpReserved,
1193 LPOVERLAPPED lpOverlapped
1194 )
1195 {
1196 STUB;
1197 return 0;
1198 }
1199
1200 /*
1201 * @unimplemented
1202 */
1203 DWORD
1204 STDCALL
1205 WTSGetActiveConsoleSessionId(VOID)
1206 {
1207 STUB;
1208 return 0;
1209 }
1210
1211 /*
1212 * @unimplemented
1213 */
1214 BOOL
1215 STDCALL
1216 ZombifyActCtx(
1217 HANDLE hActCtx
1218 )
1219 {
1220 STUB;
1221 return 0;
1222 }
1223
1224 /*
1225 * @unimplemented
1226 */
1227 BOOL
1228 STDCALL
1229 DeleteVolumeMountPointW(
1230 LPCWSTR lpszVolumeMountPoint
1231 )
1232 {
1233 STUB;
1234 return 0;
1235 }
1236
1237 /*
1238 * @unimplemented
1239 */
1240 BOOL
1241 STDCALL
1242 DnsHostnameToComputerNameW (
1243 LPCWSTR Hostname,
1244 LPWSTR ComputerName,
1245 LPDWORD nSize
1246 )
1247 {
1248 STUB;
1249 return 0;
1250 }
1251
1252 /*
1253 * @unimplemented
1254 */
1255 BOOL
1256 STDCALL
1257 FindActCtxSectionStringW(
1258 DWORD dwFlags,
1259 const GUID *lpExtensionGuid,
1260 ULONG ulSectionId,
1261 LPCWSTR lpStringToFind,
1262 PACTCTX_SECTION_KEYED_DATA ReturnedData
1263 )
1264 {
1265 STUB;
1266 return 0;
1267 }
1268
1269 /*
1270 * @unimplemented
1271 */
1272 HANDLE
1273 STDCALL
1274 FindFirstVolumeW(
1275 LPCWSTR lpszVolumeName,
1276 DWORD cchBufferLength
1277 )
1278 {
1279 STUB;
1280 return 0;
1281 }
1282
1283 /*
1284 * @unimplemented
1285 */
1286 HANDLE
1287 STDCALL
1288 FindFirstVolumeMountPointW(
1289 LPWSTR lpszRootPathName,
1290 LPWSTR lpszVolumeMountPoint,
1291 DWORD cchBufferLength
1292 )
1293 {
1294 STUB;
1295 return 0;
1296 }
1297
1298 /*
1299 * @unimplemented
1300 */
1301 BOOL
1302 STDCALL
1303 FindNextVolumeW(
1304 HANDLE hFindVolume,
1305 LPWSTR lpszVolumeName,
1306 DWORD cchBufferLength
1307 )
1308 {
1309 STUB;
1310 return 0;
1311 }
1312
1313 /*
1314 * @unimplemented
1315 */
1316 BOOL
1317 STDCALL
1318 FindNextVolumeMountPointW(
1319 HANDLE hFindVolumeMountPoint,
1320 LPWSTR lpszVolumeMountPoint,
1321 DWORD cchBufferLength
1322 )
1323 {
1324 STUB;
1325 return 0;
1326 }
1327
1328 /*
1329 * @unimplemented
1330 */
1331 DWORD
1332 STDCALL
1333 GetDllDirectoryW(
1334 DWORD nBufferLength,
1335 LPWSTR lpBuffer
1336 )
1337 {
1338 STUB;
1339 return 0;
1340 }
1341
1342 /*
1343 * @unimplemented
1344 */
1345 DWORD
1346 STDCALL
1347 GetFirmwareEnvironmentVariableW(
1348 LPCWSTR lpName,
1349 LPCWSTR lpGuid,
1350 PVOID pBuffer,
1351 DWORD nSize
1352 )
1353 {
1354 STUB;
1355 return 0;
1356 }
1357
1358 /*
1359 * @unimplemented
1360 */
1361 DWORD
1362 STDCALL
1363 GetLongPathNameW(
1364 LPCWSTR lpszShortPath,
1365 LPWSTR lpszLongPath,
1366 DWORD cchBuffer
1367 )
1368 {
1369 STUB;
1370 return 0;
1371 }
1372
1373 /*
1374 * @unimplemented
1375 */
1376 BOOL
1377 STDCALL
1378 GetModuleHandleExW(
1379 DWORD dwFlags,
1380 LPCWSTR lpModuleName,
1381 HMODULE* phModule
1382 )
1383 {
1384 STUB;
1385 return 0;
1386 }
1387
1388 /*
1389 * @unimplemented
1390 */
1391 UINT
1392 STDCALL
1393 GetSystemWow64DirectoryW(
1394 LPWSTR lpBuffer,
1395 UINT uSize
1396 )
1397 {
1398 STUB;
1399 return 0;
1400 }
1401
1402 /*
1403 * @unimplemented
1404 */
1405 BOOL
1406 STDCALL
1407 GetVolumeNameForVolumeMountPointW(
1408 LPCWSTR lpszVolumeMountPoint,
1409 LPWSTR lpszVolumeName,
1410 DWORD cchBufferLength
1411 )
1412 {
1413 STUB;
1414 return 0;
1415 }
1416
1417 /*
1418 * @unimplemented
1419 */
1420 BOOL
1421 STDCALL
1422 GetVolumePathNameW(
1423 LPCWSTR lpszFileName,
1424 LPWSTR lpszVolumePathName,
1425 DWORD cchBufferLength
1426 )
1427 {
1428 STUB;
1429 return 0;
1430 }
1431
1432 /*
1433 * @unimplemented
1434 */
1435 BOOL
1436 STDCALL
1437 GetVolumePathNamesForVolumeNameW(
1438 LPCWSTR lpszVolumeName,
1439 LPWSTR lpszVolumePathNames,
1440 DWORD cchBufferLength,
1441 PDWORD lpcchReturnLength
1442 )
1443 {
1444 STUB;
1445 return 0;
1446 }
1447
1448 /*
1449 * @unimplemented
1450 */
1451 BOOL
1452 STDCALL
1453 ReplaceFileW(
1454 LPCWSTR lpReplacedFileName,
1455 LPCWSTR lpReplacementFileName,
1456 LPCWSTR lpBackupFileName,
1457 DWORD dwReplaceFlags,
1458 LPVOID lpExclude,
1459 LPVOID lpReserved
1460 )
1461 {
1462 STUB;
1463 return 0;
1464 }
1465
1466 /*
1467 * @unimplemented
1468 */
1469 BOOL
1470 STDCALL
1471 SetComputerNameExW (
1472 COMPUTER_NAME_FORMAT NameType,
1473 LPCWSTR lpBuffer
1474 )
1475 {
1476 STUB;
1477 return 0;
1478 }
1479
1480 /*
1481 * @unimplemented
1482 */
1483 BOOL
1484 STDCALL
1485 SetDllDirectoryW(
1486 LPCWSTR lpPathName
1487 )
1488 {
1489 STUB;
1490 return 0;
1491 }
1492
1493 /*
1494 * @unimplemented
1495 */
1496 BOOL
1497 STDCALL
1498 SetFirmwareEnvironmentVariableW(
1499 LPCWSTR lpName,
1500 LPCWSTR lpGuid,
1501 PVOID pValue,
1502 DWORD nSize
1503 )
1504 {
1505 STUB;
1506 return 0;
1507 }
1508
1509 /*
1510 * @unimplemented
1511 */
1512 BOOL
1513 STDCALL
1514 SetVolumeMountPointW(
1515 LPCWSTR lpszVolumeMountPoint,
1516 LPCWSTR lpszVolumeName
1517 )
1518 {
1519 STUB;
1520 return 0;
1521 }
1522
1523 /*
1524 * @unimplemented
1525 */
1526 BOOL
1527 STDCALL
1528 VerifyVersionInfoW(
1529 LPOSVERSIONINFOEXW lpVersionInformation,
1530 DWORD dwTypeMask,
1531 DWORDLONG dwlConditionMask
1532 )
1533 {
1534 STUB;
1535 return 0;
1536 }
1537
1538 /*
1539 * @unimplemented
1540 */
1541 BOOL
1542 STDCALL
1543 DeleteVolumeMountPointA(
1544 LPCSTR lpszVolumeMountPoint
1545 )
1546 {
1547 STUB;
1548 return 0;
1549 }
1550
1551 /*
1552 * @unimplemented
1553 */
1554 BOOL
1555 STDCALL
1556 DnsHostnameToComputerNameA (
1557 LPCSTR Hostname,
1558 LPSTR ComputerName,
1559 LPDWORD nSize
1560 )
1561 {
1562 STUB;
1563 return 0;
1564 }
1565
1566 /*
1567 * @unimplemented
1568 */
1569 BOOL
1570 STDCALL
1571 FindActCtxSectionStringA(
1572 DWORD dwFlags,
1573 const GUID *lpExtensionGuid,
1574 ULONG ulSectionId,
1575 LPCSTR lpStringToFind,
1576 PACTCTX_SECTION_KEYED_DATA ReturnedData
1577 )
1578 {
1579 STUB;
1580 return 0;
1581 }
1582
1583 /*
1584 * @unimplemented
1585 */
1586 HANDLE
1587 STDCALL
1588 FindFirstVolumeA(
1589 LPCSTR lpszVolumeName,
1590 DWORD cchBufferLength
1591 )
1592 {
1593 STUB;
1594 return 0;
1595 }
1596
1597 /*
1598 * @unimplemented
1599 */
1600 HANDLE
1601 STDCALL
1602 FindFirstVolumeMountPointA(
1603 LPSTR lpszRootPathName,
1604 LPSTR lpszVolumeMountPoint,
1605 DWORD cchBufferLength
1606 )
1607 {
1608 STUB;
1609 return 0;
1610 }
1611
1612 /*
1613 * @unimplemented
1614 */
1615 BOOL
1616 STDCALL
1617 FindNextVolumeA(
1618 HANDLE hFindVolume,
1619 LPCSTR lpszVolumeName,
1620 DWORD cchBufferLength
1621 )
1622 {
1623 STUB;
1624 return 0;
1625 }
1626
1627 /*
1628 * @unimplemented
1629 */
1630 BOOL
1631 STDCALL
1632 FindNextVolumeMountPointA(
1633 HANDLE hFindVolumeMountPoint,
1634 LPSTR lpszVolumeMountPoint,
1635 DWORD cchBufferLength
1636 )
1637 {
1638 STUB;
1639 return 0;
1640 }
1641
1642 /*
1643 * @unimplemented
1644 */
1645 DWORD
1646 STDCALL
1647 GetDllDirectoryA(
1648 DWORD nBufferLength,
1649 LPSTR lpBuffer
1650 )
1651 {
1652 STUB;
1653 return 0;
1654 }
1655
1656 /*
1657 * @unimplemented
1658 */
1659 DWORD
1660 STDCALL
1661 GetFirmwareEnvironmentVariableA(
1662 LPCSTR lpName,
1663 LPCSTR lpGuid,
1664 PVOID pBuffer,
1665 DWORD nSize
1666 )
1667 {
1668 STUB;
1669 return 0;
1670 }
1671
1672 /*
1673 * @unimplemented
1674 */
1675 DWORD
1676 STDCALL
1677 GetLongPathNameA(
1678 LPCSTR lpszShortPath,
1679 LPSTR lpszLongPath,
1680 DWORD cchBuffer
1681 )
1682 {
1683 STUB;
1684 return 0;
1685 }
1686
1687 /*
1688 * @unimplemented
1689 */
1690 BOOL
1691 STDCALL
1692 GetModuleHandleExA(
1693 DWORD dwFlags,
1694 LPCSTR lpModuleName,
1695 HMODULE* phModule
1696 )
1697 {
1698 STUB;
1699 return 0;
1700 }
1701
1702 /*
1703 * @unimplemented
1704 */
1705 UINT
1706 STDCALL
1707 GetSystemWow64DirectoryA(
1708 LPSTR lpBuffer,
1709 UINT uSize
1710 )
1711 {
1712 STUB;
1713 return 0;
1714 }
1715
1716 /*
1717 * @unimplemented
1718 */
1719 BOOL
1720 STDCALL
1721 GetVolumeNameForVolumeMountPointA(
1722 LPCSTR lpszVolumeMountPoint,
1723 LPSTR lpszVolumeName,
1724 DWORD cchBufferLength
1725 )
1726 {
1727 STUB;
1728 return 0;
1729 }
1730
1731 /*
1732 * @unimplemented
1733 */
1734 BOOL
1735 STDCALL
1736 GetVolumePathNameA(
1737 LPCSTR lpszFileName,
1738 LPSTR lpszVolumePathName,
1739 DWORD cchBufferLength
1740 )
1741 {
1742 STUB;
1743 return 0;
1744 }
1745
1746 /*
1747 * @unimplemented
1748 */
1749 BOOL
1750 STDCALL
1751 GetVolumePathNamesForVolumeNameA(
1752 LPCSTR lpszVolumeName,
1753 LPSTR lpszVolumePathNames,
1754 DWORD cchBufferLength,
1755 PDWORD lpcchReturnLength
1756 )
1757 {
1758 STUB;
1759 return 0;
1760 }
1761
1762 /*
1763 * @unimplemented
1764 */
1765 BOOL
1766 STDCALL
1767 ReplaceFileA(
1768 LPCSTR lpReplacedFileName,
1769 LPCSTR lpReplacementFileName,
1770 LPCSTR lpBackupFileName,
1771 DWORD dwReplaceFlags,
1772 LPVOID lpExclude,
1773 LPVOID lpReserved
1774 )
1775 {
1776 STUB;
1777 return 0;
1778 }
1779
1780 /*
1781 * @unimplemented
1782 */
1783 BOOL
1784 STDCALL
1785 SetComputerNameExA (
1786 COMPUTER_NAME_FORMAT NameType,
1787 LPCSTR lpBuffer
1788 )
1789 {
1790 STUB;
1791 return 0;
1792 }
1793
1794 /*
1795 * @unimplemented
1796 */
1797 BOOL
1798 STDCALL
1799 SetDllDirectoryA(
1800 LPCSTR lpPathName
1801 )
1802 {
1803 STUB;
1804 return 0;
1805 }
1806
1807 /*
1808 * @unimplemented
1809 */
1810 BOOL
1811 STDCALL
1812 SetFirmwareEnvironmentVariableA(
1813 LPCSTR lpName,
1814 LPCSTR lpGuid,
1815 PVOID pValue,
1816 DWORD nSize
1817 )
1818 {
1819 STUB;
1820 return 0;
1821 }
1822
1823 /*
1824 * @unimplemented
1825 */
1826 BOOL
1827 STDCALL
1828 SetVolumeMountPointA(
1829 LPCSTR lpszVolumeMountPoint,
1830 LPCSTR lpszVolumeName
1831 )
1832 {
1833 STUB;
1834 return 0;
1835 }
1836
1837 /*
1838 * @unimplemented
1839 */
1840 BOOL
1841 STDCALL
1842 VerifyVersionInfoA(
1843 LPOSVERSIONINFOEXA lpVersionInformation,
1844 DWORD dwTypeMask,
1845 DWORDLONG dwlConditionMask
1846 )
1847 {
1848 STUB;
1849 return 0;
1850 }
1851
1852 /*
1853 * @unimplemented
1854 */
1855 BOOL
1856 STDCALL
1857 EnumSystemLanguageGroupsW(
1858 LANGUAGEGROUP_ENUMPROCW lpLanguageGroupEnumProc,
1859 DWORD dwFlags,
1860 LONG_PTR lParam)
1861 {
1862 STUB;
1863 return 0;
1864 }
1865
1866 /*
1867 * @unimplemented
1868 */
1869 ULONGLONG
1870 STDCALL
1871 VerSetConditionMask(
1872 ULONGLONG ConditionMask,
1873 DWORD TypeMask,
1874 BYTE Condition
1875 )
1876 {
1877 STUB;
1878 return 0;
1879 }
1880
1881 /*
1882 * @unimplemented
1883 */
1884 BOOL STDCALL GetConsoleKeyboardLayoutNameA(LPSTR name)
1885 {
1886 STUB;
1887 return 0;
1888 }
1889
1890 /*
1891 * @unimplemented
1892 */
1893 BOOL STDCALL GetConsoleKeyboardLayoutNameW(LPWSTR name)
1894 {
1895 STUB;
1896 return 0;
1897 }
1898
1899 /*
1900 * @unimplemented
1901 */
1902 DWORD STDCALL GetHandleContext(HANDLE hnd)
1903 {
1904 STUB;
1905 return 0;
1906 }
1907
1908 /*
1909 * @unimplemented
1910 */
1911 HANDLE STDCALL CreateSocketHandle(VOID)
1912 {
1913 STUB;
1914 return 0;
1915 }
1916
1917 /*
1918 * @unimplemented
1919 */
1920 BOOL STDCALL SetHandleContext(HANDLE hnd,DWORD context)
1921 {
1922 STUB;
1923 return 0;
1924 }
1925
1926 /*
1927 * @unimplemented
1928 */
1929 BOOL STDCALL SetConsoleInputExeNameA(LPCSTR name)
1930 {
1931 STUB;
1932 return 0;
1933 }
1934
1935 /*
1936 * @unimplemented
1937 */
1938 BOOL STDCALL SetConsoleInputExeNameW(LPCWSTR name)
1939 {
1940 STUB;
1941 return 0;
1942 }
1943
1944 /*
1945 * @unimplemented
1946 */
1947 BOOL STDCALL UTRegister( HMODULE hModule, LPSTR lpsz16BITDLL,
1948 LPSTR lpszInitName, LPSTR lpszProcName,
1949 FARPROC *ppfn32Thunk, FARPROC pfnUT32CallBack,
1950 LPVOID lpBuff )
1951 {
1952 STUB;
1953 return 0;
1954 }
1955
1956 /*
1957 * @unimplemented
1958 */
1959 VOID STDCALL UTUnRegister( HMODULE hModule )
1960 {
1961 STUB;
1962 }
1963
1964 /*
1965 * @unimplemented
1966 */
1967 #if 0
1968 FARPROC STDCALL DelayLoadFailureHook(unsigned int dliNotify, PDelayLoadInfo pdli)
1969 #else
1970 FARPROC STDCALL DelayLoadFailureHook(unsigned int dliNotify, PVOID pdli)
1971 #endif
1972 {
1973 STUB;
1974 return 0;
1975 }
1976
1977 /*
1978 * @unimplemented
1979 */
1980 NTSTATUS STDCALL CreateNlsSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,ULONG Size,ULONG AccessMask)
1981 {
1982 STUB;
1983 return 0;
1984 }
1985
1986 /*
1987 * @unimplemented
1988 */
1989 BOOL STDCALL GetConsoleInputExeNameA(ULONG length,LPCSTR name)
1990 {
1991 STUB;
1992 return 0;
1993 }
1994
1995 /*
1996 * @unimplemented
1997 */
1998 BOOL STDCALL GetConsoleInputExeNameW(ULONG length,LPCWSTR name)
1999 {
2000 STUB;
2001 return 0;
2002 }
2003
2004 /*
2005 * @unimplemented
2006 */
2007 BOOL STDCALL IsValidUILanguage(LANGID langid)
2008 {
2009 STUB;
2010 return 0;
2011 }
2012
2013 /*
2014 * @unimplemented
2015 */
2016 VOID STDCALL NlsConvertIntegerToString(ULONG Value,ULONG Base,ULONG strsize, LPWSTR str, ULONG strsize2)
2017 {
2018 STUB;
2019 }
2020
2021 /*
2022 * @unimplemented
2023 */
2024 UINT STDCALL SetCPGlobal(UINT CodePage)
2025 {
2026 STUB;
2027 return 0;
2028 }
2029
2030 /*
2031 * @unimplemented
2032 */
2033 BOOL
2034 STDCALL
2035 SetClientTimeZoneInformation(
2036 CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation
2037 )
2038 {
2039 STUB;
2040 return 0;
2041 }