comparison fuhtark_test/include/winapi/ntsdexts.h @ 1500:91c8c3b7cbf0

add: futhark tests for generating vulkan api
author sam <sam@basx.dev>
date Wed, 26 Nov 2025 21:36:48 +0700
parents
children
comparison
equal deleted inserted replaced
1499:1f58458b7ef7 1500:91c8c3b7cbf0
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6 #ifndef _NTSDEXTNS_
7 #define _NTSDEXTNS_
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 typedef VOID (__cdecl *PNTSD_OUTPUT_ROUTINE)(char *,...);
14 typedef ULONG_PTR (*PNTSD_GET_EXPRESSION)(char *);
15 typedef VOID (*PNTSD_GET_SYMBOL)(ULONG_PTR offset,PUCHAR pchBuffer,ULONG_PTR *pDisplacement);
16 typedef DWORD (*PNTSD_DISASM)(ULONG_PTR *lpOffset,LPSTR lpBuffer,ULONG fShowEfeectiveAddress);
17 typedef WINBOOL (*PNTSD_CHECK_CONTROL_C)(VOID);
18
19 typedef struct _NTSD_EXTENSION_APIS {
20 DWORD nSize;
21 PNTSD_OUTPUT_ROUTINE lpOutputRoutine;
22 PNTSD_GET_EXPRESSION lpGetExpressionRoutine;
23 PNTSD_GET_SYMBOL lpGetSymbolRoutine;
24 PNTSD_DISASM lpDisasmRoutine;
25 PNTSD_CHECK_CONTROL_C lpCheckControlCRoutine;
26 } NTSD_EXTENSION_APIS,*PNTSD_EXTENSION_APIS;
27
28 typedef VOID (*PNTSD_EXTENSION_ROUTINE)(HANDLE hCurrentProcess,HANDLE hCurrentThread,DWORD dwCurrentPc,PNTSD_EXTENSION_APIS lpExtensionApis,LPSTR lpArgumentString);
29
30 #ifdef __cplusplus
31 }
32 #endif
33 #endif