[NDK] Add missing extern "C"

This commit is contained in:
Timo Kreuzer
2026-07-12 07:44:53 +00:00
parent 020b5b7b0a
commit d5daba4789
4 changed files with 33 additions and 0 deletions
+8
View File
@@ -25,6 +25,10 @@ Author:
#include <ifssupp.h>
#include <potypes.h>
#ifdef __cplusplus
extern "C" {
#endif
//
// I/O Completion Access Rights
//
@@ -1274,4 +1278,8 @@ typedef struct _REPARSE_DATA_BUFFER {
#endif // NTOS_MODE_USER
#ifdef __cplusplus
}
#endif
#endif
+9
View File
@@ -25,6 +25,10 @@ Author:
#include <umtypes.h>
#include <kdtypes.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef NTOS_MODE_USER
//
@@ -110,4 +114,9 @@ ZwSystemDebugControl(
_In_ ULONG OutputBufferLength,
_Out_opt_ PULONG ReturnLength
);
#ifdef __cplusplus
} // extern "C"
#endif
#endif // _KDFUNCS_H
+8
View File
@@ -25,6 +25,10 @@ Author:
#include <umtypes.h>
//#include <pstypes.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef NTOS_MODE_USER
//
@@ -293,4 +297,8 @@ typedef struct _CLIENT_DIED_MSG
sizeof(PORT_MESSAGE) - \
sizeof(LPCP_CONNECTION_MESSAGE))
#ifdef __cplusplus
}
#endif
#endif // _LPCTYPES_H
+8
View File
@@ -25,6 +25,10 @@ Author:
#include <umtypes.h>
#include <mmtypes.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef NTOS_MODE_USER
//
@@ -495,4 +499,8 @@ ZwWriteVirtualMemory(
_Out_opt_ PSIZE_T NumberOfBytesWritten
);
#ifdef __cplusplus
} // extern "C"
#endif
#endif // _MMFUNCS_H