[REACTOS] Addendum to 5c7ce4475e - Fix MSVC 2015 build

Put data into PAGEDATA or INITDATA sections
Keep section declaration for prototypes

CORE-17540
This commit is contained in:
Jérôme Gardou 2021-05-11 17:13:14 +02:00 committed by Jérôme Gardou
parent 03e824641e
commit 3adf450867
82 changed files with 1720 additions and 1789 deletions

View file

@ -2,6 +2,8 @@
* I/O Manager Functions *
******************************************************************************/
#include <section_attribs.h>
$if (_WDMDDK_)
/*
* NTSTATUS
@ -1138,6 +1140,7 @@ IoRegisterDeviceInterface(
_IRQL_requires_max_(PASSIVE_LEVEL)
_Must_inspect_result_
CODE_SEG("PAGE")
NTKERNELAPI
NTSTATUS
NTAPI
@ -1289,6 +1292,7 @@ IoStopTimer(
_IRQL_requires_max_(PASSIVE_LEVEL)
__drv_freesMem(Pool)
CODE_SEG("PAGE")
NTKERNELAPI
NTSTATUS
NTAPI