This repository has been archived by the owner on Jan 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
kernel32.go
8175 lines (7231 loc) · 277 KB
/
kernel32.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// This file was automatically generated by https://github.com/kbinani/win/blob/generator/internal/cmd/gen/gen.go
// go run internal/cmd/gen/gen.go
// +build windows
package win
import (
"syscall"
"unsafe"
)
var (
// Library
libkernel32 uintptr
// Functions
acquireSRWLockExclusive uintptr
acquireSRWLockShared uintptr
activateActCtx uintptr
addAtom uintptr
addConsoleAlias uintptr
addIntegrityLabelToBoundaryDescriptor uintptr
addRefActCtx uintptr
addSIDToBoundaryDescriptor uintptr
addSecureMemoryCacheCallback uintptr
allocConsole uintptr
applicationRecoveryFinished uintptr
applicationRecoveryInProgress uintptr
areFileApisANSI uintptr
assignProcessToJobObject uintptr
attachConsole uintptr
backupRead uintptr
backupSeek uintptr
backupWrite uintptr
beep uintptr
beginUpdateResource uintptr
callNamedPipe uintptr
cancelDeviceWakeupRequest uintptr
cancelIo uintptr
cancelIoEx uintptr
cancelSynchronousIo uintptr
cancelTimerQueueTimer uintptr
cancelWaitableTimer uintptr
changeTimerQueueTimer uintptr
checkNameLegalDOS8Dot3 uintptr
checkRemoteDebuggerPresent uintptr
clearCommBreak uintptr
closeHandle uintptr
closePrivateNamespace uintptr
compareFileTime uintptr
connectNamedPipe uintptr
continueDebugEvent uintptr
convertDefaultLocale uintptr
convertFiberToThread uintptr
convertThreadToFiber uintptr
convertThreadToFiberEx uintptr
copyFile uintptr
copyLZFile uintptr
createBoundaryDescriptor uintptr
createConsoleScreenBuffer uintptr
createDirectoryEx uintptr
createDirectoryTransacted uintptr
createDirectory uintptr
createEventEx uintptr
createEvent uintptr
createFileMappingNuma uintptr
createFileMapping uintptr
createFileTransacted uintptr
createFile uintptr
createHardLinkTransacted uintptr
createHardLink uintptr
createIoCompletionPort uintptr
createJobObject uintptr
createMailslot uintptr
createMutexEx uintptr
createMutex uintptr
createNamedPipe uintptr
createPipe uintptr
createPrivateNamespace uintptr
createProcess uintptr
createRemoteThread uintptr
createSemaphoreEx uintptr
createSemaphore uintptr
createSymbolicLinkTransacted uintptr
createSymbolicLink uintptr
createTapePartition uintptr
createThread uintptr
createTimerQueue uintptr
createToolhelp32Snapshot uintptr
createWaitableTimerEx uintptr
createWaitableTimer uintptr
deactivateActCtx uintptr
debugActiveProcess uintptr
debugActiveProcessStop uintptr
debugBreak uintptr
debugBreakProcess uintptr
debugSetProcessKillOnExit uintptr
decodePointer uintptr
decodeSystemPointer uintptr
defineDosDevice uintptr
deleteAtom uintptr
deleteBoundaryDescriptor uintptr
deleteFiber uintptr
deleteFileTransacted uintptr
deleteFile uintptr
deleteTimerQueue uintptr
deleteTimerQueueEx uintptr
deleteTimerQueueTimer uintptr
deleteVolumeMountPoint uintptr
deviceIoControl uintptr
disableThreadLibraryCalls uintptr
disableThreadProfiling uintptr
discardVirtualMemory uintptr
disconnectNamedPipe uintptr
dnsHostnameToComputerName uintptr
dosDateTimeToFileTime uintptr
duplicateHandle uintptr
encodePointer uintptr
encodeSystemPointer uintptr
endUpdateResource uintptr
enumResourceLanguagesEx uintptr
enumResourceLanguages uintptr
enumSystemFirmwareTables uintptr
eraseTape uintptr
escapeCommFunction uintptr
exitProcess uintptr
exitThread uintptr
expandEnvironmentStrings uintptr
fatalAppExit uintptr
fatalExit uintptr
fileTimeToDosDateTime uintptr
fileTimeToLocalFileTime uintptr
fileTimeToSystemTime uintptr
fillConsoleOutputAttribute uintptr
fillConsoleOutputCharacter uintptr
findAtom uintptr
findClose uintptr
findCloseChangeNotification uintptr
findFirstChangeNotification uintptr
findFirstFileNameTransactedW uintptr
findFirstFileNameW uintptr
findFirstVolumeMountPoint uintptr
findFirstVolume uintptr
findNLSString uintptr
findNextChangeNotification uintptr
findNextFileNameW uintptr
findNextStreamW uintptr
findNextVolumeMountPoint uintptr
findNextVolume uintptr
findResourceEx uintptr
findResource uintptr
findStringOrdinal uintptr
findVolumeClose uintptr
findVolumeMountPointClose uintptr
flsFree uintptr
flsGetValue uintptr
flsSetValue uintptr
flushConsoleInputBuffer uintptr
flushFileBuffers uintptr
flushInstructionCache uintptr
flushProcessWriteBuffers uintptr
flushViewOfFile uintptr
freeConsole uintptr
freeLibrary uintptr
freeLibraryAndExitThread uintptr
freeResource uintptr
generateConsoleCtrlEvent uintptr
getACP uintptr
getActiveProcessorCount uintptr
getActiveProcessorGroupCount uintptr
getApplicationRestartSettings uintptr
getAtomName uintptr
getBinaryType uintptr
getCPInfo uintptr
getCPInfoEx uintptr
getCalendarInfoEx uintptr
getCalendarInfo uintptr
getCommMask uintptr
getCommModemStatus uintptr
getCommandLine uintptr
getCompressedFileSizeTransacted uintptr
getCompressedFileSize uintptr
getComputerName uintptr
getConsoleAliasExesLength uintptr
getConsoleAliasExes uintptr
getConsoleAlias uintptr
getConsoleAliasesLength uintptr
getConsoleAliases uintptr
getConsoleCP uintptr
getConsoleDisplayMode uintptr
getConsoleFontSize uintptr
getConsoleMode uintptr
getConsoleOriginalTitle uintptr
getConsoleOutputCP uintptr
getConsoleProcessList uintptr
getConsoleScreenBufferInfo uintptr
getConsoleScreenBufferInfoEx uintptr
getConsoleTitle uintptr
getConsoleWindow uintptr
getCurrentActCtx uintptr
getCurrentDirectory uintptr
getCurrentProcess uintptr
getCurrentProcessId uintptr
getCurrentProcessorNumber uintptr
getCurrentThread uintptr
getCurrentThreadId uintptr
getDateFormatEx uintptr
getDateFormat uintptr
getDevicePowerState uintptr
getDiskFreeSpace uintptr
getDllDirectory uintptr
getDriveType uintptr
getDurationFormat uintptr
getDurationFormatEx uintptr
getEnvironmentVariable uintptr
getErrorMode uintptr
getExitCodeProcess uintptr
getExitCodeThread uintptr
getExpandedName uintptr
getFileAttributes uintptr
getFileBandwidthReservation uintptr
getFileSize uintptr
getFileTime uintptr
getFileType uintptr
getFinalPathNameByHandle uintptr
getFirmwareEnvironmentVariable uintptr
getFullPathNameTransacted uintptr
getFullPathName uintptr
getHandleInformation uintptr
getLargePageMinimum uintptr
getLargestConsoleWindowSize uintptr
getLastError uintptr
getLocalTime uintptr
getLocaleInfoEx uintptr
getLocaleInfo uintptr
getLogicalDriveStrings uintptr
getLogicalDrives uintptr
getLongPathNameTransacted uintptr
getLongPathName uintptr
getMailslotInfo uintptr
getMaximumProcessorCount uintptr
getMaximumProcessorGroupCount uintptr
getModuleFileName uintptr
getModuleHandleEx uintptr
getModuleHandle uintptr
getNamedPipeClientComputerName uintptr
getNamedPipeClientProcessId uintptr
getNamedPipeClientSessionId uintptr
getNamedPipeHandleState uintptr
getNamedPipeInfo uintptr
getNamedPipeServerProcessId uintptr
getNamedPipeServerSessionId uintptr
getNativeSystemInfo uintptr
getNumaHighestNodeNumber uintptr
getNumaNodeNumberFromHandle uintptr
getNumaProcessorNode uintptr
getNumaProximityNode uintptr
getNumaProximityNodeEx uintptr
getNumberOfConsoleInputEvents uintptr
getNumberOfConsoleMouseButtons uintptr
getOEMCP uintptr
getOverlappedResult uintptr
getPriorityClass uintptr
getPrivateProfileInt uintptr
getPrivateProfileSectionNames uintptr
getPrivateProfileSection uintptr
getPrivateProfileString uintptr
getPrivateProfileStruct uintptr
getProcAddress uintptr
getProcessAffinityMask uintptr
getProcessDEPPolicy uintptr
getProcessGroupAffinity uintptr
getProcessHandleCount uintptr
getProcessHeap uintptr
getProcessHeaps uintptr
getProcessId uintptr
getProcessIdOfThread uintptr
getProcessPriorityBoost uintptr
getProcessShutdownParameters uintptr
getProcessTimes uintptr
getProcessVersion uintptr
getProductInfo uintptr
getProfileInt uintptr
getProfileSection uintptr
getProfileString uintptr
getShortPathName uintptr
getStartupInfo uintptr
getStdHandle uintptr
getStringScripts uintptr
getSystemDefaultLCID uintptr
getSystemDefaultLangID uintptr
getSystemDefaultLocaleName uintptr
getSystemDefaultUILanguage uintptr
getSystemDirectory uintptr
getSystemFirmwareTable uintptr
getSystemInfo uintptr
getSystemRegistryQuota uintptr
getSystemTime uintptr
getSystemTimeAdjustment uintptr
getSystemTimeAsFileTime uintptr
getSystemTimePreciseAsFileTime uintptr
getSystemTimes uintptr
getSystemWindowsDirectory uintptr
getSystemWow64Directory uintptr
getTapeParameters uintptr
getTapePosition uintptr
getTapeStatus uintptr
getTempFileName uintptr
getTempPath uintptr
getThreadErrorMode uintptr
getThreadIOPendingFlag uintptr
getThreadId uintptr
getThreadLocale uintptr
getThreadPriority uintptr
getThreadPriorityBoost uintptr
getThreadTimes uintptr
getThreadUILanguage uintptr
getTickCount uintptr
getTickCount64 uintptr
getTimeFormatEx uintptr
getTimeFormat uintptr
getUserDefaultLCID uintptr
getUserDefaultLangID uintptr
getUserDefaultLocaleName uintptr
getUserDefaultUILanguage uintptr
getVersion uintptr
getVolumeInformationByHandleW uintptr
getVolumeInformation uintptr
getVolumeNameForVolumeMountPoint uintptr
getVolumePathName uintptr
getWindowsDirectory uintptr
getWriteWatch uintptr
globalAddAtom uintptr
globalAlloc uintptr
globalCompact uintptr
globalDeleteAtom uintptr
globalFindAtom uintptr
globalFix uintptr
globalFlags uintptr
globalFree uintptr
globalGetAtomName uintptr
globalHandle uintptr
globalLock uintptr
globalReAlloc uintptr
globalSize uintptr
globalUnWire uintptr
globalUnfix uintptr
globalUnlock uintptr
globalWire uintptr
heapAlloc uintptr
heapCompact uintptr
heapCreate uintptr
heapDestroy uintptr
heapFree uintptr
heapLock uintptr
heapReAlloc uintptr
heapSize uintptr
heapUnlock uintptr
heapValidate uintptr
idnToAscii uintptr
idnToNameprepUnicode uintptr
idnToUnicode uintptr
initAtomTable uintptr
initializeSRWLock uintptr
isBadCodePtr uintptr
isBadHugeReadPtr uintptr
isBadHugeWritePtr uintptr
isBadReadPtr uintptr
isBadStringPtr uintptr
isBadWritePtr uintptr
isDBCSLeadByte uintptr
isDBCSLeadByteEx uintptr
isDebuggerPresent uintptr
isProcessInJob uintptr
isProcessorFeaturePresent uintptr
isSystemResumeAutomatic uintptr
isThreadAFiber uintptr
isValidCodePage uintptr
isValidLocale uintptr
isValidLocaleName uintptr
isWow64Process uintptr
lCIDToLocaleName uintptr
lCMapString uintptr
lZClose uintptr
lZCopy uintptr
lZDone uintptr
lZInit uintptr
lZRead uintptr
lZSeek uintptr
lZStart uintptr
loadLibraryEx uintptr
loadLibrary uintptr
loadModule uintptr
loadPackagedLibrary uintptr
loadResource uintptr
localAlloc uintptr
localCompact uintptr
localFileTimeToFileTime uintptr
localFlags uintptr
localFree uintptr
localHandle uintptr
localLock uintptr
localReAlloc uintptr
localShrink uintptr
localSize uintptr
localUnlock uintptr
localeNameToLCID uintptr
lockFile uintptr
lockFileEx uintptr
lockResource uintptr
mapViewOfFile uintptr
mapViewOfFileEx uintptr
mapViewOfFileExNuma uintptr
moveFileEx uintptr
moveFile uintptr
mulDiv uintptr
needCurrentDirectoryForExePath uintptr
notifyUILanguageChange uintptr
openEvent uintptr
openFileMapping uintptr
openJobObject uintptr
openMutex uintptr
openPrivateNamespace uintptr
openProcess uintptr
openSemaphore uintptr
openThread uintptr
openWaitableTimer uintptr
outputDebugString uintptr
peekNamedPipe uintptr
postQueuedCompletionStatus uintptr
prepareTape uintptr
processIdToSessionId uintptr
pulseEvent uintptr
purgeComm uintptr
queryActCtxSettingsW uintptr
queryActCtxW uintptr
queryDosDevice uintptr
queryFullProcessImageName uintptr
queryIdleProcessorCycleTime uintptr
queryIdleProcessorCycleTimeEx uintptr
queryMemoryResourceNotification uintptr
queryPerformanceCounter uintptr
queryPerformanceFrequency uintptr
queryProcessAffinityUpdateMode uintptr
queryProcessCycleTime uintptr
queryThreadCycleTime uintptr
queueUserWorkItem uintptr
raiseException uintptr
reOpenFile uintptr
readConsoleOutputAttribute uintptr
readConsoleOutputCharacter uintptr
readConsole uintptr
readFile uintptr
readProcessMemory uintptr
reclaimVirtualMemory uintptr
registerApplicationRestart uintptr
releaseActCtx uintptr
releaseMutex uintptr
releaseSRWLockExclusive uintptr
releaseSRWLockShared uintptr
releaseSemaphore uintptr
removeDirectoryTransacted uintptr
removeDirectory uintptr
removeSecureMemoryCacheCallback uintptr
removeVectoredContinueHandler uintptr
removeVectoredExceptionHandler uintptr
replaceFile uintptr
replacePartitionUnit uintptr
requestDeviceWakeup uintptr
resetEvent uintptr
resetWriteWatch uintptr
resolveLocaleName uintptr
restoreLastError uintptr
resumeThread uintptr
searchPath uintptr
setCalendarInfo uintptr
setCommBreak uintptr
setCommMask uintptr
setComputerName uintptr
setConsoleActiveScreenBuffer uintptr
setConsoleCP uintptr
setConsoleCursorPosition uintptr
setConsoleMode uintptr
setConsoleOutputCP uintptr
setConsoleScreenBufferInfoEx uintptr
setConsoleScreenBufferSize uintptr
setConsoleTextAttribute uintptr
setConsoleTitle uintptr
setConsoleWindowInfo uintptr
setCurrentDirectory uintptr
setDllDirectory uintptr
setEndOfFile uintptr
setEnvironmentVariable uintptr
setErrorMode uintptr
setEvent uintptr
setFileApisToANSI uintptr
setFileApisToOEM uintptr
setFileAttributesTransacted uintptr
setFileAttributes uintptr
setFileBandwidthReservation uintptr
setFileCompletionNotificationModes uintptr
setFileIoOverlappedRange uintptr
setFilePointer uintptr
setFileShortName uintptr
setFileTime uintptr
setFileValidData uintptr
setFirmwareEnvironmentVariable uintptr
setHandleCount uintptr
setHandleInformation uintptr
setLastError uintptr
setLocalTime uintptr
setLocaleInfo uintptr
setMailslotInfo uintptr
setMessageWaitingIndicator uintptr
setNamedPipeHandleState uintptr
setPriorityClass uintptr
setProcessAffinityMask uintptr
setProcessAffinityUpdateMode uintptr
setProcessDEPPolicy uintptr
setProcessPreferredUILanguages uintptr
setProcessPriorityBoost uintptr
setProcessShutdownParameters uintptr
setProcessWorkingSetSize uintptr
setProcessWorkingSetSizeEx uintptr
setSearchPathMode uintptr
setStdHandle uintptr
setStdHandleEx uintptr
setSystemFileCacheSize uintptr
setSystemPowerState uintptr
setSystemTime uintptr
setSystemTimeAdjustment uintptr
setTapeParameters uintptr
setTapePosition uintptr
setThreadAffinityMask uintptr
setThreadErrorMode uintptr
setThreadIdealProcessor uintptr
setThreadLocale uintptr
setThreadPreferredUILanguages uintptr
setThreadPriority uintptr
setThreadPriorityBoost uintptr
setThreadStackGuarantee uintptr
setThreadUILanguage uintptr
setUserGeoID uintptr
setVolumeLabel uintptr
setVolumeMountPoint uintptr
setupComm uintptr
signalObjectAndWait uintptr
sizeofResource uintptr
sleep uintptr
sleepEx uintptr
suspendThread uintptr
switchToFiber uintptr
switchToThread uintptr
systemTimeToFileTime uintptr
terminateJobObject uintptr
terminateProcess uintptr
terminateThread uintptr
tlsAlloc uintptr
tlsFree uintptr
tlsGetValue uintptr
tlsSetValue uintptr
toolhelp32ReadProcessMemory uintptr
transactNamedPipe uintptr
transmitCommChar uintptr
tryAcquireSRWLockExclusive uintptr
tryAcquireSRWLockShared uintptr
unlockFile uintptr
unlockFileEx uintptr
unmapViewOfFile uintptr
unregisterApplicationRecoveryCallback uintptr
unregisterApplicationRestart uintptr
unregisterWait uintptr
unregisterWaitEx uintptr
updateResource uintptr
verLanguageName uintptr
verifyScripts uintptr
virtualAlloc uintptr
virtualAllocEx uintptr
virtualAllocExNuma uintptr
virtualFree uintptr
virtualFreeEx uintptr
virtualLock uintptr
virtualProtect uintptr
virtualProtectEx uintptr
virtualUnlock uintptr
wTSGetActiveConsoleSessionId uintptr
waitCommEvent uintptr
waitForMultipleObjects uintptr
waitForMultipleObjectsEx uintptr
waitForSingleObject uintptr
waitForSingleObjectEx uintptr
waitNamedPipe uintptr
werGetFlags uintptr
werRegisterMemoryBlock uintptr
werRegisterRuntimeExceptionModule uintptr
werSetFlags uintptr
werUnregisterFile uintptr
werUnregisterMemoryBlock uintptr
werUnregisterRuntimeExceptionModule uintptr
winExec uintptr
wow64DisableWow64FsRedirection uintptr
wow64EnableWow64FsRedirection uintptr
wow64RevertWow64FsRedirection uintptr
wow64SuspendThread uintptr
writeConsoleOutputAttribute uintptr
writeConsoleOutputCharacter uintptr
writeConsole uintptr
writeFile uintptr
writePrivateProfileSection uintptr
writePrivateProfileString uintptr
writePrivateProfileStruct uintptr
writeProcessMemory uintptr
writeProfileSection uintptr
writeProfileString uintptr
writeTapemark uintptr
zombifyActCtx uintptr
lstrcat uintptr
lstrcmp uintptr
lstrcmpi uintptr
lstrcpy uintptr
lstrcpyn uintptr
lstrlen uintptr
closeConsoleHandle uintptr
closeProfileUserMapping uintptr
cmdBatNotification uintptr
delayLoadFailureHook uintptr
duplicateConsoleHandle uintptr
expungeConsoleCommandHistory uintptr
getConsoleCommandHistoryLength uintptr
getConsoleCommandHistory uintptr
getConsoleInputExeName uintptr
getConsoleInputWaitHandle uintptr
getConsoleKeyboardLayoutName uintptr
getNumberOfConsoleFonts uintptr
k32EmptyWorkingSet uintptr
k32EnumDeviceDrivers uintptr
k32EnumPageFiles uintptr
k32EnumProcessModules uintptr
k32EnumProcessModulesEx uintptr
k32EnumProcesses uintptr
k32GetDeviceDriverBaseName uintptr
k32GetDeviceDriverFileName uintptr
k32GetMappedFileName uintptr
k32GetModuleBaseName uintptr
k32GetModuleFileNameEx uintptr
k32GetModuleInformation uintptr
k32GetProcessImageFileName uintptr
k32GetProcessMemoryInfo uintptr
k32GetWsChanges uintptr
k32InitializeProcessForWsWatch uintptr
k32QueryWorkingSet uintptr
k32QueryWorkingSetEx uintptr
openConsoleW uintptr
openProfileUserMapping uintptr
rtlCaptureStackBackTrace uintptr
rtlCompareMemory uintptr
rtlCopyMemory uintptr
rtlFillMemory uintptr
rtlMoveMemory uintptr
rtlPcToFileHeader uintptr
rtlZeroMemory uintptr
setCPGlobal uintptr
setConsoleFont uintptr
setConsoleIcon uintptr
setConsoleInputExeName uintptr
setConsoleKeyShortcuts uintptr
setTermsrvAppInstallMode uintptr
termsrvAppInstallMode uintptr
uTRegister uintptr
uTUnRegister uintptr
verSetConditionMask uintptr
verifyConsoleIoHandle uintptr
)
func init() {
// Library
libkernel32 = doLoadLibrary("kernel32.dll")
// Functions
acquireSRWLockExclusive = doGetProcAddress(libkernel32, "AcquireSRWLockExclusive")
acquireSRWLockShared = doGetProcAddress(libkernel32, "AcquireSRWLockShared")
activateActCtx = doGetProcAddress(libkernel32, "ActivateActCtx")
addAtom = doGetProcAddress(libkernel32, "AddAtomW")
addConsoleAlias = doGetProcAddress(libkernel32, "AddConsoleAliasW")
addIntegrityLabelToBoundaryDescriptor = doGetProcAddress(libkernel32, "AddIntegrityLabelToBoundaryDescriptor")
addRefActCtx = doGetProcAddress(libkernel32, "AddRefActCtx")
addSIDToBoundaryDescriptor = doGetProcAddress(libkernel32, "AddSIDToBoundaryDescriptor")
addSecureMemoryCacheCallback = doGetProcAddress(libkernel32, "AddSecureMemoryCacheCallback")
allocConsole = doGetProcAddress(libkernel32, "AllocConsole")
applicationRecoveryFinished = doGetProcAddress(libkernel32, "ApplicationRecoveryFinished")
applicationRecoveryInProgress = doGetProcAddress(libkernel32, "ApplicationRecoveryInProgress")
areFileApisANSI = doGetProcAddress(libkernel32, "AreFileApisANSI")
assignProcessToJobObject = doGetProcAddress(libkernel32, "AssignProcessToJobObject")
attachConsole = doGetProcAddress(libkernel32, "AttachConsole")
backupRead = doGetProcAddress(libkernel32, "BackupRead")
backupSeek = doGetProcAddress(libkernel32, "BackupSeek")
backupWrite = doGetProcAddress(libkernel32, "BackupWrite")
beep = doGetProcAddress(libkernel32, "Beep")
beginUpdateResource = doGetProcAddress(libkernel32, "BeginUpdateResourceW")
callNamedPipe = doGetProcAddress(libkernel32, "CallNamedPipeW")
cancelDeviceWakeupRequest = doGetProcAddress(libkernel32, "CancelDeviceWakeupRequest")
cancelIo = doGetProcAddress(libkernel32, "CancelIo")
cancelIoEx = doGetProcAddress(libkernel32, "CancelIoEx")
cancelSynchronousIo = doGetProcAddress(libkernel32, "CancelSynchronousIo")
cancelTimerQueueTimer = doGetProcAddress(libkernel32, "CancelTimerQueueTimer")
cancelWaitableTimer = doGetProcAddress(libkernel32, "CancelWaitableTimer")
changeTimerQueueTimer = doGetProcAddress(libkernel32, "ChangeTimerQueueTimer")
checkNameLegalDOS8Dot3 = doGetProcAddress(libkernel32, "CheckNameLegalDOS8Dot3W")
checkRemoteDebuggerPresent = doGetProcAddress(libkernel32, "CheckRemoteDebuggerPresent")
clearCommBreak = doGetProcAddress(libkernel32, "ClearCommBreak")
closeHandle = doGetProcAddress(libkernel32, "CloseHandle")
closePrivateNamespace = doGetProcAddress(libkernel32, "ClosePrivateNamespace")
compareFileTime = doGetProcAddress(libkernel32, "CompareFileTime")
connectNamedPipe = doGetProcAddress(libkernel32, "ConnectNamedPipe")
continueDebugEvent = doGetProcAddress(libkernel32, "ContinueDebugEvent")
convertDefaultLocale = doGetProcAddress(libkernel32, "ConvertDefaultLocale")
convertFiberToThread = doGetProcAddress(libkernel32, "ConvertFiberToThread")
convertThreadToFiber = doGetProcAddress(libkernel32, "ConvertThreadToFiber")
convertThreadToFiberEx = doGetProcAddress(libkernel32, "ConvertThreadToFiberEx")
copyFile = doGetProcAddress(libkernel32, "CopyFileW")
copyLZFile = doGetProcAddress(libkernel32, "CopyLZFile")
createBoundaryDescriptor = doGetProcAddress(libkernel32, "CreateBoundaryDescriptorW")
createConsoleScreenBuffer = doGetProcAddress(libkernel32, "CreateConsoleScreenBuffer")
createDirectoryEx = doGetProcAddress(libkernel32, "CreateDirectoryExW")
createDirectoryTransacted = doGetProcAddress(libkernel32, "CreateDirectoryTransactedW")
createDirectory = doGetProcAddress(libkernel32, "CreateDirectoryW")
createEventEx = doGetProcAddress(libkernel32, "CreateEventExW")
createEvent = doGetProcAddress(libkernel32, "CreateEventW")
createFileMappingNuma = doGetProcAddress(libkernel32, "CreateFileMappingNumaW")
createFileMapping = doGetProcAddress(libkernel32, "CreateFileMappingW")
createFileTransacted = doGetProcAddress(libkernel32, "CreateFileTransactedW")
createFile = doGetProcAddress(libkernel32, "CreateFileW")
createHardLinkTransacted = doGetProcAddress(libkernel32, "CreateHardLinkTransactedW")
createHardLink = doGetProcAddress(libkernel32, "CreateHardLinkW")
createIoCompletionPort = doGetProcAddress(libkernel32, "CreateIoCompletionPort")
createJobObject = doGetProcAddress(libkernel32, "CreateJobObjectW")
createMailslot = doGetProcAddress(libkernel32, "CreateMailslotW")
createMutexEx = doGetProcAddress(libkernel32, "CreateMutexExW")
createMutex = doGetProcAddress(libkernel32, "CreateMutexW")
createNamedPipe = doGetProcAddress(libkernel32, "CreateNamedPipeW")
createPipe = doGetProcAddress(libkernel32, "CreatePipe")
createPrivateNamespace = doGetProcAddress(libkernel32, "CreatePrivateNamespaceW")
createProcess = doGetProcAddress(libkernel32, "CreateProcessW")
createRemoteThread = doGetProcAddress(libkernel32, "CreateRemoteThread")
createSemaphoreEx = doGetProcAddress(libkernel32, "CreateSemaphoreExW")
createSemaphore = doGetProcAddress(libkernel32, "CreateSemaphoreW")
createSymbolicLinkTransacted = doGetProcAddress(libkernel32, "CreateSymbolicLinkTransactedW")
createSymbolicLink = doGetProcAddress(libkernel32, "CreateSymbolicLinkW")
createTapePartition = doGetProcAddress(libkernel32, "CreateTapePartition")
createThread = doGetProcAddress(libkernel32, "CreateThread")
createTimerQueue = doGetProcAddress(libkernel32, "CreateTimerQueue")
createToolhelp32Snapshot = doGetProcAddress(libkernel32, "CreateToolhelp32Snapshot")
createWaitableTimerEx = doGetProcAddress(libkernel32, "CreateWaitableTimerExW")
createWaitableTimer = doGetProcAddress(libkernel32, "CreateWaitableTimerW")
deactivateActCtx = doGetProcAddress(libkernel32, "DeactivateActCtx")
debugActiveProcess = doGetProcAddress(libkernel32, "DebugActiveProcess")
debugActiveProcessStop = doGetProcAddress(libkernel32, "DebugActiveProcessStop")
debugBreak = doGetProcAddress(libkernel32, "DebugBreak")
debugBreakProcess = doGetProcAddress(libkernel32, "DebugBreakProcess")
debugSetProcessKillOnExit = doGetProcAddress(libkernel32, "DebugSetProcessKillOnExit")
decodePointer = doGetProcAddress(libkernel32, "DecodePointer")
decodeSystemPointer = doGetProcAddress(libkernel32, "DecodeSystemPointer")
defineDosDevice = doGetProcAddress(libkernel32, "DefineDosDeviceW")
deleteAtom = doGetProcAddress(libkernel32, "DeleteAtom")
deleteBoundaryDescriptor = doGetProcAddress(libkernel32, "DeleteBoundaryDescriptor")
deleteFiber = doGetProcAddress(libkernel32, "DeleteFiber")
deleteFileTransacted = doGetProcAddress(libkernel32, "DeleteFileTransactedW")
deleteFile = doGetProcAddress(libkernel32, "DeleteFileW")
deleteTimerQueue = doGetProcAddress(libkernel32, "DeleteTimerQueue")
deleteTimerQueueEx = doGetProcAddress(libkernel32, "DeleteTimerQueueEx")
deleteTimerQueueTimer = doGetProcAddress(libkernel32, "DeleteTimerQueueTimer")
deleteVolumeMountPoint = doGetProcAddress(libkernel32, "DeleteVolumeMountPointW")
deviceIoControl = doGetProcAddress(libkernel32, "DeviceIoControl")
disableThreadLibraryCalls = doGetProcAddress(libkernel32, "DisableThreadLibraryCalls")
disableThreadProfiling = doGetProcAddress(libkernel32, "DisableThreadProfiling")
discardVirtualMemory = doGetProcAddress(libkernel32, "DiscardVirtualMemory")
disconnectNamedPipe = doGetProcAddress(libkernel32, "DisconnectNamedPipe")
dnsHostnameToComputerName = doGetProcAddress(libkernel32, "DnsHostnameToComputerNameW")
dosDateTimeToFileTime = doGetProcAddress(libkernel32, "DosDateTimeToFileTime")
duplicateHandle = doGetProcAddress(libkernel32, "DuplicateHandle")
encodePointer = doGetProcAddress(libkernel32, "EncodePointer")
encodeSystemPointer = doGetProcAddress(libkernel32, "EncodeSystemPointer")
endUpdateResource = doGetProcAddress(libkernel32, "EndUpdateResourceW")
enumResourceLanguagesEx = doGetProcAddress(libkernel32, "EnumResourceLanguagesExW")
enumResourceLanguages = doGetProcAddress(libkernel32, "EnumResourceLanguagesW")
enumSystemFirmwareTables = doGetProcAddress(libkernel32, "EnumSystemFirmwareTables")
eraseTape = doGetProcAddress(libkernel32, "EraseTape")
escapeCommFunction = doGetProcAddress(libkernel32, "EscapeCommFunction")
exitProcess = doGetProcAddress(libkernel32, "ExitProcess")
exitThread = doGetProcAddress(libkernel32, "ExitThread")
expandEnvironmentStrings = doGetProcAddress(libkernel32, "ExpandEnvironmentStringsW")
fatalAppExit = doGetProcAddress(libkernel32, "FatalAppExitW")
fatalExit = doGetProcAddress(libkernel32, "FatalExit")
fileTimeToDosDateTime = doGetProcAddress(libkernel32, "FileTimeToDosDateTime")
fileTimeToLocalFileTime = doGetProcAddress(libkernel32, "FileTimeToLocalFileTime")
fileTimeToSystemTime = doGetProcAddress(libkernel32, "FileTimeToSystemTime")
fillConsoleOutputAttribute = doGetProcAddress(libkernel32, "FillConsoleOutputAttribute")
fillConsoleOutputCharacter = doGetProcAddress(libkernel32, "FillConsoleOutputCharacterW")
findAtom = doGetProcAddress(libkernel32, "FindAtomW")
findClose = doGetProcAddress(libkernel32, "FindClose")
findCloseChangeNotification = doGetProcAddress(libkernel32, "FindCloseChangeNotification")
findFirstChangeNotification = doGetProcAddress(libkernel32, "FindFirstChangeNotificationW")
findFirstFileNameTransactedW = doGetProcAddress(libkernel32, "FindFirstFileNameTransactedW")
findFirstFileNameW = doGetProcAddress(libkernel32, "FindFirstFileNameW")
findFirstVolumeMountPoint = doGetProcAddress(libkernel32, "FindFirstVolumeMountPointW")
findFirstVolume = doGetProcAddress(libkernel32, "FindFirstVolumeW")
findNLSString = doGetProcAddress(libkernel32, "FindNLSString")
findNextChangeNotification = doGetProcAddress(libkernel32, "FindNextChangeNotification")
findNextFileNameW = doGetProcAddress(libkernel32, "FindNextFileNameW")
findNextStreamW = doGetProcAddress(libkernel32, "FindNextStreamW")
findNextVolumeMountPoint = doGetProcAddress(libkernel32, "FindNextVolumeMountPointW")
findNextVolume = doGetProcAddress(libkernel32, "FindNextVolumeW")
findResourceEx = doGetProcAddress(libkernel32, "FindResourceExW")
findResource = doGetProcAddress(libkernel32, "FindResourceW")
findStringOrdinal = doGetProcAddress(libkernel32, "FindStringOrdinal")
findVolumeClose = doGetProcAddress(libkernel32, "FindVolumeClose")
findVolumeMountPointClose = doGetProcAddress(libkernel32, "FindVolumeMountPointClose")
flsFree = doGetProcAddress(libkernel32, "FlsFree")
flsGetValue = doGetProcAddress(libkernel32, "FlsGetValue")
flsSetValue = doGetProcAddress(libkernel32, "FlsSetValue")
flushConsoleInputBuffer = doGetProcAddress(libkernel32, "FlushConsoleInputBuffer")
flushFileBuffers = doGetProcAddress(libkernel32, "FlushFileBuffers")
flushInstructionCache = doGetProcAddress(libkernel32, "FlushInstructionCache")
flushProcessWriteBuffers = doGetProcAddress(libkernel32, "FlushProcessWriteBuffers")
flushViewOfFile = doGetProcAddress(libkernel32, "FlushViewOfFile")
freeConsole = doGetProcAddress(libkernel32, "FreeConsole")
freeLibrary = doGetProcAddress(libkernel32, "FreeLibrary")
freeLibraryAndExitThread = doGetProcAddress(libkernel32, "FreeLibraryAndExitThread")
freeResource = doGetProcAddress(libkernel32, "FreeResource")
generateConsoleCtrlEvent = doGetProcAddress(libkernel32, "GenerateConsoleCtrlEvent")
getACP = doGetProcAddress(libkernel32, "GetACP")
getActiveProcessorCount = doGetProcAddress(libkernel32, "GetActiveProcessorCount")
getActiveProcessorGroupCount = doGetProcAddress(libkernel32, "GetActiveProcessorGroupCount")
getApplicationRestartSettings = doGetProcAddress(libkernel32, "GetApplicationRestartSettings")
getAtomName = doGetProcAddress(libkernel32, "GetAtomNameW")
getBinaryType = doGetProcAddress(libkernel32, "GetBinaryTypeW")
getCPInfo = doGetProcAddress(libkernel32, "GetCPInfo")
getCPInfoEx = doGetProcAddress(libkernel32, "GetCPInfoExW")
getCalendarInfoEx = doGetProcAddress(libkernel32, "GetCalendarInfoEx")
getCalendarInfo = doGetProcAddress(libkernel32, "GetCalendarInfoW")
getCommMask = doGetProcAddress(libkernel32, "GetCommMask")
getCommModemStatus = doGetProcAddress(libkernel32, "GetCommModemStatus")
getCommandLine = doGetProcAddress(libkernel32, "GetCommandLineW")
getCompressedFileSizeTransacted = doGetProcAddress(libkernel32, "GetCompressedFileSizeTransactedW")
getCompressedFileSize = doGetProcAddress(libkernel32, "GetCompressedFileSizeW")
getComputerName = doGetProcAddress(libkernel32, "GetComputerNameW")
getConsoleAliasExesLength = doGetProcAddress(libkernel32, "GetConsoleAliasExesLengthW")
getConsoleAliasExes = doGetProcAddress(libkernel32, "GetConsoleAliasExesW")
getConsoleAlias = doGetProcAddress(libkernel32, "GetConsoleAliasW")
getConsoleAliasesLength = doGetProcAddress(libkernel32, "GetConsoleAliasesLengthW")
getConsoleAliases = doGetProcAddress(libkernel32, "GetConsoleAliasesW")
getConsoleCP = doGetProcAddress(libkernel32, "GetConsoleCP")
getConsoleDisplayMode = doGetProcAddress(libkernel32, "GetConsoleDisplayMode")
getConsoleFontSize = doGetProcAddress(libkernel32, "GetConsoleFontSize")
getConsoleMode = doGetProcAddress(libkernel32, "GetConsoleMode")
getConsoleOriginalTitle = doGetProcAddress(libkernel32, "GetConsoleOriginalTitleW")
getConsoleOutputCP = doGetProcAddress(libkernel32, "GetConsoleOutputCP")
getConsoleProcessList = doGetProcAddress(libkernel32, "GetConsoleProcessList")
getConsoleScreenBufferInfo = doGetProcAddress(libkernel32, "GetConsoleScreenBufferInfo")
getConsoleScreenBufferInfoEx = doGetProcAddress(libkernel32, "GetConsoleScreenBufferInfoEx")
getConsoleTitle = doGetProcAddress(libkernel32, "GetConsoleTitleW")
getConsoleWindow = doGetProcAddress(libkernel32, "GetConsoleWindow")
getCurrentActCtx = doGetProcAddress(libkernel32, "GetCurrentActCtx")
getCurrentDirectory = doGetProcAddress(libkernel32, "GetCurrentDirectoryW")
getCurrentProcess = doGetProcAddress(libkernel32, "GetCurrentProcess")
getCurrentProcessId = doGetProcAddress(libkernel32, "GetCurrentProcessId")
getCurrentProcessorNumber = doGetProcAddress(libkernel32, "GetCurrentProcessorNumber")
getCurrentThread = doGetProcAddress(libkernel32, "GetCurrentThread")
getCurrentThreadId = doGetProcAddress(libkernel32, "GetCurrentThreadId")
getDateFormatEx = doGetProcAddress(libkernel32, "GetDateFormatEx")
getDateFormat = doGetProcAddress(libkernel32, "GetDateFormatW")
getDevicePowerState = doGetProcAddress(libkernel32, "GetDevicePowerState")
getDiskFreeSpace = doGetProcAddress(libkernel32, "GetDiskFreeSpaceW")
getDllDirectory = doGetProcAddress(libkernel32, "GetDllDirectoryW")
getDriveType = doGetProcAddress(libkernel32, "GetDriveTypeW")
getDurationFormat = doGetProcAddress(libkernel32, "GetDurationFormat")
getDurationFormatEx = doGetProcAddress(libkernel32, "GetDurationFormatEx")
getEnvironmentVariable = doGetProcAddress(libkernel32, "GetEnvironmentVariableW")
getErrorMode = doGetProcAddress(libkernel32, "GetErrorMode")
getExitCodeProcess = doGetProcAddress(libkernel32, "GetExitCodeProcess")
getExitCodeThread = doGetProcAddress(libkernel32, "GetExitCodeThread")
getExpandedName = doGetProcAddress(libkernel32, "GetExpandedNameW")
getFileAttributes = doGetProcAddress(libkernel32, "GetFileAttributesW")
getFileBandwidthReservation = doGetProcAddress(libkernel32, "GetFileBandwidthReservation")
getFileSize = doGetProcAddress(libkernel32, "GetFileSize")
getFileTime = doGetProcAddress(libkernel32, "GetFileTime")
getFileType = doGetProcAddress(libkernel32, "GetFileType")
getFinalPathNameByHandle = doGetProcAddress(libkernel32, "GetFinalPathNameByHandleW")
getFirmwareEnvironmentVariable = doGetProcAddress(libkernel32, "GetFirmwareEnvironmentVariableW")
getFullPathNameTransacted = doGetProcAddress(libkernel32, "GetFullPathNameTransactedW")
getFullPathName = doGetProcAddress(libkernel32, "GetFullPathNameW")
getHandleInformation = doGetProcAddress(libkernel32, "GetHandleInformation")
getLargePageMinimum = doGetProcAddress(libkernel32, "GetLargePageMinimum")
getLargestConsoleWindowSize = doGetProcAddress(libkernel32, "GetLargestConsoleWindowSize")
getLastError = doGetProcAddress(libkernel32, "GetLastError")
getLocalTime = doGetProcAddress(libkernel32, "GetLocalTime")
getLocaleInfoEx = doGetProcAddress(libkernel32, "GetLocaleInfoEx")
getLocaleInfo = doGetProcAddress(libkernel32, "GetLocaleInfoW")
getLogicalDriveStrings = doGetProcAddress(libkernel32, "GetLogicalDriveStringsW")
getLogicalDrives = doGetProcAddress(libkernel32, "GetLogicalDrives")
getLongPathNameTransacted = doGetProcAddress(libkernel32, "GetLongPathNameTransactedW")
getLongPathName = doGetProcAddress(libkernel32, "GetLongPathNameW")
getMailslotInfo = doGetProcAddress(libkernel32, "GetMailslotInfo")
getMaximumProcessorCount = doGetProcAddress(libkernel32, "GetMaximumProcessorCount")
getMaximumProcessorGroupCount = doGetProcAddress(libkernel32, "GetMaximumProcessorGroupCount")
getModuleFileName = doGetProcAddress(libkernel32, "GetModuleFileNameW")
getModuleHandleEx = doGetProcAddress(libkernel32, "GetModuleHandleExW")
getModuleHandle = doGetProcAddress(libkernel32, "GetModuleHandleW")
getNamedPipeClientComputerName = doGetProcAddress(libkernel32, "GetNamedPipeClientComputerNameW")
getNamedPipeClientProcessId = doGetProcAddress(libkernel32, "GetNamedPipeClientProcessId")
getNamedPipeClientSessionId = doGetProcAddress(libkernel32, "GetNamedPipeClientSessionId")
getNamedPipeHandleState = doGetProcAddress(libkernel32, "GetNamedPipeHandleStateW")
getNamedPipeInfo = doGetProcAddress(libkernel32, "GetNamedPipeInfo")
getNamedPipeServerProcessId = doGetProcAddress(libkernel32, "GetNamedPipeServerProcessId")
getNamedPipeServerSessionId = doGetProcAddress(libkernel32, "GetNamedPipeServerSessionId")
getNativeSystemInfo = doGetProcAddress(libkernel32, "GetNativeSystemInfo")
getNumaHighestNodeNumber = doGetProcAddress(libkernel32, "GetNumaHighestNodeNumber")
getNumaNodeNumberFromHandle = doGetProcAddress(libkernel32, "GetNumaNodeNumberFromHandle")
getNumaProcessorNode = doGetProcAddress(libkernel32, "GetNumaProcessorNode")
getNumaProximityNode = doGetProcAddress(libkernel32, "GetNumaProximityNode")
getNumaProximityNodeEx = doGetProcAddress(libkernel32, "GetNumaProximityNodeEx")
getNumberOfConsoleInputEvents = doGetProcAddress(libkernel32, "GetNumberOfConsoleInputEvents")
getNumberOfConsoleMouseButtons = doGetProcAddress(libkernel32, "GetNumberOfConsoleMouseButtons")
getOEMCP = doGetProcAddress(libkernel32, "GetOEMCP")
getOverlappedResult = doGetProcAddress(libkernel32, "GetOverlappedResult")
getPriorityClass = doGetProcAddress(libkernel32, "GetPriorityClass")
getPrivateProfileInt = doGetProcAddress(libkernel32, "GetPrivateProfileIntW")
getPrivateProfileSectionNames = doGetProcAddress(libkernel32, "GetPrivateProfileSectionNamesW")
getPrivateProfileSection = doGetProcAddress(libkernel32, "GetPrivateProfileSectionW")
getPrivateProfileString = doGetProcAddress(libkernel32, "GetPrivateProfileStringW")
getPrivateProfileStruct = doGetProcAddress(libkernel32, "GetPrivateProfileStructW")
getProcAddress = doGetProcAddress(libkernel32, "GetProcAddress")
getProcessAffinityMask = doGetProcAddress(libkernel32, "GetProcessAffinityMask")
getProcessDEPPolicy = doGetProcAddress(libkernel32, "GetProcessDEPPolicy")
getProcessGroupAffinity = doGetProcAddress(libkernel32, "GetProcessGroupAffinity")
getProcessHandleCount = doGetProcAddress(libkernel32, "GetProcessHandleCount")
getProcessHeap = doGetProcAddress(libkernel32, "GetProcessHeap")
getProcessHeaps = doGetProcAddress(libkernel32, "GetProcessHeaps")
getProcessId = doGetProcAddress(libkernel32, "GetProcessId")
getProcessIdOfThread = doGetProcAddress(libkernel32, "GetProcessIdOfThread")
getProcessPriorityBoost = doGetProcAddress(libkernel32, "GetProcessPriorityBoost")
getProcessShutdownParameters = doGetProcAddress(libkernel32, "GetProcessShutdownParameters")
getProcessTimes = doGetProcAddress(libkernel32, "GetProcessTimes")
getProcessVersion = doGetProcAddress(libkernel32, "GetProcessVersion")
getProductInfo = doGetProcAddress(libkernel32, "GetProductInfo")
getProfileInt = doGetProcAddress(libkernel32, "GetProfileIntW")
getProfileSection = doGetProcAddress(libkernel32, "GetProfileSectionW")
getProfileString = doGetProcAddress(libkernel32, "GetProfileStringW")
getShortPathName = doGetProcAddress(libkernel32, "GetShortPathNameW")
getStartupInfo = doGetProcAddress(libkernel32, "GetStartupInfoW")
getStdHandle = doGetProcAddress(libkernel32, "GetStdHandle")
getStringScripts = doGetProcAddress(libkernel32, "GetStringScripts")
getSystemDefaultLCID = doGetProcAddress(libkernel32, "GetSystemDefaultLCID")
getSystemDefaultLangID = doGetProcAddress(libkernel32, "GetSystemDefaultLangID")
getSystemDefaultLocaleName = doGetProcAddress(libkernel32, "GetSystemDefaultLocaleName")
getSystemDefaultUILanguage = doGetProcAddress(libkernel32, "GetSystemDefaultUILanguage")
getSystemDirectory = doGetProcAddress(libkernel32, "GetSystemDirectoryW")
getSystemFirmwareTable = doGetProcAddress(libkernel32, "GetSystemFirmwareTable")
getSystemInfo = doGetProcAddress(libkernel32, "GetSystemInfo")
getSystemRegistryQuota = doGetProcAddress(libkernel32, "GetSystemRegistryQuota")
getSystemTime = doGetProcAddress(libkernel32, "GetSystemTime")
getSystemTimeAdjustment = doGetProcAddress(libkernel32, "GetSystemTimeAdjustment")
getSystemTimeAsFileTime = doGetProcAddress(libkernel32, "GetSystemTimeAsFileTime")
getSystemTimePreciseAsFileTime = doGetProcAddress(libkernel32, "GetSystemTimePreciseAsFileTime")
getSystemTimes = doGetProcAddress(libkernel32, "GetSystemTimes")
getSystemWindowsDirectory = doGetProcAddress(libkernel32, "GetSystemWindowsDirectoryW")
getSystemWow64Directory = doGetProcAddress(libkernel32, "GetSystemWow64DirectoryW")
getTapeParameters = doGetProcAddress(libkernel32, "GetTapeParameters")
getTapePosition = doGetProcAddress(libkernel32, "GetTapePosition")
getTapeStatus = doGetProcAddress(libkernel32, "GetTapeStatus")
getTempFileName = doGetProcAddress(libkernel32, "GetTempFileNameW")
getTempPath = doGetProcAddress(libkernel32, "GetTempPathW")
getThreadErrorMode = doGetProcAddress(libkernel32, "GetThreadErrorMode")
getThreadIOPendingFlag = doGetProcAddress(libkernel32, "GetThreadIOPendingFlag")
getThreadId = doGetProcAddress(libkernel32, "GetThreadId")
getThreadLocale = doGetProcAddress(libkernel32, "GetThreadLocale")
getThreadPriority = doGetProcAddress(libkernel32, "GetThreadPriority")
getThreadPriorityBoost = doGetProcAddress(libkernel32, "GetThreadPriorityBoost")
getThreadTimes = doGetProcAddress(libkernel32, "GetThreadTimes")
getThreadUILanguage = doGetProcAddress(libkernel32, "GetThreadUILanguage")
getTickCount = doGetProcAddress(libkernel32, "GetTickCount")
getTickCount64 = doGetProcAddress(libkernel32, "GetTickCount64")
getTimeFormatEx = doGetProcAddress(libkernel32, "GetTimeFormatEx")
getTimeFormat = doGetProcAddress(libkernel32, "GetTimeFormatW")
getUserDefaultLCID = doGetProcAddress(libkernel32, "GetUserDefaultLCID")
getUserDefaultLangID = doGetProcAddress(libkernel32, "GetUserDefaultLangID")
getUserDefaultLocaleName = doGetProcAddress(libkernel32, "GetUserDefaultLocaleName")
getUserDefaultUILanguage = doGetProcAddress(libkernel32, "GetUserDefaultUILanguage")
getVersion = doGetProcAddress(libkernel32, "GetVersion")
getVolumeInformationByHandleW = doGetProcAddress(libkernel32, "GetVolumeInformationByHandleW")
getVolumeInformation = doGetProcAddress(libkernel32, "GetVolumeInformationW")
getVolumeNameForVolumeMountPoint = doGetProcAddress(libkernel32, "GetVolumeNameForVolumeMountPointW")
getVolumePathName = doGetProcAddress(libkernel32, "GetVolumePathNameW")
getWindowsDirectory = doGetProcAddress(libkernel32, "GetWindowsDirectoryW")
getWriteWatch = doGetProcAddress(libkernel32, "GetWriteWatch")
globalAddAtom = doGetProcAddress(libkernel32, "GlobalAddAtomW")
globalAlloc = doGetProcAddress(libkernel32, "GlobalAlloc")
globalCompact = doGetProcAddress(libkernel32, "GlobalCompact")
globalDeleteAtom = doGetProcAddress(libkernel32, "GlobalDeleteAtom")