Initial import
This commit is contained in:
16
libc/nt/typedef/exceptionhandler.h
Normal file
16
libc/nt/typedef/exceptionhandler.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef COSMOPOLITAN_LIBC_NT_TYPEDEF_EXCEPTIONHANDLER_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_TYPEDEF_EXCEPTIONHANDLER_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
struct NtExceptionFrame;
|
||||
struct NtExceptionRecord;
|
||||
struct NtContext;
|
||||
|
||||
typedef unsigned (*NtExceptionHandler)(struct NtExceptionRecord *,
|
||||
struct NtExceptionFrame *,
|
||||
struct NtContext *, void *);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_TYPEDEF_EXCEPTIONHANDLER_H_ */
|
||||
9
libc/nt/typedef/handlerroutine.h
Normal file
9
libc/nt/typedef/handlerroutine.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef COSMOPOLITAN_LIBC_NT_TYPEDEF_HANDLERROUTINE_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_TYPEDEF_HANDLERROUTINE_H_
|
||||
#include "libc/nt/enum/ctrlevent.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
typedef bool32 (*NtHandlerRoutine)(uint32_t);
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_TYPEDEF_HANDLERROUTINE_H_ */
|
||||
8
libc/nt/typedef/hookproc.h
Normal file
8
libc/nt/typedef/hookproc.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef COSMOPOLITAN_LIBC_NT_TYPEDEF_HOOKPROC_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_TYPEDEF_HOOKPROC_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
typedef intptr_t (*NtHookProc)(int code, uintptr_t wParam, intptr_t lParam);
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_TYPEDEF_HOOKPROC_H_ */
|
||||
9
libc/nt/typedef/imagetlscallback.h
Normal file
9
libc/nt/typedef/imagetlscallback.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef COSMOPOLITAN_LIBC_NT_TYPEDEF_IMAGETLSCALLBACK_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_TYPEDEF_IMAGETLSCALLBACK_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
typedef void (*NtImageTlsCallback)(void *DllHandle, uint32_t Reason,
|
||||
void *Reserved);
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_TYPEDEF_IMAGETLSCALLBACK_H_ */
|
||||
12
libc/nt/typedef/ioapcroutine.h
Normal file
12
libc/nt/typedef/ioapcroutine.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef COSMOPOLITAN_LIBC_NT_TYPEDEF_IOAPCROUTINE_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_TYPEDEF_IOAPCROUTINE_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
struct NtIoStatusBlock;
|
||||
|
||||
typedef void (*NtIoApcRoutine)(void *ApcContext,
|
||||
struct NtIoStatusBlock *IoStatusBlock,
|
||||
uint32_t Reserved);
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_TYPEDEF_IOAPCROUTINE_H_ */
|
||||
9
libc/nt/typedef/pknormalroutine.h
Normal file
9
libc/nt/typedef/pknormalroutine.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef COSMOPOLITAN_LIBC_NT_TYPEDEF_PKNORMALROUTINE_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_TYPEDEF_PKNORMALROUTINE_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
typedef void (*NtPkNormalRoutine)(void *NormalContext, void *SystemArgument1,
|
||||
void *SystemArgument2);
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_TYPEDEF_PKNORMALROUTINE_H_ */
|
||||
8
libc/nt/typedef/timerproc.h
Normal file
8
libc/nt/typedef/timerproc.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef COSMOPOLITAN_LIBC_NT_TYPEDEF_TIMERPROC_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_TYPEDEF_TIMERPROC_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
typedef void (*NtTimerProc)(int64_t, uint32_t, uintptr_t, uint32_t);
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_TYPEDEF_TIMERPROC_H_ */
|
||||
10
libc/nt/typedef/wambda.h
Normal file
10
libc/nt/typedef/wambda.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef COSMOPOLITAN_LIBC_NT_WAMBDA_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_WAMBDA_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
typedef intptr_t (*wambda)();
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_WAMBDA_H_ */
|
||||
8
libc/nt/typedef/wndenumproc.h
Normal file
8
libc/nt/typedef/wndenumproc.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef COSMOPOLITAN_LIBC_NT_TYPEDEF_WNDENUMPROC_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_TYPEDEF_WNDENUMPROC_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
typedef int (*NtWndEnumProc)(int64_t foo, intptr_t bar);
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_TYPEDEF_WNDENUMPROC_H_ */
|
||||
Reference in New Issue
Block a user