Delete most undocumented New Technology APIs

This change removes LIBC_KERNELBASE which is legacy code from the
initial import which was generated off a script that resolved the
delegated references, on Windows 10. All the important stuff here
should have long since been filed under kernel32.dll for windows7

Many FooA functions that were never assigned an arity are removed
because we almost never use the ASCII versions of WIN32 functions
therefore it's not worth having them slowing down the build. Some
other functions that overlap uncomfortably with libc are gone too

If something you need was removed, file an issue we'll restore it
This commit is contained in:
Justine Tunney 2022-04-11 23:35:48 -07:00
parent 183b3ed6a2
commit a157940ba6
1379 changed files with 4304 additions and 8337 deletions

View file

@ -1,15 +0,0 @@
.include "o/libc/nt/codegen.inc"
.imp comdlg32,__imp_ChooseColorA,ChooseColorA,102
.text.windows
ChooseColorA:
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_ChooseColorA(%rip)
leave
ret
.endfn ChooseColorA,globl
.previous

View file

@ -1,15 +0,0 @@
.include "o/libc/nt/codegen.inc"
.imp comdlg32,__imp_ChooseFontA,ChooseFontA,104
.text.windows
ChooseFontA:
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_ChooseFontA(%rip)
leave
ret
.endfn ChooseFontA,globl
.previous

View file

@ -1,2 +0,0 @@
.include "o/libc/nt/codegen.inc"
.imp comdlg32,__imp_FindTextA,FindTextA,109

View file

@ -1,12 +0,0 @@
.include "o/libc/nt/codegen.inc"
.imp comdlg32,__imp_GetFileTitleA,GetFileTitleA,111
.text.windows
GetFileTitleA:
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_GetFileTitleA(%rip),%rax
jmp __sysv2nt
.endfn GetFileTitleA,globl
.previous

View file

@ -1,15 +0,0 @@
.include "o/libc/nt/codegen.inc"
.imp comdlg32,__imp_GetOpenFileNameA,GetOpenFileNameA,113
.text.windows
GetOpenFileNameA:
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_GetOpenFileNameA(%rip)
leave
ret
.endfn GetOpenFileNameA,globl
.previous

View file

@ -1,15 +0,0 @@
.include "o/libc/nt/codegen.inc"
.imp comdlg32,__imp_GetSaveFileNameA,GetSaveFileNameA,115
.text.windows
GetSaveFileNameA:
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_GetSaveFileNameA(%rip)
leave
ret
.endfn GetSaveFileNameA,globl
.previous

View file

@ -1,2 +0,0 @@
.include "o/libc/nt/codegen.inc"
.imp comdlg32,__imp_PageSetupDlgA,PageSetupDlgA,118

View file

@ -1,15 +0,0 @@
.include "o/libc/nt/codegen.inc"
.imp comdlg32,__imp_PrintDlgA,PrintDlgA,120
.text.windows
PrintDlgA:
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_PrintDlgA(%rip)
leave
ret
.endfn PrintDlgA,globl
.previous

View file

@ -1,2 +0,0 @@
.include "o/libc/nt/codegen.inc"
.imp comdlg32,__imp_PrintDlgExA,PrintDlgExA,121

View file

@ -1,15 +0,0 @@
.include "o/libc/nt/codegen.inc"
.imp comdlg32,__imp_ReplaceTextA,ReplaceTextA,124
.text.windows
ReplaceTextA:
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_ReplaceTextA(%rip)
leave
ret
.endfn ReplaceTextA,globl
.previous

View file

@ -1,2 +0,0 @@
.include "o/libc/nt/codegen.inc"
.imp comdlg32,__imp_dwLBSubclass,dwLBSubclass,128

View file

@ -1,2 +0,0 @@
.include "o/libc/nt/codegen.inc"
.imp comdlg32,__imp_dwOKSubclass,dwOKSubclass,129