wine
23 years agoCompleted/corrected the list of include files.
Francois Gouget [Fri, 13 Oct 2000 23:13:01 +0000 (23:13 +0000)] 
Completed/corrected the list of include files.
Handle WIN32_LEAN_AND_MEAN and the NOxxx macros.

23 years agoAdded a NOGDI protection.
Francois Gouget [Fri, 13 Oct 2000 23:12:19 +0000 (23:12 +0000)] 
Added a NOGDI protection.
Replaced _MAX_PATH with MAX_PATH.
#undef can be used directly on TRANSPARENT.

23 years agoMust include objbase.h.
Francois Gouget [Fri, 13 Oct 2000 23:11:56 +0000 (23:11 +0000)] 
Must include objbase.h.

23 years agoHFILE is an int, not a regular HANDLE.
Francois Gouget [Fri, 13 Oct 2000 23:11:05 +0000 (23:11 +0000)] 
HFILE is an int, not a regular HANDLE.

23 years agoAdded MSGF_DDEMGR.
Andreas Mohr [Fri, 13 Oct 2000 23:09:56 +0000 (23:09 +0000)] 
Added MSGF_DDEMGR.

23 years agoFixed incorrect format string.
Gerald Pfeifer [Fri, 13 Oct 2000 23:08:13 +0000 (23:08 +0000)] 
Fixed incorrect format string.

23 years agoAdded changing mouse cursor when over a help topic link.
Chris Morgan [Fri, 13 Oct 2000 23:07:43 +0000 (23:07 +0000)] 
Added changing mouse cursor when over a help topic link.

23 years agoImplemented DirectInputCreateEx.
Marcus Meissner [Fri, 13 Oct 2000 23:07:29 +0000 (23:07 +0000)] 
Implemented DirectInputCreateEx.

23 years agoDo not send a WM_CONTEXTMENU message when a TreeView receives a
Louis Philippe Gagnon [Fri, 13 Oct 2000 23:07:08 +0000 (23:07 +0000)] 
Do not send a WM_CONTEXTMENU message when a TreeView receives a
WM_RBUTTONUP.

23 years agoMake findfunc look for .spec files, and put it with the other tools.
Lawson Whitney [Fri, 13 Oct 2000 23:06:40 +0000 (23:06 +0000)] 
Make findfunc look for .spec files, and put it with the other tools.

23 years agoValidate access even if wrap past address 0 for IsBadStringPtr[A|W]
Guy Albertelli [Fri, 13 Oct 2000 23:06:13 +0000 (23:06 +0000)] 
Validate access even if wrap past address 0 for IsBadStringPtr[A|W]
and IsBad[Read|Write]Ptr.

23 years ago- stupid spelling fixes
Andreas Mohr [Fri, 13 Oct 2000 20:26:52 +0000 (20:26 +0000)] 
- stupid spelling fixes
- some more loadorder array work

23 years agoAdded a few more large integer functions.
Alexandre Julliard [Fri, 13 Oct 2000 20:26:03 +0000 (20:26 +0000)] 
Added a few more large integer functions.

23 years agoStubbed GetDeviceGammaRamp.
Marcus Meissner [Fri, 13 Oct 2000 20:22:59 +0000 (20:22 +0000)] 
Stubbed GetDeviceGammaRamp.

23 years agoAdded DOS int 21h function 4452h support (DR-DOS version check).
Peter Hawkins [Fri, 13 Oct 2000 20:22:34 +0000 (20:22 +0000)] 
Added DOS int 21h function 4452h support (DR-DOS version check).

23 years agoFill in the dsBmih.biSizeImage field of DIBSections with the
Ove Kaaven [Fri, 13 Oct 2000 20:21:45 +0000 (20:21 +0000)] 
Fill in the dsBmih.biSizeImage field of DIBSections with the
calculated bitmap size.

23 years agoIndicate that the MIDI error message only affects programs that need MIDI.
Chris Morgan [Fri, 13 Oct 2000 20:21:27 +0000 (20:21 +0000)] 
Indicate that the MIDI error message only affects programs that need MIDI.

23 years agoGet rid of shared heap fixme messages.
Andreas Mohr [Fri, 13 Oct 2000 20:21:09 +0000 (20:21 +0000)] 
Get rid of shared heap fixme messages.
Slightly corrected my heap commit patch (Xilinx).

