Skip to content

Commit d7a721e

Browse files
committed
Removed __kernel_entry usage from Nt* function typedefs, is is part of SAL annoations, not neccessary for proper signature
1 parent 0f053c3 commit d7a721e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/boost/process/detail/windows/handle_workaround.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -198,20 +198,20 @@ typedef struct _OBJECT_TYPE_INFORMATION_ {
198198

199199

200200
/*
201-
__kernel_entry NTSTATUS NtQuerySystemInformation(
201+
NTSTATUS NtQuerySystemInformation(
202202
IN SYSTEM_INFORMATION_CLASS SystemInformationClass,
203203
OUT PVOID SystemInformation,
204204
IN ULONG SystemInformationLength,
205205
OUT PULONG ReturnLength
206206
);
207207
*/
208-
typedef ::boost::winapi::NTSTATUS_ (__kernel_entry *nt_system_query_information_p )(
208+
typedef ::boost::winapi::NTSTATUS_ (*nt_system_query_information_p )(
209209
SYSTEM_INFORMATION_CLASS_,
210210
void *,
211211
::boost::winapi::ULONG_,
212212
::boost::winapi::PULONG_);
213213
/*
214-
__kernel_entry NTSYSCALLAPI NTSTATUS NtQueryObject(
214+
NTSYSCALLAPI NTSTATUS NtQueryObject(
215215
HANDLE Handle,
216216
OBJECT_INFORMATION_CLASS ObjectInformationClass,
217217
PVOID ObjectInformation,
@@ -220,7 +220,7 @@ __kernel_entry NTSYSCALLAPI NTSTATUS NtQueryObject(
220220
);
221221
*/
222222

223-
typedef ::boost::winapi::NTSTATUS_ (__kernel_entry *nt_query_object_p )(
223+
typedef ::boost::winapi::NTSTATUS_ (*nt_query_object_p )(
224224
::boost::winapi::HANDLE_,
225225
OBJECT_INFORMATION_CLASS_,
226226
void *,

0 commit comments

Comments
 (0)