CreateFile() fails with INVALID_HANDLE_VALUE, not NULL - this fixes GetLastError...
[reactos.git] / reactos / lib / kernel32 / misc / stubs.c
1 /*
2 * KERNEL32.DLL stubs (STUB functions)
3 * Remove from this file, if you implement them.
4 */
5
6 #include <k32.h>
7
8 #define NDEBUG
9 #include "../include/debug.h"
10
11
12 #define STUB \
13 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); \
14 DPRINT1("%s() is UNIMPLEMENTED!\n", __FUNCTION__)
15
16 /*
17 * @unimplemented
18 */
19 BOOL
20 STDCALL
21 BaseAttachCompleteThunk (VOID)
22 {
23 STUB;
24 return FALSE;
25 }
26
27 /*
28 * @unimplemented
29 */
30 VOID STDCALL
31 BaseDumpAppcompatCache(VOID)
32 {
33 STUB;
34 }
35
36 /*
37 * @unimplemented
38 */
39 VOID STDCALL
40 BaseFlushAppcompatCache(VOID)
41 {
42 STUB;
43 }
44
45 /*
46 * @unimplemented
47 */
48 VOID STDCALL
49 BaseCheckAppcompatCache(ULONG Unknown1, ULONG Unknown2, ULONG Unknown3, ULONG Unknown4)
50 {
51 STUB;
52 }
53
54 /*
55 * @unimplemented
56 */
57 VOID STDCALL
58 BaseUpdateAppcompatCache(ULONG Unknown1, ULONG Unknown2, ULONG Unknown3)
59 {
60 STUB;
61 }
62
63 /*
64 * @unimplemented
65 */
66 BOOL
67 STDCALL
68 CmdBatNotification (
69 DWORD Unknown
70 )
71 {
72 STUB;
73 return FALSE;
74 }
75
76
77 /*
78 * @unimplemented
79 */
80 DWORD
81 STDCALL
82 CreateVirtualBuffer (
83 DWORD Unknown0,
84 DWORD Unknown1,
85 DWORD Unknown2
86 )
87 {
88 STUB;
89 return 0;
90 }
91
92
93 /*
94 * @unimplemented
95 */
96 DWORD
97 STDCALL
98 ExitVDM (
99 DWORD Unknown0,
100 DWORD Unknown1
101 )
102 {
103 STUB;
104 return 0;
105 }
106
107
108 /*
109 * @unimplemented
110 */
111 BOOL
112 STDCALL
113 ExtendVirtualBuffer (
114 DWORD Unknown0,
115 DWORD Unknown1
116 )
117 {
118 STUB;
119 return FALSE;
120 }
121
122
123 /*
124 * @unimplemented
125 */
126 int
127 STDCALL
128 FoldStringW (
129 DWORD dwMapFlags,
130 LPCWSTR lpSrcStr,
131 int cchSrc,
132 LPWSTR lpDestStr,
133 int cchDest
134 )
135 {
136 STUB;
137 return 0;
138 }
139
140
141 /*
142 * @unimplemented
143 */
144 int
145 STDCALL
146 FoldStringA (
147 DWORD dwMapFlags,
148 LPCSTR lpSrcStr,
149 int cchSrc,
150 LPSTR lpDestStr,
151 int cchDest
152 )
153 {
154 STUB;
155 return 0;
156 }
157
158
159 /*
160 * @unimplemented
161 */
162 BOOL
163 STDCALL
164 FreeVirtualBuffer (
165 HANDLE hVirtualBuffer
166 )
167 {
168 STUB;
169 return FALSE;
170 }
171
172
173 /*
174 * @unimplemented
175 */
176 DWORD
177 STDCALL
178 GetNextVDMCommand (
179 DWORD Unknown0
180 )
181 {
182 STUB;
183 return 0;
184 }
185
186
187 /*
188 * @unimplemented
189 */
190 BOOL
191 STDCALL
192 GetSystemPowerStatus (
193 LPSYSTEM_POWER_STATUS PowerStatus
194 )
195 {
196 STUB;
197 PowerStatus->ACLineStatus = 1;
198 PowerStatus->BatteryFlag = 128;
199 PowerStatus->BatteryLifePercent = 255;
200 PowerStatus->Reserved1 = 0;
201 PowerStatus->BatteryLifeTime = -1;
202 PowerStatus->BatteryFullLifeTime = -1;
203 return TRUE;
204 }
205
206
207 /*
208 * @unimplemented
209 */
210 DWORD
211 STDCALL
212 GetVDMCurrentDirectories (
213 DWORD Unknown0,
214 DWORD Unknown1
215 )
216 {
217 STUB;
218 return 0;
219 }
220
221
222 /*
223 * @unimplemented
224 */
225 BOOL
226 STDCALL
227 RegisterConsoleVDM (
228 DWORD Unknown0,
229 DWORD Unknown1,
230 DWORD Unknown2,
231 DWORD Unknown3,
232 DWORD Unknown4,
233 DWORD Unknown5,
234 DWORD Unknown6,
235 DWORD Unknown7,
236 DWORD Unknown8,
237 DWORD Unknown9,
238 DWORD Unknown10
239 )
240 {
241 STUB;
242 return FALSE;
243 }
244
245
246 /*
247 * @unimplemented
248 */
249 BOOL
250 STDCALL
251 RegisterWowBaseHandlers (
252 DWORD Unknown0
253 )
254 {
255 STUB;
256 return FALSE;
257 }
258
259
260 /*
261 * @unimplemented
262 */
263 BOOL
264 STDCALL
265 RegisterWowExec (
266 DWORD Unknown0
267 )
268 {
269 STUB;
270 return FALSE;
271 }
272
273
274 /*
275 * @unimplemented
276 */
277 BOOL STDCALL
278 SetSystemPowerState (
279 BOOL fSuspend,
280 BOOL fForce
281 )
282 {
283 STUB;
284 return FALSE;
285 }
286
287
288 /*
289 * @unimplemented
290 */
291 BOOL
292 STDCALL
293 SetVDMCurrentDirectories (
294 DWORD Unknown0,
295 DWORD Unknown1
296 )
297 {
298 STUB;
299 return FALSE;
300 }
301
302
303 /*
304 * @unimplemented
305 */
306 DWORD
307 STDCALL
308 TrimVirtualBuffer (
309 DWORD Unknown0
310 )
311 {
312 STUB;
313 return 0;
314 }
315
316
317 /*
318 * @unimplemented
319 */
320 DWORD
321 STDCALL
322 VDMConsoleOperation (
323 DWORD Unknown0,
324 DWORD Unknown1
325 )
326 {
327 STUB;
328 return 0;
329 }
330
331
332 /*
333 * @unimplemented
334 */
335 DWORD
336 STDCALL
337 VDMOperationStarted (
338 DWORD Unknown0
339 )
340 {
341 STUB;
342 return 0;
343 }
344
345 /*
346 * @unimplemented
347 */
348 DWORD
349 STDCALL
350 VirtualBufferExceptionHandler (
351 DWORD Unknown0,
352 DWORD Unknown1,
353 DWORD Unknown2
354 )
355 {
356 STUB;
357 return 0;
358 }
359
360 /*
361 * @unimplemented
362 */
363 BOOL
364 STDCALL
365 ActivateActCtx(
366 HANDLE hActCtx,
367 ULONG_PTR *lpCookie
368 )
369 {
370 STUB;
371 return 0;
372 }
373
374 /*
375 * @unimplemented
376 */
377 VOID
378 STDCALL
379 AddRefActCtx(
380 HANDLE hActCtx
381 )
382 {
383 STUB;
384 }
385
386 /*
387 * @unimplemented
388 */
389 BOOL
390 STDCALL
391 AllocateUserPhysicalPages(
392 HANDLE hProcess,
393 PULONG_PTR NumberOfPages,
394 PULONG_PTR UserPfnArray
395 )
396 {
397 STUB;
398 return 0;
399 }
400
401 /*
402 * @unimplemented
403 */
404 BOOL
405 STDCALL
406 BindIoCompletionCallback (
407 HANDLE FileHandle,
408 LPOVERLAPPED_COMPLETION_ROUTINE Function,
409 ULONG Flags
410 )
411 {
412 STUB;
413 return 0;
414 }
415
416 /*
417 * @unimplemented
418 */
419 BOOL
420 STDCALL
421 CancelDeviceWakeupRequest(
422 HANDLE hDevice
423 )
424 {
425 STUB;
426 return 0;
427 }
428
429 /*
430 * @unimplemented
431 */
432 HANDLE
433 STDCALL
434 CreateActCtxW(
435 PCACTCTXW pActCtx
436 )
437 {
438 STUB;
439 return INVALID_HANDLE_VALUE;
440 }
441
442 /*
443 * @unimplemented
444 */
445 BOOL
446 STDCALL
447 CreateJobSet (
448 ULONG NumJob,
449 PJOB_SET_ARRAY UserJobSet,
450 ULONG Flags)
451 {
452 STUB;
453 return 0;
454 }
455
456 /*
457 * @unimplemented
458 */
459 BOOL
460 STDCALL
461 DeactivateActCtx(
462 DWORD dwFlags,
463 ULONG_PTR ulCookie
464 )
465 {
466 STUB;
467 return 0;
468 }
469
470 /*
471 * @unimplemented
472 */
473 BOOL
474 STDCALL
475 FindActCtxSectionGuid(
476 DWORD dwFlags,
477 const GUID *lpExtensionGuid,
478 ULONG ulSectionId,
479 const GUID *lpGuidToFind,
480 PACTCTX_SECTION_KEYED_DATA ReturnedData
481 )
482 {
483 STUB;
484 return 0;
485 }
486
487 /*
488 * @unimplemented
489 */
490 BOOL
491 STDCALL
492 FindVolumeClose(
493 HANDLE hFindVolume
494 )
495 {
496 STUB;
497 return 0;
498 }
499
500 /*
501 * @unimplemented
502 */
503 BOOL
504 STDCALL
505 FindVolumeMountPointClose(
506 HANDLE hFindVolumeMountPoint
507 )
508 {
509 STUB;
510 return 0;
511 }
512
513 /*
514 * @unimplemented
515 */
516 BOOL
517 STDCALL
518 FreeUserPhysicalPages(
519 HANDLE hProcess,
520 PULONG_PTR NumberOfPages,
521 PULONG_PTR PageArray
522 )
523 {
524 STUB;
525 return 0;
526 }
527
528 /*
529 * @unimplemented
530 */
531 BOOL
532 STDCALL
533 GetCurrentActCtx(
534 HANDLE *lphActCtx)
535 {
536 STUB;
537 return 0;
538 }
539
540 /*
541 * @unimplemented
542 */
543 BOOL
544 STDCALL
545 GetDevicePowerState(
546 HANDLE hDevice,
547 BOOL *pfOn
548 )
549 {
550 STUB;
551 return 0;
552 }
553
554
555 /*
556 * @unimplemented
557 */
558 BOOL
559 STDCALL
560 GetNumaHighestNodeNumber(
561 PULONG HighestNodeNumber
562 )
563 {
564 STUB;
565 return 0;
566 }
567
568 /*
569 * @unimplemented
570 */
571 BOOL
572 STDCALL
573 GetNumaNodeProcessorMask(
574 UCHAR Node,
575 PULONGLONG ProcessorMask
576 )
577 {
578 STUB;
579 return 0;
580 }
581
582 /*
583 * @unimplemented
584 */
585 BOOL
586 STDCALL
587 GetNumaProcessorNode(
588 UCHAR Processor,
589 PUCHAR NodeNumber
590 )
591 {
592 STUB;
593 return 0;
594 }
595
596 /*
597 * @unimplemented
598 */
599 UINT
600 STDCALL
601 GetWriteWatch(
602 DWORD dwFlags,
603 PVOID lpBaseAddress,
604 SIZE_T dwRegionSize,
605 PVOID *lpAddresses,
606 PULONG_PTR lpdwCount,
607 PULONG lpdwGranularity
608 )
609 {
610 STUB;
611 return 0;
612 }
613
614 /*
615 * @unimplemented
616 */
617 BOOL
618 STDCALL
619 HeapQueryInformation (
620 HANDLE HeapHandle,
621 HEAP_INFORMATION_CLASS HeapInformationClass,
622 PVOID HeapInformation OPTIONAL,
623 SIZE_T HeapInformationLength OPTIONAL,
624 PSIZE_T ReturnLength OPTIONAL
625 )
626 {
627 STUB;
628 return 0;
629 }
630
631 /*
632 * @unimplemented
633 */
634 BOOL
635 STDCALL
636 HeapSetInformation (
637 HANDLE HeapHandle,
638 HEAP_INFORMATION_CLASS HeapInformationClass,
639 PVOID HeapInformation OPTIONAL,
640 SIZE_T HeapInformationLength OPTIONAL
641 )
642 {
643 STUB;
644 return 0;
645 }
646
647 /*
648 * @unimplemented
649 */
650 BOOL
651 STDCALL
652 IsSystemResumeAutomatic(
653 VOID
654 )
655 {
656 STUB;
657 return 0;
658 }
659
660 /*
661 * @unimplemented
662 */
663 BOOL
664 STDCALL
665 IsWow64Process(
666 HANDLE hProcess,
667 PBOOL Wow64Process
668 )
669 {
670 STUB;
671 *Wow64Process = FALSE;
672 return TRUE;
673 }
674
675 /*
676 * @unimplemented
677 */
678 BOOL
679 STDCALL
680 MapUserPhysicalPages(
681 PVOID VirtualAddress,
682 ULONG_PTR NumberOfPages,
683 PULONG_PTR PageArray OPTIONAL
684 )
685 {
686 STUB;
687 return 0;
688 }
689
690 /*
691 * @unimplemented
692 */
693 BOOL
694 STDCALL
695 MapUserPhysicalPagesScatter(
696 PVOID *VirtualAddresses,
697 ULONG_PTR NumberOfPages,
698 PULONG_PTR PageArray OPTIONAL
699 )
700 {
701 STUB;
702 return 0;
703 }
704
705 /*
706 * @unimplemented
707 */
708 BOOL
709 STDCALL
710 QueryActCtxW(
711 DWORD dwFlags,
712 HANDLE hActCtx,
713 PVOID pvSubInstance,
714 ULONG ulInfoClass,
715 PVOID pvBuffer,
716 SIZE_T cbBuffer OPTIONAL,
717 SIZE_T *pcbWrittenOrRequired OPTIONAL
718 )
719 {
720 STUB;
721 return 0;
722 }
723
724 /*
725 * @unimplemented
726 */
727 BOOL
728 STDCALL
729 QueueUserWorkItem(
730 LPTHREAD_START_ROUTINE Function,
731 PVOID Context,
732 ULONG Flags
733 )
734 {
735 STUB;
736 return 0;
737 }
738
739
740
741
742 /*
743 * @unimplemented
744 */
745 BOOL
746 STDCALL
747 ReadFileScatter(
748 HANDLE hFile,
749 FILE_SEGMENT_ELEMENT aSegmentArray[],
750 DWORD nNumberOfBytesToRead,
751 LPDWORD lpReserved,
752 LPOVERLAPPED lpOverlapped
753 )
754 {
755 STUB;
756 return 0;
757 }
758
759 /*
760 * @unimplemented
761 */
762 BOOL
763 STDCALL
764 RegisterWaitForSingleObject(
765 PHANDLE phNewWaitObject,
766 HANDLE hObject,
767 WAITORTIMERCALLBACK Callback,
768 PVOID Context,
769 ULONG dwMilliseconds,
770 ULONG dwFlags
771 )
772 {
773 STUB;
774 return 0;
775 }
776
777 /*
778 * @unimplemented
779 */
780 HANDLE
781 STDCALL
782 RegisterWaitForSingleObjectEx(
783 HANDLE hObject,
784 WAITORTIMERCALLBACK Callback,
785 PVOID Context,
786 ULONG dwMilliseconds,
787 ULONG dwFlags
788 )
789 {
790 STUB;
791 return 0;
792 }
793
794 /*
795 * @unimplemented
796 */
797 VOID
798 STDCALL
799 ReleaseActCtx(
800 HANDLE hActCtx
801 )
802 {
803 STUB;
804 }
805
806 /*
807 * @unimplemented
808 */
809 ULONG
810 STDCALL
811 RemoveVectoredExceptionHandler(
812 PVOID VectoredHandlerHandle
813 )
814 {
815 STUB;
816 return 0;
817 }
818
819 /*
820 * @unimplemented
821 */
822 BOOL
823 STDCALL
824 RequestDeviceWakeup(
825 HANDLE hDevice
826 )
827 {
828 STUB;
829 return 0;
830 }
831
832 /*
833 * @unimplemented
834 */
835 BOOL
836 STDCALL
837 RequestWakeupLatency(
838 LATENCY_TIME latency
839 )
840 {
841 STUB;
842 return 0;
843 }
844
845 /*
846 * @unimplemented
847 */
848 UINT
849 STDCALL
850 ResetWriteWatch(
851 LPVOID lpBaseAddress,
852 SIZE_T dwRegionSize
853 )
854 {
855 STUB;
856 return 0;
857 }
858
859 /*
860 * @unimplemented
861 */
862 VOID
863 STDCALL
864 RestoreLastError(
865 DWORD dwErrCode
866 )
867 {
868 STUB;
869 }
870
871 /*
872 * @unimplemented
873 */
874 BOOL
875 STDCALL
876 SetMessageWaitingIndicator(
877 HANDLE hMsgIndicator,
878 ULONG ulMsgCount
879 )
880 {
881 STUB;
882 return 0;
883 }
884
885 /*
886 * @unimplemented
887 */
888 EXECUTION_STATE
889 STDCALL
890 SetThreadExecutionState(
891 EXECUTION_STATE esFlags
892 )
893 {
894 STUB;
895 return 0;
896 }
897
898 /*
899 * @unimplemented
900 */
901 BOOL
902 STDCALL
903 TzSpecificLocalTimeToSystemTime(
904 LPTIME_ZONE_INFORMATION lpTimeZoneInformation,
905 LPSYSTEMTIME lpLocalTime,
906 LPSYSTEMTIME lpUniversalTime
907 )
908 {
909 STUB;
910 return 0;
911 }
912
913 /*
914 * @unimplemented
915 */
916 BOOL
917 STDCALL
918 UnregisterWait(
919 HANDLE WaitHandle
920 )
921 {
922 STUB;
923 return 0;
924 }
925
926 /*
927 * @unimplemented
928 */
929 BOOL
930 STDCALL
931 UnregisterWaitEx(
932 HANDLE WaitHandle,
933 HANDLE CompletionEvent
934 )
935 {
936 STUB;
937 return 0;
938 }
939
940 /*
941 * @unimplemented
942 */
943 BOOL
944 STDCALL
945 WriteFileGather(
946 HANDLE hFile,
947 FILE_SEGMENT_ELEMENT aSegmentArray[],
948 DWORD nNumberOfBytesToWrite,
949 LPDWORD lpReserved,
950 LPOVERLAPPED lpOverlapped
951 )
952 {
953 STUB;
954 return 0;
955 }
956
957 /*
958 * @unimplemented
959 */
960 BOOL
961 STDCALL
962 ZombifyActCtx(
963 HANDLE hActCtx
964 )
965 {
966 STUB;
967 return 0;
968 }
969
970 /*
971 * @unimplemented
972 */
973 BOOL
974 STDCALL
975 DeleteVolumeMountPointW(
976 LPCWSTR lpszVolumeMountPoint
977 )
978 {
979 STUB;
980 return 0;
981 }
982
983 /*
984 * @unimplemented
985 */
986 BOOL
987 STDCALL
988 DnsHostnameToComputerNameW (
989 LPCWSTR Hostname,
990 LPWSTR ComputerName,
991 LPDWORD nSize
992 )
993 {
994 STUB;
995 return 0;
996 }
997
998 /*
999 * @unimplemented
1000 */
1001 BOOL
1002 STDCALL
1003 FindActCtxSectionStringW(
1004 DWORD dwFlags,
1005 const GUID *lpExtensionGuid,
1006 ULONG ulSectionId,
1007 LPCWSTR lpStringToFind,
1008 PACTCTX_SECTION_KEYED_DATA ReturnedData
1009 )
1010 {
1011 STUB;
1012 return FALSE;
1013 }
1014
1015 /*
1016 * @unimplemented
1017 */
1018 HANDLE
1019 STDCALL
1020 FindFirstVolumeW(
1021 LPCWSTR lpszVolumeName,
1022 DWORD cchBufferLength
1023 )
1024 {
1025 STUB;
1026 return 0;
1027 }
1028
1029 /*
1030 * @unimplemented
1031 */
1032 HANDLE
1033 STDCALL
1034 FindFirstVolumeMountPointW(
1035 LPWSTR lpszRootPathName,
1036 LPWSTR lpszVolumeMountPoint,
1037 DWORD cchBufferLength
1038 )
1039 {
1040 STUB;
1041 return 0;
1042 }
1043
1044 /*
1045 * @unimplemented
1046 */
1047 BOOL
1048 STDCALL
1049 FindNextVolumeW(
1050 HANDLE hFindVolume,
1051 LPWSTR lpszVolumeName,
1052 DWORD cchBufferLength
1053 )
1054 {
1055 STUB;
1056 return 0;
1057 }
1058
1059 /*
1060 * @unimplemented
1061 */
1062 BOOL
1063 STDCALL
1064 FindNextVolumeMountPointW(
1065 HANDLE hFindVolumeMountPoint,
1066 LPWSTR lpszVolumeMountPoint,
1067 DWORD cchBufferLength
1068 )
1069 {
1070 STUB;
1071 return 0;
1072 }
1073
1074 /*
1075 * @unimplemented
1076 */
1077 DWORD
1078 STDCALL
1079 GetFirmwareEnvironmentVariableW(
1080 LPCWSTR lpName,
1081 LPCWSTR lpGuid,
1082 PVOID pBuffer,
1083 DWORD nSize
1084 )
1085 {
1086 STUB;
1087 return 0;
1088 }
1089
1090
1091
1092 /*
1093 * @unimplemented
1094 */
1095 BOOL
1096 STDCALL
1097 GetModuleHandleExW(
1098 DWORD dwFlags,
1099 LPCWSTR lpModuleName,
1100 HMODULE* phModule
1101 )
1102 {
1103 STUB;
1104 return 0;
1105 }
1106
1107 /*
1108 * @unimplemented
1109 */
1110 BOOL
1111 STDCALL
1112 GetVolumeNameForVolumeMountPointW(
1113 LPCWSTR lpszVolumeMountPoint,
1114 LPWSTR lpszVolumeName,
1115 DWORD cchBufferLength
1116 )
1117 {
1118 STUB;
1119 return 0;
1120 }
1121
1122 /*
1123 * @unimplemented
1124 */
1125 BOOL
1126 STDCALL
1127 GetVolumePathNameW(
1128 LPCWSTR lpszFileName,
1129 LPWSTR lpszVolumePathName,
1130 DWORD cchBufferLength
1131 )
1132 {
1133 STUB;
1134 return 0;
1135 }
1136
1137 /*
1138 * @unimplemented
1139 */
1140 BOOL
1141 STDCALL
1142 GetVolumePathNamesForVolumeNameW(
1143 LPCWSTR lpszVolumeName,
1144 LPWSTR lpszVolumePathNames,
1145 DWORD cchBufferLength,
1146 PDWORD lpcchReturnLength
1147 )
1148 {
1149 STUB;
1150 return 0;
1151 }
1152
1153 /*
1154 * @unimplemented
1155 */
1156 BOOL
1157 STDCALL
1158 ReplaceFileW(
1159 LPCWSTR lpReplacedFileName,
1160 LPCWSTR lpReplacementFileName,
1161 LPCWSTR lpBackupFileName,
1162 DWORD dwReplaceFlags,
1163 LPVOID lpExclude,
1164 LPVOID lpReserved
1165 )
1166 {
1167 STUB;
1168 return 0;
1169 }
1170
1171 /*
1172 * @unimplemented
1173 */
1174 BOOL
1175 STDCALL
1176 SetFirmwareEnvironmentVariableW(
1177 LPCWSTR lpName,
1178 LPCWSTR lpGuid,
1179 PVOID pValue,
1180 DWORD nSize
1181 )
1182 {
1183 STUB;
1184 return 0;
1185 }
1186
1187 /*
1188 * @unimplemented
1189 */
1190 BOOL
1191 STDCALL
1192 SetVolumeMountPointW(
1193 LPCWSTR lpszVolumeMountPoint,
1194 LPCWSTR lpszVolumeName
1195 )
1196 {
1197 STUB;
1198 return 0;
1199 }
1200
1201 /*
1202 * @unimplemented
1203 */
1204 BOOL
1205 STDCALL
1206 DeleteVolumeMountPointA(
1207 LPCSTR lpszVolumeMountPoint
1208 )
1209 {
1210 STUB;
1211 return 0;
1212 }
1213
1214 /*
1215 * @unimplemented
1216 */
1217 BOOL
1218 STDCALL
1219 DnsHostnameToComputerNameA (
1220 LPCSTR Hostname,
1221 LPSTR ComputerName,
1222 LPDWORD nSize
1223 )
1224 {
1225 STUB;
1226 return 0;
1227 }
1228
1229 /*
1230 * @unimplemented
1231 */
1232 HANDLE
1233 STDCALL
1234 FindFirstVolumeA(
1235 LPCSTR lpszVolumeName,
1236 DWORD cchBufferLength
1237 )
1238 {
1239 STUB;
1240 return 0;
1241 }
1242
1243 /*
1244 * @unimplemented
1245 */
1246 HANDLE
1247 STDCALL
1248 FindFirstVolumeMountPointA(
1249 LPSTR lpszRootPathName,
1250 LPSTR lpszVolumeMountPoint,
1251 DWORD cchBufferLength
1252 )
1253 {
1254 STUB;
1255 return 0;
1256 }
1257
1258 /*
1259 * @unimplemented
1260 */
1261 BOOL
1262 STDCALL
1263 FindNextVolumeA(
1264 HANDLE hFindVolume,
1265 LPCSTR lpszVolumeName,
1266 DWORD cchBufferLength
1267 )
1268 {
1269 STUB;
1270 return 0;
1271 }
1272
1273 /*
1274 * @unimplemented
1275 */
1276 BOOL
1277 STDCALL
1278 FindNextVolumeMountPointA(
1279 HANDLE hFindVolumeMountPoint,
1280 LPSTR lpszVolumeMountPoint,
1281 DWORD cchBufferLength
1282 )
1283 {
1284 STUB;
1285 return 0;
1286 }
1287
1288 /*
1289 * @unimplemented
1290 */
1291 DWORD
1292 STDCALL
1293 GetFirmwareEnvironmentVariableA(
1294 LPCSTR lpName,
1295 LPCSTR lpGuid,
1296 PVOID pBuffer,
1297 DWORD nSize
1298 )
1299 {
1300 STUB;
1301 return 0;
1302 }
1303
1304
1305
1306 /*
1307 * @unimplemented
1308 */
1309 BOOL
1310 STDCALL
1311 GetModuleHandleExA(
1312 DWORD dwFlags,
1313 LPCSTR lpModuleName,
1314 HMODULE* phModule
1315 )
1316 {
1317 STUB;
1318 return 0;
1319 }
1320
1321 /*
1322 * @unimplemented
1323 */
1324 BOOL
1325 STDCALL
1326 GetVolumeNameForVolumeMountPointA(
1327 LPCSTR lpszVolumeMountPoint,
1328 LPSTR lpszVolumeName,
1329 DWORD cchBufferLength
1330 )
1331 {
1332 STUB;
1333 return 0;
1334 }
1335
1336 /*
1337 * @unimplemented
1338 */
1339 BOOL
1340 STDCALL
1341 GetVolumePathNameA(
1342 LPCSTR lpszFileName,
1343 LPSTR lpszVolumePathName,
1344 DWORD cchBufferLength
1345 )
1346 {
1347 STUB;
1348 return 0;
1349 }
1350
1351 /*
1352 * @unimplemented
1353 */
1354 BOOL
1355 STDCALL
1356 GetVolumePathNamesForVolumeNameA(
1357 LPCSTR lpszVolumeName,
1358 LPSTR lpszVolumePathNames,
1359 DWORD cchBufferLength,
1360 PDWORD lpcchReturnLength
1361 )
1362 {
1363 STUB;
1364 return 0;
1365 }
1366
1367 /*
1368 * @unimplemented
1369 */
1370 BOOL
1371 STDCALL
1372 ReplaceFileA(
1373 LPCSTR lpReplacedFileName,
1374 LPCSTR lpReplacementFileName,
1375 LPCSTR lpBackupFileName,
1376 DWORD dwReplaceFlags,
1377 LPVOID lpExclude,
1378 LPVOID lpReserved
1379 )
1380 {
1381 STUB;
1382 return 0;
1383 }
1384
1385 /*
1386 * @unimplemented
1387 */
1388 BOOL
1389 STDCALL
1390 SetFirmwareEnvironmentVariableA(
1391 LPCSTR lpName,
1392 LPCSTR lpGuid,
1393 PVOID pValue,
1394 DWORD nSize
1395 )
1396 {
1397 STUB;
1398 return 0;
1399 }
1400
1401 /*
1402 * @unimplemented
1403 */
1404 BOOL
1405 STDCALL
1406 SetVolumeMountPointA(
1407 LPCSTR lpszVolumeMountPoint,
1408 LPCSTR lpszVolumeName
1409 )
1410 {
1411 STUB;
1412 return 0;
1413 }
1414
1415 /*
1416 * @unimplemented
1417 */
1418 BOOL STDCALL GetConsoleKeyboardLayoutNameA(LPSTR name)
1419 {
1420 STUB;
1421 return 0;
1422 }
1423
1424 /*
1425 * @unimplemented
1426 */
1427 BOOL STDCALL GetConsoleKeyboardLayoutNameW(LPWSTR name)
1428 {
1429 STUB;
1430 return 0;
1431 }
1432
1433 /*
1434 * @unimplemented
1435 */
1436 DWORD STDCALL GetHandleContext(HANDLE hnd)
1437 {
1438 STUB;
1439 return 0;
1440 }
1441
1442 /*
1443 * @unimplemented
1444 */
1445 HANDLE STDCALL CreateSocketHandle(VOID)
1446 {
1447 STUB;
1448 return 0;
1449 }
1450
1451 /*
1452 * @unimplemented
1453 */
1454 BOOL STDCALL SetHandleContext(HANDLE hnd,DWORD context)
1455 {
1456 STUB;
1457 return 0;
1458 }
1459
1460 /*
1461 * @unimplemented
1462 */
1463 BOOL STDCALL UTRegister( HMODULE hModule, LPSTR lpsz16BITDLL,
1464 LPSTR lpszInitName, LPSTR lpszProcName,
1465 FARPROC *ppfn32Thunk, FARPROC pfnUT32CallBack,
1466 LPVOID lpBuff )
1467 {
1468 STUB;
1469 return 0;
1470 }
1471
1472 /*
1473 * @unimplemented
1474 */
1475 VOID STDCALL UTUnRegister( HMODULE hModule )
1476 {
1477 STUB;
1478 }
1479
1480 /*
1481 * @unimplemented
1482 */
1483 #if 0
1484 FARPROC STDCALL DelayLoadFailureHook(unsigned int dliNotify, PDelayLoadInfo pdli)
1485 #else
1486 FARPROC STDCALL DelayLoadFailureHook(unsigned int dliNotify, PVOID pdli)
1487 #endif
1488 {
1489 STUB;
1490 return 0;
1491 }
1492
1493 /*
1494 * @unimplemented
1495 */
1496 NTSTATUS STDCALL CreateNlsSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,ULONG Size,ULONG AccessMask)
1497 {
1498 STUB;
1499 return 0;
1500 }
1501
1502 /*
1503 * @unimplemented
1504 */
1505 BOOL STDCALL IsValidUILanguage(LANGID langid)
1506 {
1507 STUB;
1508 return 0;
1509 }
1510
1511 /*
1512 * @unimplemented
1513 */
1514 VOID STDCALL NlsConvertIntegerToString(ULONG Value,ULONG Base,ULONG strsize, LPWSTR str, ULONG strsize2)
1515 {
1516 STUB;
1517 }
1518
1519 /*
1520 * @unimplemented
1521 */
1522 UINT STDCALL SetCPGlobal(UINT CodePage)
1523 {
1524 STUB;
1525 return 0;
1526 }
1527
1528 /*
1529 * @unimplemented
1530 */
1531 BOOL
1532 STDCALL
1533 SetClientTimeZoneInformation(
1534 CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation
1535 )
1536 {
1537 STUB;
1538 return 0;
1539 }
1540
1541 ULONG
1542 WINAPI
1543 NlsGetCacheUpdateCount(VOID)
1544 {
1545 STUB;
1546 return 0;
1547 }
1548
1549 BOOL
1550 STDCALL
1551 Wow64DisableWow64FsRedirection (VOID ** pv)
1552 {
1553 STUB;
1554 return FALSE;
1555 }
1556
1557 BOOL
1558 STDCALL
1559 Wow64RevertWow64FsRedirection (VOID * pv)
1560 {
1561 STUB;
1562 return FALSE;
1563 }