23 years agoMerged DOSVM_Int with DOSVM_SimulateInt, and made it handle apps that
Ove Kaaven [Fri, 13 Oct 2000 20:14:49 +0000 (20:14 +0000)] 
Merged DOSVM_Int with DOSVM_SimulateInt, and made it handle apps that
purposefully shuffle the interrupt vectors around.

23 years agoTo improve custom-drawn items, add focus border to itemRects and do
Susan Farley [Fri, 13 Oct 2000 20:13:38 +0000 (20:13 +0000)] 
To improve custom-drawn items, add focus border to itemRects and do
not overlap them.

23 years agoMoved comm.c into kernel32.
Mike McCormack [Fri, 13 Oct 2000 17:11:30 +0000 (17:11 +0000)] 
Moved comm.c into kernel32.

23 years agoClaim that our headers conform to the version 5.0.
Francois Gouget [Fri, 13 Oct 2000 17:10:34 +0000 (17:10 +0000)] 
Claim that our headers conform to the version 5.0.

23 years agoThe string fields in PROPSHEETPAGEA should be ANSI strings.
Francois Gouget [Fri, 13 Oct 2000 17:10:24 +0000 (17:10 +0000)] 
The string fields in PROPSHEETPAGEA should be ANSI strings.

23 years agoRemoved the DUMMY_UNION_NAME in favor of DUMMYUNIONNAME.
Francois Gouget [Fri, 13 Oct 2000 17:10:15 +0000 (17:10 +0000)] 
Removed the DUMMY_UNION_NAME in favor of DUMMYUNIONNAME.

23 years agoAdded the missing TVINSERTSTRUCT synonyms.
Francois Gouget [Fri, 13 Oct 2000 17:08:42 +0000 (17:08 +0000)] 
Added the missing TVINSERTSTRUCT synonyms.
Added missing CBEIF_xxx definitions.

23 years agoFixed the signature of SysAllocStringByteLen.
Francois Gouget [Fri, 13 Oct 2000 17:08:12 +0000 (17:08 +0000)] 
Fixed the signature of SysAllocStringByteLen.

23 years agoStatus bars on managed windows should not have SIZEGRIP style.
Susan Farley [Fri, 13 Oct 2000 17:07:08 +0000 (17:07 +0000)] 
Status bars on managed windows should not have SIZEGRIP style.

23 years agoMake reg the default output chanel.
Uwe Bonnes [Fri, 13 Oct 2000 17:05:56 +0000 (17:05 +0000)] 
Make reg the default output chanel.

23 years agoIgnore setsockopt calls that make the size of the receive buffer too
Rein Klazes [Fri, 13 Oct 2000 17:05:35 +0000 (17:05 +0000)] 
Ignore setsockopt calls that make the size of the receive buffer too
small.

23 years agoSubitems of listviews were not painted with the right background when:
Stephane Lussier [Fri, 13 Oct 2000 17:05:17 +0000 (17:05 +0000)] 
Subitems of listviews were not painted with the right background when:
-LVS_EX_FULLROWSELECT style is defined
-item is selected
-Listview doesn't have the focus.

23 years agoAfter accept is called on the socket, the listening socket needs to be
Stephane Lussier [Fri, 13 Oct 2000 17:04:52 +0000 (17:04 +0000)] 
After accept is called on the socket, the listening socket needs to be
reselected.

23 years agoCheck for buffer overflows on data returns from RegQueryValueExA.
Marcus Meissner [Fri, 13 Oct 2000 17:04:14 +0000 (17:04 +0000)] 
Check for buffer overflows on data returns from RegQueryValueExA.

23 years agoChanged repne to repnz for Solaris assembler.
Konrad Rieck [Fri, 13 Oct 2000 17:03:52 +0000 (17:03 +0000)] 
Changed repne to repnz for Solaris assembler.

23 years agoMoved LCTYPE, GetLocaleInfo, NUMBERFMT, CURRENCYFMT and the related
Francois Gouget [Thu, 12 Oct 2000 23:20:29 +0000 (23:20 +0000)] 
Moved LCTYPE, GetLocaleInfo, NUMBERFMT, CURRENCYFMT and the related
API to winnls.h.
Moved LANG_xxx, SUBLANG_xxx, SORT_xxx and IS_TEXT_UNICODE_xxx to
winnt.h.

23 years agoAdded many missing *Pxxx types.
Francois Gouget [Thu, 12 Oct 2000 23:18:55 +0000 (23:18 +0000)] 
Added many missing *Pxxx types.
Removed a few *LPxxx types that are not supposed to be there (in
particular LPICONINFO).
Added a few missing *LPCxxx types (MENUITEMINFO, SCROLLINFO,
DLGITEMTEMPLATE).
WINHELP and PE_ACCEL are internal types.
MULTIKEYHELP and HELPWININFO both have an A and W variant.
NUMBERFMT, CURRENCYFMT and the related API belong to winnls.h.
Added missing ARW_xxx defines (for sysmetrics).

23 years agoROTFLAGS have their own ifdef protection, take them out of the
Francois Gouget [Thu, 12 Oct 2000 23:15:29 +0000 (23:15 +0000)] 
ROTFLAGS have their own ifdef protection, take them out of the
_SECURITY_DEFINED ifdef block.

23 years agoAdded a declaration for GetEnhMetaFileDescription.
Francois Gouget [Thu, 12 Oct 2000 23:14:52 +0000 (23:14 +0000)] 
Added a declaration for GetEnhMetaFileDescription.

23 years agoAdded Fonts registry key.
Andreas Mohr [Thu, 12 Oct 2000 23:13:44 +0000 (23:13 +0000)] 
Added Fonts registry key.

23 years agoFixed regression for debugger startup event creation.
Eric Pouech [Thu, 12 Oct 2000 23:13:23 +0000 (23:13 +0000)] 
Fixed regression for debugger startup event creation.

23 years agoFix depressed state with flat toolbars so pressing the buttons draws
Chris Morgan [Thu, 12 Oct 2000 23:11:35 +0000 (23:11 +0000)] 
Fix depressed state with flat toolbars so pressing the buttons draws
the button in a depressed state.  Fix bitmap offsets, fixes bitmap
offset problems in file common dialog.

23 years agoOn InsertItem with TVI_FIRST, the check for resetting firstVisible
Susan Farley [Thu, 12 Oct 2000 23:11:06 +0000 (23:11 +0000)] 
On InsertItem with TVI_FIRST, the check for resetting firstVisible
must be done *before* the parent's firstChild changes.

23 years agoSupport non-buffered overlays.
Lionel Ulmer [Thu, 12 Oct 2000 23:09:40 +0000 (23:09 +0000)] 
Support non-buffered overlays.

23 years agoRewrite to support rows of bands.
Guy L. Albertelli [Thu, 12 Oct 2000 23:09:01 +0000 (23:09 +0000)] 
Rewrite to support rows of bands.
Draw separators between bands in rows and between rows.
Support text and background color and color propagation.
Improve layout code.
Make fMask in internal structure the indicator of valid information.
Fix size of grippers.
Add debugging traces for future.

23 years agoSimple NULL check.
Serge Ivanov [Thu, 12 Oct 2000 23:08:19 +0000 (23:08 +0000)] 
Simple NULL check.

23 years ago- Background should not be drawn if the background color is CLR_NONE.
Stephane Lussier [Thu, 12 Oct 2000 23:07:41 +0000 (23:07 +0000)] 
- Background should not be drawn if the background color is CLR_NONE.
- Don't change the size to 0 for the header control of listview with
  LVS_NOCOLUMNHEADER style. In fact just setting HDS_HIDDEN to the
  header control is enough.

23 years agoAdded 16 (565) -> 15 (555) bit depth converter.
Marcus Meissner [Thu, 12 Oct 2000 23:05:48 +0000 (23:05 +0000)] 
Added 16 (565) -> 15 (555) bit depth converter.

23 years agoAdded support for cp936.
Hidenori Takeshima [Thu, 12 Oct 2000 23:05:21 +0000 (23:05 +0000)] 
Added support for cp936.

23 years agoWork-around for gcc bug.
Alexandre Julliard [Thu, 12 Oct 2000 20:55:26 +0000 (20:55 +0000)] 
Work-around for gcc bug.

23 years agoImplememnted GetFourCCCodes.
Lionel Ulmer [Thu, 12 Oct 2000 20:50:45 +0000 (20:50 +0000)] 
Implememnted GetFourCCCodes.

23 years agoEnable XF86vmode switching possible for X11 too.
Marcus Meissner [Thu, 12 Oct 2000 20:47:42 +0000 (20:47 +0000)] 
Enable XF86vmode switching possible for X11 too.

23 years agoAdded PCM converter internal driver.
Eric Pouech [Thu, 12 Oct 2000 20:46:49 +0000 (20:46 +0000)] 
Added PCM converter internal driver.
A few driver handling fixes.

23 years agoFixed the OpenGL detection code.
Lionel Ulmer [Thu, 12 Oct 2000 20:45:58 +0000 (20:45 +0000)] 
Fixed the OpenGL detection code.

23 years agoFixed loading of symbols from libraries.
Juergen Schmied [Thu, 12 Oct 2000 20:45:26 +0000 (20:45 +0000)] 
Fixed loading of symbols from libraries.

23 years agoPrevent SetFileAttributeA from making directory read-only.
Rein Klazes [Thu, 12 Oct 2000 20:45:04 +0000 (20:45 +0000)] 
Prevent SetFileAttributeA from making directory read-only.

23 years agoEnable anonymous struct/union support by default in both C and C++.
Francois Gouget [Thu, 12 Oct 2000 20:44:41 +0000 (20:44 +0000)] 
Enable anonymous struct/union support by default in both C and C++.
Disable them for compilers known not to support them.
Disable them for the WINE code.

23 years agoAdded four DDElParam functions.
Francois Gouget [Thu, 12 Oct 2000 20:44:14 +0000 (20:44 +0000)] 
Added four DDElParam functions.
Now needs an 'extern "C"' protection for C++.

23 years agoFix the parameter types and comments of the DDElParam functions.
Francois Gouget [Thu, 12 Oct 2000 20:43:59 +0000 (20:43 +0000)] 
Fix the parameter types and comments of the DDElParam functions.

23 years agoRemoved stray A/W from invocations of WINELIB_NAME_AW.
Francois Gouget [Thu, 12 Oct 2000 20:43:08 +0000 (20:43 +0000)] 
Removed stray A/W from invocations of WINELIB_NAME_AW.

23 years agoRemoved dependency on globals LPT[] and COM{}.
Mike McCormack [Thu, 12 Oct 2000 20:42:23 +0000 (20:42 +0000)] 
Removed dependency on globals LPT[] and COM{}.

23 years agoAdded some of the APIs introduced in Win98, mostly the VarXxx maths APIs.
Francois Gouget [Thu, 12 Oct 2000 20:41:56 +0000 (20:41 +0000)] 
Added some of the APIs introduced in Win98, mostly the VarXxx maths APIs.

23 years agoReplace null bytes by spaces in WriteConsoleOutputA call.
Andreas Mohr [Thu, 12 Oct 2000 20:41:29 +0000 (20:41 +0000)] 
Replace null bytes by spaces in WriteConsoleOutputA call.

23 years agoMCICDA didn't open/close the door when calling the command without
Andreas Mohr [Thu, 12 Oct 2000 20:40:56 +0000 (20:40 +0000)] 
MCICDA didn't open/close the door when calling the command without
valid parameter block (i.e. == NULL).

23 years agoImplementation of OleLockRunning function.
Stephane Lussier [Thu, 12 Oct 2000 20:40:32 +0000 (20:40 +0000)] 
Implementation of OleLockRunning function.

23 years agoCorrected some segvs that occur with ownerdata listviews.
Aric Stewart [Thu, 12 Oct 2000 20:39:59 +0000 (20:39 +0000)] 
Corrected some segvs that occur with ownerdata listviews.

23 years agoReturn values are reversed in failure/rgdata == NULL case in
Marcus Meissner [Thu, 12 Oct 2000 20:39:31 +0000 (20:39 +0000)] 
Return values are reversed in failure/rgdata == NULL case in
GetRegionData (was merge error by me).

23 years agoChanged debugger launching to auto per default.
Andreas Mohr [Thu, 12 Oct 2000 20:38:33 +0000 (20:38 +0000)] 
Changed debugger launching to auto per default.

23 years agoDefine LOCALE_IDEFAULTMACCODEPAGE for Danish locale.
Niels Kristian Bech Jensen [Thu, 12 Oct 2000 20:38:07 +0000 (20:38 +0000)] 
Define LOCALE_IDEFAULTMACCODEPAGE for Danish locale.

23 years agoSuppress junk noise at startup of DirectSound on SB Live! and ES 1371.
Marcus Meissner [Thu, 12 Oct 2000 20:37:51 +0000 (20:37 +0000)] 
Suppress junk noise at startup of DirectSound on SB Live! and ES 1371.

23 years agoUse special environment variables to transmit the cwd of the various
Alexandre Julliard [Tue, 3 Oct 2000 04:19:16 +0000 (04:19 +0000)] 
Use special environment variables to transmit the cwd of the various
drives to child processes (based on a patch by Andreas Mohr).

23 years agoRemoved the ';' ending on lines using the DECL_WINELIB_TYPE_AW and
Francois Gouget [Tue, 3 Oct 2000 04:10:42 +0000 (04:10 +0000)] 
Removed the ';' ending on lines using the DECL_WINELIB_TYPE_AW and
WINELIB_NAME_AW macros.

23 years agoAdded some missing 'SysAllocString' prototypes.
Francois Gouget [Tue, 3 Oct 2000 04:09:32 +0000 (04:09 +0000)] 
Added some missing 'SysAllocString' prototypes.
Added some missing 'TypeLib' prototypes.

23 years agoFixed some prototypes.
Francois Gouget [Tue, 3 Oct 2000 04:09:17 +0000 (04:09 +0000)] 
Fixed some prototypes.

23 years agoAdded a white border around the I-beam cursor.
Aric Stewart [Tue, 3 Oct 2000 04:08:45 +0000 (04:08 +0000)] 
Added a white border around the I-beam cursor.

23 years agoRelease 20001002. wine-20001002
Alexandre Julliard [Mon, 2 Oct 2000 22:44:31 +0000 (22:44 +0000)] 
Release 20001002.

23 years agoProtect GlobalHandle() against bad parameters.
Lawson Whitney [Mon, 2 Oct 2000 22:27:37 +0000 (22:27 +0000)] 
Protect GlobalHandle() against bad parameters.

23 years agoFixed backtrace for apps that never called down to 16-bit code.
Alexandre Julliard [Mon, 2 Oct 2000 22:17:07 +0000 (22:17 +0000)] 
Fixed backtrace for apps that never called down to 16-bit code.

23 years agoMake sure that we skip tasks with missing hInstance.
Andreas Mohr [Mon, 2 Oct 2000 22:16:34 +0000 (22:16 +0000)] 
Make sure that we skip tasks with missing hInstance.

23 years agoIntroduced a new arena flag called GA_DOSMEM to distinguish between
Andreas Mohr [Mon, 2 Oct 2000 22:16:21 +0000 (22:16 +0000)] 
Introduced a new arena flag called GA_DOSMEM to distinguish between
DOSMEM and normal "windows" global mem.

23 years agoBug fixes in mmio, related to buffering in record mode.
Francois Jacques [Mon, 2 Oct 2000 22:15:47 +0000 (22:15 +0000)] 
Bug fixes in mmio, related to buffering in record mode.

23 years agoConvert NtQueryKey and NtEnumerateKey to the new request mechanism.
Alexandre Julliard [Mon, 2 Oct 2000 03:46:58 +0000 (03:46 +0000)] 
Convert NtQueryKey and NtEnumerateKey to the new request mechanism.
Fixed a few bugs.

23 years agoForward all large integer functions to ntdll.
Alexandre Julliard [Mon, 2 Oct 2000 03:45:11 +0000 (03:45 +0000)] 
Forward all large integer functions to ntdll.

23 years agoGetDateFormatA: Check range and recalculate wDayOfWeek.
Uwe Bonnes [Mon, 2 Oct 2000 03:40:15 +0000 (03:40 +0000)] 
GetDateFormatA: Check range and recalculate wDayOfWeek.
OLE_GetFormatA|W: Fix transformation of wDayOfWeek to
LOCALE_S(ABBREV)DAYNAMEx.

23 years agoFixed some issues found by winapi_check.
Patrik Stridvall [Mon, 2 Oct 2000 03:39:34 +0000 (03:39 +0000)] 
Fixed some issues found by winapi_check.

23 years ago- Support for stdcall64
Patrik Stridvall [Mon, 2 Oct 2000 03:34:14 +0000 (03:34 +0000)] 
- Support for stdcall64
- Minor API updates.

23 years agoBeautified the loadorder array (group DLLs according to functionality,
Andreas Mohr [Mon, 2 Oct 2000 03:33:51 +0000 (03:33 +0000)] 
Beautified the loadorder array (group DLLs according to functionality,
add group header comments, ...), added builtin x11drv and winaspi.

23 years agoSilence unneeded exception to allow easier ACM debugging.
James Hatheway [Mon, 2 Oct 2000 03:33:20 +0000 (03:33 +0000)] 
Silence unneeded exception to allow easier ACM debugging.

23 years agoConverted some of the registry server requests to the new request
Alexandre Julliard [Sun, 1 Oct 2000 01:44:50 +0000 (01:44 +0000)] 
Converted some of the registry server requests to the new request
mechanism.

23 years agoImplemented a bunch of large integer functions in ntdll.
Alexandre Julliard [Sun, 1 Oct 2000 01:40:42 +0000 (01:40 +0000)] 
Implemented a bunch of large integer functions in ntdll.

23 years agoAdded stdcall64 entry point type to allow correct relay debugging
Alexandre Julliard [Sun, 1 Oct 2000 01:33:50 +0000 (01:33 +0000)] 
Added stdcall64 entry point type to allow correct relay debugging
support for functions that return 64-bit values.

23 years agoMake sure we commit enough memory in a new subheap.
Andreas Mohr [Fri, 29 Sep 2000 21:05:33 +0000 (21:05 +0000)] 
Make sure we commit enough memory in a new subheap.

23 years ago- moved some code from WINSPOOL_GetPrinterDriver into new function
Stefan Leichter [Fri, 29 Sep 2000 21:05:11 +0000 (21:05 +0000)] 
- moved some code from WINSPOOL_GetPrinterDriver into new function
  WINSPOOL_GetDriverInfoFromReg
- bug fix in function GetPrinterDirectoryW: free local variable not
  the one from function interface
- implemented EnumPrinterDriversA|W

23 years agoFixed the default value handling (trailing spaces of the default value
Andreas Mohr [Fri, 29 Sep 2000 21:04:44 +0000 (21:04 +0000)] 
Fixed the default value handling (trailing spaces of the default value
are clipped).
section == NULL, key_name == NULL undoc. feature is only valid in Win32.

23 years agoMoved a bunch of routines to kernel32.dll (with the help of
Alexandre Julliard [Fri, 29 Sep 2000 20:48:04 +0000 (20:48 +0000)] 
Moved a bunch of routines to kernel32.dll (with the help of
Dimitrie O. Paun).

23 years agoGDISelectPalette16 checked GetObjectType() return value for
Andreas Mohr [Fri, 29 Sep 2000 01:03:57 +0000 (01:03 +0000)] 
GDISelectPalette16 checked GetObjectType() return value for
PALETTE_MAGIC instead of OBJ_PAL.

23 years agoMoved DLLVERSIONINFO to shlwapi.h.
Francois Gouget [Fri, 29 Sep 2000 01:03:30 +0000 (01:03 +0000)] 
Moved DLLVERSIONINFO to shlwapi.h.

23 years agoLet InternalExtractIcon16 load icons from builtin DLLs.
Andreas Mohr [Fri, 29 Sep 2000 00:58:38 +0000 (00:58 +0000)] 
Let InternalExtractIcon16 load icons from builtin DLLs.

23 years agoModified the bitmap centering algorithm to take the button's border
Francois Gouget [Fri, 29 Sep 2000 00:56:52 +0000 (00:56 +0000)] 
Modified the bitmap centering algorithm to take the button's border
into account.

23 years agoBefore calling the timer window proc, make sure it is valid.
Stephane Lussier [Fri, 29 Sep 2000 00:56:05 +0000 (00:56 +0000)] 
Before calling the timer window proc, make sure it is valid.

23 years agoRemoved a few dependencies on kernel32 functions.
Alexandre Julliard [Fri, 29 Sep 2000 00:31:57 +0000 (00:31 +0000)] 
Removed a few dependencies on kernel32 functions.

23 years agoMoved critical section implementation to ntdll.
Alexandre Julliard [Fri, 29 Sep 2000 00:31:23 +0000 (00:31 +0000)] 
Moved critical section implementation to ntdll.