diff --git a/library/windows/gdi32.factor b/library/windows/gdi32.factor index 1f737b9eaf..ae1873e0d3 100644 --- a/library/windows/gdi32.factor +++ b/library/windows/gdi32.factor @@ -1,616 +1,616 @@ -! FUNCTION: AbortDoc -! Copyright (C) 2005, 2006 Doug Coleman. -! See http://factor.sf.net/license.txt for BSD license. -USING: alien kernel errors ; -IN: win32-api - -LIBRARY: gdi32 - -! FUNCTION: AbortPath -! FUNCTION: AddFontMemResourceEx -! FUNCTION: AddFontResourceA -! FUNCTION: AddFontResourceExA -! FUNCTION: AddFontResourceExW -! FUNCTION: AddFontResourceTracking -! FUNCTION: AddFontResourceW -! FUNCTION: AngleArc -! FUNCTION: AnimatePalette -! FUNCTION: AnyLinkedFonts -! FUNCTION: Arc -! FUNCTION: ArcTo -! FUNCTION: BeginPath -! FUNCTION: bInitSystemAndFontsDirectoriesW -! FUNCTION: BitBlt -! FUNCTION: bMakePathNameW -! FUNCTION: BRUSHOBJ_hGetColorTransform -! FUNCTION: BRUSHOBJ_pvAllocRbrush -! FUNCTION: BRUSHOBJ_pvGetRbrush -! FUNCTION: BRUSHOBJ_ulGetBrushColor -! FUNCTION: CancelDC -! FUNCTION: cGetTTFFromFOT -! FUNCTION: CheckColorsInGamut -FUNCTION: int ChoosePixelFormat ( HDC hDC, PFD* ppfd ) ; -! FUNCTION: Chord -! FUNCTION: ClearBitmapAttributes -! FUNCTION: ClearBrushAttributes -! FUNCTION: CLIPOBJ_bEnum -! FUNCTION: CLIPOBJ_cEnumStart -! FUNCTION: CLIPOBJ_ppoGetPath -! FUNCTION: CloseEnhMetaFile -! FUNCTION: CloseFigure -! FUNCTION: CloseMetaFile -! FUNCTION: ColorCorrectPalette -! FUNCTION: ColorMatchToTarget -! FUNCTION: CombineRgn -! FUNCTION: CombineTransform -! FUNCTION: CopyEnhMetaFileA -! FUNCTION: CopyEnhMetaFileW -! FUNCTION: CopyMetaFileA -! FUNCTION: CopyMetaFileW -! FUNCTION: CreateBitmap -! FUNCTION: CreateBitmapIndirect -! FUNCTION: CreateBrushIndirect -! FUNCTION: CreateColorSpaceA -! FUNCTION: CreateColorSpaceW -! FUNCTION: CreateCompatibleBitmap -! FUNCTION: CreateCompatibleDC -! FUNCTION: CreateDCA -! FUNCTION: CreateDCW -! FUNCTION: CreateDIBitmap -! FUNCTION: CreateDIBPatternBrush -! FUNCTION: CreateDIBPatternBrushPt -! FUNCTION: CreateDIBSection -! FUNCTION: CreateDiscardableBitmap -! FUNCTION: CreateEllipticRgn -! FUNCTION: CreateEllipticRgnIndirect -! FUNCTION: CreateEnhMetaFileA -! FUNCTION: CreateEnhMetaFileW -! FUNCTION: CreateFontA -! FUNCTION: CreateFontIndirectA -! FUNCTION: CreateFontIndirectExA -! FUNCTION: CreateFontIndirectExW -! FUNCTION: CreateFontIndirectW -! FUNCTION: CreateFontW -! FUNCTION: CreateHalftonePalette -! FUNCTION: CreateHatchBrush -! FUNCTION: CreateICA -! FUNCTION: CreateICW -! FUNCTION: CreateMetaFileA -! FUNCTION: CreateMetaFileW -! FUNCTION: CreatePalette -! FUNCTION: CreatePatternBrush -! FUNCTION: CreatePen -! FUNCTION: CreatePenIndirect -! FUNCTION: CreatePolygonRgn -! FUNCTION: CreatePolyPolygonRgn -! FUNCTION: CreateRectRgn -! FUNCTION: CreateRectRgnIndirect -! FUNCTION: CreateRoundRectRgn -! FUNCTION: CreateScalableFontResourceA -! FUNCTION: CreateScalableFontResourceW -! FUNCTION: CreateSolidBrush -! FUNCTION: DdEntry0 -! FUNCTION: DdEntry1 -! FUNCTION: DdEntry10 -! FUNCTION: DdEntry11 -! FUNCTION: DdEntry12 -! FUNCTION: DdEntry13 -! FUNCTION: DdEntry14 -! FUNCTION: DdEntry15 -! FUNCTION: DdEntry16 -! FUNCTION: DdEntry17 -! FUNCTION: DdEntry18 -! FUNCTION: DdEntry19 -! FUNCTION: DdEntry2 -! FUNCTION: DdEntry20 -! FUNCTION: DdEntry21 -! FUNCTION: DdEntry22 -! FUNCTION: DdEntry23 -! FUNCTION: DdEntry24 -! FUNCTION: DdEntry25 -! FUNCTION: DdEntry26 -! FUNCTION: DdEntry27 -! FUNCTION: DdEntry28 -! FUNCTION: DdEntry29 -! FUNCTION: DdEntry3 -! FUNCTION: DdEntry30 -! FUNCTION: DdEntry31 -! FUNCTION: DdEntry32 -! FUNCTION: DdEntry33 -! FUNCTION: DdEntry34 -! FUNCTION: DdEntry35 -! FUNCTION: DdEntry36 -! FUNCTION: DdEntry37 -! FUNCTION: DdEntry38 -! FUNCTION: DdEntry39 -! FUNCTION: DdEntry4 -! FUNCTION: DdEntry40 -! FUNCTION: DdEntry41 -! FUNCTION: DdEntry42 -! FUNCTION: DdEntry43 -! FUNCTION: DdEntry44 -! FUNCTION: DdEntry45 -! FUNCTION: DdEntry46 -! FUNCTION: DdEntry47 -! FUNCTION: DdEntry48 -! FUNCTION: DdEntry49 -! FUNCTION: DdEntry5 -! FUNCTION: DdEntry50 -! FUNCTION: DdEntry51 -! FUNCTION: DdEntry52 -! FUNCTION: DdEntry53 -! FUNCTION: DdEntry54 -! FUNCTION: DdEntry55 -! FUNCTION: DdEntry56 -! FUNCTION: DdEntry6 -! FUNCTION: DdEntry7 -! FUNCTION: DdEntry8 -! FUNCTION: DdEntry9 -! FUNCTION: DeleteColorSpace -! FUNCTION: DeleteDC -! FUNCTION: DeleteEnhMetaFile -! FUNCTION: DeleteMetaFile -! FUNCTION: DeleteObject -! FUNCTION: DescribePixelFormat -! FUNCTION: DeviceCapabilitiesExA -! FUNCTION: DeviceCapabilitiesExW -! FUNCTION: DPtoLP -! FUNCTION: DrawEscape -! FUNCTION: Ellipse -! FUNCTION: EnableEUDC -! FUNCTION: EndDoc -! FUNCTION: EndFormPage -! FUNCTION: EndPage -! FUNCTION: EndPath -! FUNCTION: EngAcquireSemaphore -! FUNCTION: EngAlphaBlend -! FUNCTION: EngAssociateSurface -! FUNCTION: EngBitBlt -! FUNCTION: EngCheckAbort -! FUNCTION: EngComputeGlyphSet -! FUNCTION: EngCopyBits -! FUNCTION: EngCreateBitmap -! FUNCTION: EngCreateClip -! FUNCTION: EngCreateDeviceBitmap -! FUNCTION: EngCreateDeviceSurface -! FUNCTION: EngCreatePalette -! FUNCTION: EngCreateSemaphore -! FUNCTION: EngDeleteClip -! FUNCTION: EngDeletePalette -! FUNCTION: EngDeletePath -! FUNCTION: EngDeleteSemaphore -! FUNCTION: EngDeleteSurface -! FUNCTION: EngEraseSurface -! FUNCTION: EngFillPath -! FUNCTION: EngFindResource -! FUNCTION: EngFreeModule -! FUNCTION: EngGetCurrentCodePage -! FUNCTION: EngGetDriverName -! FUNCTION: EngGetPrinterDataFileName -! FUNCTION: EngGradientFill -! FUNCTION: EngLineTo -! FUNCTION: EngLoadModule -! FUNCTION: EngLockSurface -! FUNCTION: EngMarkBandingSurface -! FUNCTION: EngMultiByteToUnicodeN -! FUNCTION: EngMultiByteToWideChar -! FUNCTION: EngPaint -! FUNCTION: EngPlgBlt -! FUNCTION: EngQueryEMFInfo -! FUNCTION: EngQueryLocalTime -! FUNCTION: EngReleaseSemaphore -! FUNCTION: EngStretchBlt -! FUNCTION: EngStretchBltROP -! FUNCTION: EngStrokeAndFillPath -! FUNCTION: EngStrokePath -! FUNCTION: EngTextOut -! FUNCTION: EngTransparentBlt -! FUNCTION: EngUnicodeToMultiByteN -! FUNCTION: EngUnlockSurface -! FUNCTION: EngWideCharToMultiByte -! FUNCTION: EnumEnhMetaFile -! FUNCTION: EnumFontFamiliesA -! FUNCTION: EnumFontFamiliesExA -! FUNCTION: EnumFontFamiliesExW -! FUNCTION: EnumFontFamiliesW -! FUNCTION: EnumFontsA -! FUNCTION: EnumFontsW -! FUNCTION: EnumICMProfilesA -! FUNCTION: EnumICMProfilesW -! FUNCTION: EnumMetaFile -! FUNCTION: EnumObjects -! FUNCTION: EqualRgn -! FUNCTION: Escape -! FUNCTION: EudcLoadLinkW -! FUNCTION: EudcUnloadLinkW -! FUNCTION: ExcludeClipRect -! FUNCTION: ExtCreatePen -! FUNCTION: ExtCreateRegion -! FUNCTION: ExtEscape -! FUNCTION: ExtFloodFill -! FUNCTION: ExtSelectClipRgn -! FUNCTION: ExtTextOutA -! FUNCTION: ExtTextOutW -! FUNCTION: FillPath -! FUNCTION: FillRgn -! FUNCTION: FixBrushOrgEx -! FUNCTION: FlattenPath -! FUNCTION: FloodFill -! FUNCTION: FontIsLinked -! FUNCTION: FONTOBJ_cGetAllGlyphHandles -! FUNCTION: FONTOBJ_cGetGlyphs -! FUNCTION: FONTOBJ_pfdg -! FUNCTION: FONTOBJ_pifi -! FUNCTION: FONTOBJ_pQueryGlyphAttrs -! FUNCTION: FONTOBJ_pvTrueTypeFontFile -! FUNCTION: FONTOBJ_pxoGetXform -! FUNCTION: FONTOBJ_vGetInfo -! FUNCTION: FrameRgn -! FUNCTION: GdiAddFontResourceW -! FUNCTION: GdiAddGlsBounds -! FUNCTION: GdiAddGlsRecord -! FUNCTION: GdiAlphaBlend -! FUNCTION: GdiArtificialDecrementDriver -! FUNCTION: GdiCleanCacheDC -! FUNCTION: GdiComment -! FUNCTION: GdiConsoleTextOut -! FUNCTION: GdiConvertAndCheckDC -! FUNCTION: GdiConvertBitmap -! FUNCTION: GdiConvertBitmapV5 -! FUNCTION: GdiConvertBrush -! FUNCTION: GdiConvertDC -! FUNCTION: GdiConvertEnhMetaFile -! FUNCTION: GdiConvertFont -! FUNCTION: GdiConvertMetaFilePict -! FUNCTION: GdiConvertPalette -! FUNCTION: GdiConvertRegion -! FUNCTION: GdiConvertToDevmodeW -! FUNCTION: GdiCreateLocalEnhMetaFile -! FUNCTION: GdiCreateLocalMetaFilePict -! FUNCTION: GdiDeleteLocalDC -! FUNCTION: GdiDeleteSpoolFileHandle -! FUNCTION: GdiDescribePixelFormat -! FUNCTION: GdiDllInitialize -! FUNCTION: GdiDrawStream -! FUNCTION: GdiEndDocEMF -! FUNCTION: GdiEndPageEMF -! FUNCTION: GdiEntry1 -! FUNCTION: GdiEntry10 -! FUNCTION: GdiEntry11 -! FUNCTION: GdiEntry12 -! FUNCTION: GdiEntry13 -! FUNCTION: GdiEntry14 -! FUNCTION: GdiEntry15 -! FUNCTION: GdiEntry16 -! FUNCTION: GdiEntry2 -! FUNCTION: GdiEntry3 -! FUNCTION: GdiEntry4 -! FUNCTION: GdiEntry5 -! FUNCTION: GdiEntry6 -! FUNCTION: GdiEntry7 -! FUNCTION: GdiEntry8 -! FUNCTION: GdiEntry9 -! FUNCTION: GdiFixUpHandle -! FUNCTION: GdiFlush -! FUNCTION: GdiFullscreenControl -! FUNCTION: GdiGetBatchLimit -! FUNCTION: GdiGetCharDimensions -! FUNCTION: GdiGetCodePage -! FUNCTION: GdiGetDC -! FUNCTION: GdiGetDevmodeForPage -! FUNCTION: GdiGetLocalBrush -! FUNCTION: GdiGetLocalDC -! FUNCTION: GdiGetLocalFont -! FUNCTION: GdiGetPageCount -! FUNCTION: GdiGetPageHandle -! FUNCTION: GdiGetSpoolFileHandle -! FUNCTION: GdiGetSpoolMessage -! FUNCTION: GdiGradientFill -! FUNCTION: GdiInitializeLanguagePack -! FUNCTION: GdiInitSpool -! FUNCTION: GdiIsMetaFileDC -! FUNCTION: GdiIsMetaPrintDC -! FUNCTION: GdiIsPlayMetafileDC -! FUNCTION: GdiPlayDCScript -! FUNCTION: GdiPlayEMF -! FUNCTION: GdiPlayJournal -! FUNCTION: GdiPlayPageEMF -! FUNCTION: GdiPlayPrivatePageEMF -! FUNCTION: GdiPlayScript -! FUNCTION: gdiPlaySpoolStream -! FUNCTION: GdiPrinterThunk -! FUNCTION: GdiProcessSetup -! FUNCTION: GdiQueryFonts -! FUNCTION: GdiQueryTable -! FUNCTION: GdiRealizationInfo -! FUNCTION: GdiReleaseDC -! FUNCTION: GdiReleaseLocalDC -! FUNCTION: GdiResetDCEMF -! FUNCTION: GdiSetAttrs -! FUNCTION: GdiSetBatchLimit -! FUNCTION: GdiSetLastError -! FUNCTION: GdiSetPixelFormat -! FUNCTION: GdiSetServerAttr -! FUNCTION: GdiStartDocEMF -! FUNCTION: GdiStartPageEMF -! FUNCTION: GdiSwapBuffers -! FUNCTION: GdiTransparentBlt -! FUNCTION: GdiValidateHandle -! FUNCTION: GetArcDirection -! FUNCTION: GetAspectRatioFilterEx -! FUNCTION: GetBitmapAttributes -! FUNCTION: GetBitmapBits -! FUNCTION: GetBitmapDimensionEx -! FUNCTION: GetBkColor -! FUNCTION: GetBkMode -! FUNCTION: GetBoundsRect -! FUNCTION: GetBrushAttributes -! FUNCTION: GetBrushOrgEx -! FUNCTION: GetCharABCWidthsA -! FUNCTION: GetCharABCWidthsFloatA -! FUNCTION: GetCharABCWidthsFloatW -! FUNCTION: GetCharABCWidthsI -! FUNCTION: GetCharABCWidthsW -! FUNCTION: GetCharacterPlacementA -! FUNCTION: GetCharacterPlacementW -! FUNCTION: GetCharWidth32A -! FUNCTION: GetCharWidth32W -! FUNCTION: GetCharWidthA -! FUNCTION: GetCharWidthFloatA -! FUNCTION: GetCharWidthFloatW -! FUNCTION: GetCharWidthI -! FUNCTION: GetCharWidthInfo -! FUNCTION: GetCharWidthW -! FUNCTION: GetClipBox -! FUNCTION: GetClipRgn -! FUNCTION: GetColorAdjustment -! FUNCTION: GetColorSpace -! FUNCTION: GetCurrentObject -! FUNCTION: GetCurrentPositionEx -! FUNCTION: GetDCBrushColor -! FUNCTION: GetDCOrgEx -! FUNCTION: GetDCPenColor -! FUNCTION: GetDeviceCaps -! FUNCTION: GetDeviceGammaRamp -! FUNCTION: GetDIBColorTable -! FUNCTION: GetDIBits -! FUNCTION: GetEnhMetaFileA -! FUNCTION: GetEnhMetaFileBits -! FUNCTION: GetEnhMetaFileDescriptionA -! FUNCTION: GetEnhMetaFileDescriptionW -! FUNCTION: GetEnhMetaFileHeader -! FUNCTION: GetEnhMetaFilePaletteEntries -! FUNCTION: GetEnhMetaFilePixelFormat -! FUNCTION: GetEnhMetaFileW -! FUNCTION: GetETM -! FUNCTION: GetEUDCTimeStamp -! FUNCTION: GetEUDCTimeStampExW -! FUNCTION: GetFontAssocStatus -! FUNCTION: GetFontData -! FUNCTION: GetFontLanguageInfo -! FUNCTION: GetFontResourceInfoW -! FUNCTION: GetFontUnicodeRanges -! FUNCTION: GetGlyphIndicesA -! FUNCTION: GetGlyphIndicesW -! FUNCTION: GetGlyphOutline -! FUNCTION: GetGlyphOutlineA -! FUNCTION: GetGlyphOutlineW -! FUNCTION: GetGlyphOutlineWow -! FUNCTION: GetGraphicsMode -! FUNCTION: GetHFONT -! FUNCTION: GetICMProfileA -! FUNCTION: GetICMProfileW -! FUNCTION: GetKerningPairs -! FUNCTION: GetKerningPairsA -! FUNCTION: GetKerningPairsW -! FUNCTION: GetLayout -! FUNCTION: GetLogColorSpaceA -! FUNCTION: GetLogColorSpaceW -! FUNCTION: GetMapMode -! FUNCTION: GetMetaFileA -! FUNCTION: GetMetaFileBitsEx -! FUNCTION: GetMetaFileW -! FUNCTION: GetMetaRgn -! FUNCTION: GetMiterLimit -! FUNCTION: GetNearestColor -! FUNCTION: GetNearestPaletteIndex -! FUNCTION: GetObjectA -! FUNCTION: GetObjectType -! FUNCTION: GetObjectW -! FUNCTION: GetOutlineTextMetricsA -! FUNCTION: GetOutlineTextMetricsW -! FUNCTION: GetPaletteEntries -! FUNCTION: GetPath -! FUNCTION: GetPixel -! FUNCTION: GetPixelFormat -! FUNCTION: GetPolyFillMode -! FUNCTION: GetRandomRgn -! FUNCTION: GetRasterizerCaps -! FUNCTION: GetRegionData -! FUNCTION: GetRelAbs -! FUNCTION: GetRgnBox -! FUNCTION: GetROP2 -FUNCTION: HGDIOBJ GetStockObject ( int fnObject ) ; -! FUNCTION: GetStretchBltMode -! FUNCTION: GetStringBitmapA -! FUNCTION: GetStringBitmapW -! FUNCTION: GetSystemPaletteEntries -! FUNCTION: GetSystemPaletteUse -! FUNCTION: GetTextAlign -! FUNCTION: GetTextCharacterExtra -! FUNCTION: GetTextCharset -! FUNCTION: GetTextCharsetInfo -! FUNCTION: GetTextColor -! FUNCTION: GetTextExtentExPointA -! FUNCTION: GetTextExtentExPointI -! FUNCTION: GetTextExtentExPointW -! FUNCTION: GetTextExtentExPointWPri -! FUNCTION: GetTextExtentPoint32A -! FUNCTION: GetTextExtentPoint32W -! FUNCTION: GetTextExtentPointA -! FUNCTION: GetTextExtentPointI -! FUNCTION: GetTextExtentPointW -! FUNCTION: GetTextFaceA -! FUNCTION: GetTextFaceAliasW -! FUNCTION: GetTextFaceW -! FUNCTION: GetTextMetricsA -! FUNCTION: GetTextMetricsW -! FUNCTION: GetTransform -! FUNCTION: GetViewportExtEx -! FUNCTION: GetViewportOrgEx -! FUNCTION: GetWindowExtEx -! FUNCTION: GetWindowOrgEx -! FUNCTION: GetWinMetaFileBits -! FUNCTION: GetWorldTransform -! FUNCTION: HT_Get8BPPFormatPalette -! FUNCTION: HT_Get8BPPMaskPalette -! FUNCTION: IntersectClipRect -! FUNCTION: InvertRgn -! FUNCTION: IsValidEnhMetaRecord -! FUNCTION: IsValidEnhMetaRecordOffExt -! FUNCTION: LineDDA -! FUNCTION: LineTo -! FUNCTION: LPtoDP -! FUNCTION: MaskBlt -! FUNCTION: MirrorRgn -! FUNCTION: ModifyWorldTransform -! FUNCTION: MoveToEx -! FUNCTION: NamedEscape -! FUNCTION: OffsetClipRgn -! FUNCTION: OffsetRgn -! FUNCTION: OffsetViewportOrgEx -! FUNCTION: OffsetWindowOrgEx -! FUNCTION: PaintRgn -! FUNCTION: PatBlt -! FUNCTION: PATHOBJ_bEnum -! FUNCTION: PATHOBJ_bEnumClipLines -! FUNCTION: PATHOBJ_vEnumStart -! FUNCTION: PATHOBJ_vEnumStartClipLines -! FUNCTION: PATHOBJ_vGetBounds -! FUNCTION: PathToRegion -! FUNCTION: Pie -! FUNCTION: PlayEnhMetaFile -! FUNCTION: PlayEnhMetaFileRecord -! FUNCTION: PlayMetaFile -! FUNCTION: PlayMetaFileRecord -! FUNCTION: PlgBlt -! FUNCTION: PolyBezier -! FUNCTION: PolyBezierTo -! FUNCTION: PolyDraw -! FUNCTION: Polygon -! FUNCTION: Polyline -! FUNCTION: PolylineTo -! FUNCTION: PolyPatBlt -! FUNCTION: PolyPolygon -! FUNCTION: PolyPolyline -! FUNCTION: PolyTextOutA -! FUNCTION: PolyTextOutW -! FUNCTION: PtInRegion -! FUNCTION: PtVisible -! FUNCTION: QueryFontAssocStatus -! FUNCTION: RealizePalette -! FUNCTION: Rectangle -! FUNCTION: RectInRegion -! FUNCTION: RectVisible -! FUNCTION: RemoveFontMemResourceEx -! FUNCTION: RemoveFontResourceA -! FUNCTION: RemoveFontResourceExA -! FUNCTION: RemoveFontResourceExW -! FUNCTION: RemoveFontResourceTracking -! FUNCTION: RemoveFontResourceW -! FUNCTION: ResetDCA -! FUNCTION: ResetDCW -! FUNCTION: ResizePalette -! FUNCTION: RestoreDC -! FUNCTION: RoundRect -! FUNCTION: SaveDC -! FUNCTION: ScaleViewportExtEx -! FUNCTION: ScaleWindowExtEx -! FUNCTION: SelectBrushLocal -! FUNCTION: SelectClipPath -! FUNCTION: SelectClipRgn -! FUNCTION: SelectFontLocal -! FUNCTION: SelectObject -! FUNCTION: SelectPalette -! FUNCTION: SetAbortProc -! FUNCTION: SetArcDirection -! FUNCTION: SetBitmapAttributes -! FUNCTION: SetBitmapBits -! FUNCTION: SetBitmapDimensionEx -! FUNCTION: SetBkColor -! FUNCTION: SetBkMode -! FUNCTION: SetBoundsRect -! FUNCTION: SetBrushAttributes -! FUNCTION: SetBrushOrgEx -! FUNCTION: SetColorAdjustment -! FUNCTION: SetColorSpace -! FUNCTION: SetDCBrushColor -! FUNCTION: SetDCPenColor -! FUNCTION: SetDeviceGammaRamp -! FUNCTION: SetDIBColorTable -! FUNCTION: SetDIBits -! FUNCTION: SetDIBitsToDevice -! FUNCTION: SetEnhMetaFileBits -! FUNCTION: SetFontEnumeration -! FUNCTION: SetGraphicsMode -! FUNCTION: SetICMMode -! FUNCTION: SetICMProfileA -! FUNCTION: SetICMProfileW -! FUNCTION: SetLayout -! FUNCTION: SetLayoutWidth -! FUNCTION: SetMagicColors -! FUNCTION: SetMapMode -! FUNCTION: SetMapperFlags -! FUNCTION: SetMetaFileBitsEx -! FUNCTION: SetMetaRgn -! FUNCTION: SetMiterLimit -! FUNCTION: SetPaletteEntries -! FUNCTION: SetPixel -FUNCTION: BOOL SetPixelFormat ( HDC hDC, int iPixelFormat, PFD* ppfd ) ; -! FUNCTION: SetPixelV -! FUNCTION: SetPolyFillMode -! FUNCTION: SetRectRgn -! FUNCTION: SetRelAbs -! FUNCTION: SetROP2 -! FUNCTION: SetStretchBltMode -! FUNCTION: SetSystemPaletteUse -! FUNCTION: SetTextAlign -! FUNCTION: SetTextCharacterExtra -! FUNCTION: SetTextColor -! FUNCTION: SetTextJustification -! FUNCTION: SetViewportExtEx -! FUNCTION: SetViewportOrgEx -! FUNCTION: SetVirtualResolution -! FUNCTION: SetWindowExtEx -! FUNCTION: SetWindowOrgEx -! FUNCTION: SetWinMetaFileBits -! FUNCTION: SetWorldTransform -! FUNCTION: StartDocA -! FUNCTION: StartDocW -! FUNCTION: StartFormPage -! FUNCTION: StartPage -! FUNCTION: StretchBlt -! FUNCTION: StretchDIBits -! FUNCTION: STROBJ_bEnum -! FUNCTION: STROBJ_bEnumPositionsOnly -! FUNCTION: STROBJ_bGetAdvanceWidths -! FUNCTION: STROBJ_dwGetCodePage -! FUNCTION: STROBJ_vEnumStart -! FUNCTION: StrokeAndFillPath -! FUNCTION: StrokePath -FUNCTION: BOOL SwapBuffers ( HDC hDC ) ; -! FUNCTION: TextOutA -! FUNCTION: TextOutW -! FUNCTION: TranslateCharsetInfo -! FUNCTION: UnloadNetworkFonts -! FUNCTION: UnrealizeObject -! FUNCTION: UpdateColors -! FUNCTION: UpdateICMRegKeyA -! FUNCTION: UpdateICMRegKeyW -! FUNCTION: WidenPath -! FUNCTION: XFORMOBJ_bApplyXform -! FUNCTION: XFORMOBJ_iGetXform -! FUNCTION: XLATEOBJ_cGetPalette -! FUNCTION: XLATEOBJ_hGetColorTransform -! FUNCTION: XLATEOBJ_iXlate -! FUNCTION: XLATEOBJ_piVector +! FUNCTION: AbortDoc +! Copyright (C) 2005, 2006 Doug Coleman. +! See http://factor.sf.net/license.txt for BSD license. +USING: alien kernel errors ; +IN: win32-api + +LIBRARY: gdi32 + +! FUNCTION: AbortPath +! FUNCTION: AddFontMemResourceEx +! FUNCTION: AddFontResourceA +! FUNCTION: AddFontResourceExA +! FUNCTION: AddFontResourceExW +! FUNCTION: AddFontResourceTracking +! FUNCTION: AddFontResourceW +! FUNCTION: AngleArc +! FUNCTION: AnimatePalette +! FUNCTION: AnyLinkedFonts +! FUNCTION: Arc +! FUNCTION: ArcTo +! FUNCTION: BeginPath +! FUNCTION: bInitSystemAndFontsDirectoriesW +! FUNCTION: BitBlt +! FUNCTION: bMakePathNameW +! FUNCTION: BRUSHOBJ_hGetColorTransform +! FUNCTION: BRUSHOBJ_pvAllocRbrush +! FUNCTION: BRUSHOBJ_pvGetRbrush +! FUNCTION: BRUSHOBJ_ulGetBrushColor +! FUNCTION: CancelDC +! FUNCTION: cGetTTFFromFOT +! FUNCTION: CheckColorsInGamut +FUNCTION: int ChoosePixelFormat ( HDC hDC, PFD* ppfd ) ; +! FUNCTION: Chord +! FUNCTION: ClearBitmapAttributes +! FUNCTION: ClearBrushAttributes +! FUNCTION: CLIPOBJ_bEnum +! FUNCTION: CLIPOBJ_cEnumStart +! FUNCTION: CLIPOBJ_ppoGetPath +! FUNCTION: CloseEnhMetaFile +! FUNCTION: CloseFigure +! FUNCTION: CloseMetaFile +! FUNCTION: ColorCorrectPalette +! FUNCTION: ColorMatchToTarget +! FUNCTION: CombineRgn +! FUNCTION: CombineTransform +! FUNCTION: CopyEnhMetaFileA +! FUNCTION: CopyEnhMetaFileW +! FUNCTION: CopyMetaFileA +! FUNCTION: CopyMetaFileW +! FUNCTION: CreateBitmap +! FUNCTION: CreateBitmapIndirect +! FUNCTION: CreateBrushIndirect +! FUNCTION: CreateColorSpaceA +! FUNCTION: CreateColorSpaceW +! FUNCTION: CreateCompatibleBitmap +! FUNCTION: CreateCompatibleDC +! FUNCTION: CreateDCA +! FUNCTION: CreateDCW +! FUNCTION: CreateDIBitmap +! FUNCTION: CreateDIBPatternBrush +! FUNCTION: CreateDIBPatternBrushPt +! FUNCTION: CreateDIBSection +! FUNCTION: CreateDiscardableBitmap +! FUNCTION: CreateEllipticRgn +! FUNCTION: CreateEllipticRgnIndirect +! FUNCTION: CreateEnhMetaFileA +! FUNCTION: CreateEnhMetaFileW +! FUNCTION: CreateFontA +! FUNCTION: CreateFontIndirectA +! FUNCTION: CreateFontIndirectExA +! FUNCTION: CreateFontIndirectExW +! FUNCTION: CreateFontIndirectW +! FUNCTION: CreateFontW +! FUNCTION: CreateHalftonePalette +! FUNCTION: CreateHatchBrush +! FUNCTION: CreateICA +! FUNCTION: CreateICW +! FUNCTION: CreateMetaFileA +! FUNCTION: CreateMetaFileW +! FUNCTION: CreatePalette +! FUNCTION: CreatePatternBrush +! FUNCTION: CreatePen +! FUNCTION: CreatePenIndirect +! FUNCTION: CreatePolygonRgn +! FUNCTION: CreatePolyPolygonRgn +! FUNCTION: CreateRectRgn +! FUNCTION: CreateRectRgnIndirect +! FUNCTION: CreateRoundRectRgn +! FUNCTION: CreateScalableFontResourceA +! FUNCTION: CreateScalableFontResourceW +! FUNCTION: CreateSolidBrush +! FUNCTION: DdEntry0 +! FUNCTION: DdEntry1 +! FUNCTION: DdEntry10 +! FUNCTION: DdEntry11 +! FUNCTION: DdEntry12 +! FUNCTION: DdEntry13 +! FUNCTION: DdEntry14 +! FUNCTION: DdEntry15 +! FUNCTION: DdEntry16 +! FUNCTION: DdEntry17 +! FUNCTION: DdEntry18 +! FUNCTION: DdEntry19 +! FUNCTION: DdEntry2 +! FUNCTION: DdEntry20 +! FUNCTION: DdEntry21 +! FUNCTION: DdEntry22 +! FUNCTION: DdEntry23 +! FUNCTION: DdEntry24 +! FUNCTION: DdEntry25 +! FUNCTION: DdEntry26 +! FUNCTION: DdEntry27 +! FUNCTION: DdEntry28 +! FUNCTION: DdEntry29 +! FUNCTION: DdEntry3 +! FUNCTION: DdEntry30 +! FUNCTION: DdEntry31 +! FUNCTION: DdEntry32 +! FUNCTION: DdEntry33 +! FUNCTION: DdEntry34 +! FUNCTION: DdEntry35 +! FUNCTION: DdEntry36 +! FUNCTION: DdEntry37 +! FUNCTION: DdEntry38 +! FUNCTION: DdEntry39 +! FUNCTION: DdEntry4 +! FUNCTION: DdEntry40 +! FUNCTION: DdEntry41 +! FUNCTION: DdEntry42 +! FUNCTION: DdEntry43 +! FUNCTION: DdEntry44 +! FUNCTION: DdEntry45 +! FUNCTION: DdEntry46 +! FUNCTION: DdEntry47 +! FUNCTION: DdEntry48 +! FUNCTION: DdEntry49 +! FUNCTION: DdEntry5 +! FUNCTION: DdEntry50 +! FUNCTION: DdEntry51 +! FUNCTION: DdEntry52 +! FUNCTION: DdEntry53 +! FUNCTION: DdEntry54 +! FUNCTION: DdEntry55 +! FUNCTION: DdEntry56 +! FUNCTION: DdEntry6 +! FUNCTION: DdEntry7 +! FUNCTION: DdEntry8 +! FUNCTION: DdEntry9 +! FUNCTION: DeleteColorSpace +! FUNCTION: DeleteDC +! FUNCTION: DeleteEnhMetaFile +! FUNCTION: DeleteMetaFile +! FUNCTION: DeleteObject +! FUNCTION: DescribePixelFormat +! FUNCTION: DeviceCapabilitiesExA +! FUNCTION: DeviceCapabilitiesExW +! FUNCTION: DPtoLP +! FUNCTION: DrawEscape +! FUNCTION: Ellipse +! FUNCTION: EnableEUDC +! FUNCTION: EndDoc +! FUNCTION: EndFormPage +! FUNCTION: EndPage +! FUNCTION: EndPath +! FUNCTION: EngAcquireSemaphore +! FUNCTION: EngAlphaBlend +! FUNCTION: EngAssociateSurface +! FUNCTION: EngBitBlt +! FUNCTION: EngCheckAbort +! FUNCTION: EngComputeGlyphSet +! FUNCTION: EngCopyBits +! FUNCTION: EngCreateBitmap +! FUNCTION: EngCreateClip +! FUNCTION: EngCreateDeviceBitmap +! FUNCTION: EngCreateDeviceSurface +! FUNCTION: EngCreatePalette +! FUNCTION: EngCreateSemaphore +! FUNCTION: EngDeleteClip +! FUNCTION: EngDeletePalette +! FUNCTION: EngDeletePath +! FUNCTION: EngDeleteSemaphore +! FUNCTION: EngDeleteSurface +! FUNCTION: EngEraseSurface +! FUNCTION: EngFillPath +! FUNCTION: EngFindResource +! FUNCTION: EngFreeModule +! FUNCTION: EngGetCurrentCodePage +! FUNCTION: EngGetDriverName +! FUNCTION: EngGetPrinterDataFileName +! FUNCTION: EngGradientFill +! FUNCTION: EngLineTo +! FUNCTION: EngLoadModule +! FUNCTION: EngLockSurface +! FUNCTION: EngMarkBandingSurface +! FUNCTION: EngMultiByteToUnicodeN +! FUNCTION: EngMultiByteToWideChar +! FUNCTION: EngPaint +! FUNCTION: EngPlgBlt +! FUNCTION: EngQueryEMFInfo +! FUNCTION: EngQueryLocalTime +! FUNCTION: EngReleaseSemaphore +! FUNCTION: EngStretchBlt +! FUNCTION: EngStretchBltROP +! FUNCTION: EngStrokeAndFillPath +! FUNCTION: EngStrokePath +! FUNCTION: EngTextOut +! FUNCTION: EngTransparentBlt +! FUNCTION: EngUnicodeToMultiByteN +! FUNCTION: EngUnlockSurface +! FUNCTION: EngWideCharToMultiByte +! FUNCTION: EnumEnhMetaFile +! FUNCTION: EnumFontFamiliesA +! FUNCTION: EnumFontFamiliesExA +! FUNCTION: EnumFontFamiliesExW +! FUNCTION: EnumFontFamiliesW +! FUNCTION: EnumFontsA +! FUNCTION: EnumFontsW +! FUNCTION: EnumICMProfilesA +! FUNCTION: EnumICMProfilesW +! FUNCTION: EnumMetaFile +! FUNCTION: EnumObjects +! FUNCTION: EqualRgn +! FUNCTION: Escape +! FUNCTION: EudcLoadLinkW +! FUNCTION: EudcUnloadLinkW +! FUNCTION: ExcludeClipRect +! FUNCTION: ExtCreatePen +! FUNCTION: ExtCreateRegion +! FUNCTION: ExtEscape +! FUNCTION: ExtFloodFill +! FUNCTION: ExtSelectClipRgn +! FUNCTION: ExtTextOutA +! FUNCTION: ExtTextOutW +! FUNCTION: FillPath +! FUNCTION: FillRgn +! FUNCTION: FixBrushOrgEx +! FUNCTION: FlattenPath +! FUNCTION: FloodFill +! FUNCTION: FontIsLinked +! FUNCTION: FONTOBJ_cGetAllGlyphHandles +! FUNCTION: FONTOBJ_cGetGlyphs +! FUNCTION: FONTOBJ_pfdg +! FUNCTION: FONTOBJ_pifi +! FUNCTION: FONTOBJ_pQueryGlyphAttrs +! FUNCTION: FONTOBJ_pvTrueTypeFontFile +! FUNCTION: FONTOBJ_pxoGetXform +! FUNCTION: FONTOBJ_vGetInfo +! FUNCTION: FrameRgn +! FUNCTION: GdiAddFontResourceW +! FUNCTION: GdiAddGlsBounds +! FUNCTION: GdiAddGlsRecord +! FUNCTION: GdiAlphaBlend +! FUNCTION: GdiArtificialDecrementDriver +! FUNCTION: GdiCleanCacheDC +! FUNCTION: GdiComment +! FUNCTION: GdiConsoleTextOut +! FUNCTION: GdiConvertAndCheckDC +! FUNCTION: GdiConvertBitmap +! FUNCTION: GdiConvertBitmapV5 +! FUNCTION: GdiConvertBrush +! FUNCTION: GdiConvertDC +! FUNCTION: GdiConvertEnhMetaFile +! FUNCTION: GdiConvertFont +! FUNCTION: GdiConvertMetaFilePict +! FUNCTION: GdiConvertPalette +! FUNCTION: GdiConvertRegion +! FUNCTION: GdiConvertToDevmodeW +! FUNCTION: GdiCreateLocalEnhMetaFile +! FUNCTION: GdiCreateLocalMetaFilePict +! FUNCTION: GdiDeleteLocalDC +! FUNCTION: GdiDeleteSpoolFileHandle +! FUNCTION: GdiDescribePixelFormat +! FUNCTION: GdiDllInitialize +! FUNCTION: GdiDrawStream +! FUNCTION: GdiEndDocEMF +! FUNCTION: GdiEndPageEMF +! FUNCTION: GdiEntry1 +! FUNCTION: GdiEntry10 +! FUNCTION: GdiEntry11 +! FUNCTION: GdiEntry12 +! FUNCTION: GdiEntry13 +! FUNCTION: GdiEntry14 +! FUNCTION: GdiEntry15 +! FUNCTION: GdiEntry16 +! FUNCTION: GdiEntry2 +! FUNCTION: GdiEntry3 +! FUNCTION: GdiEntry4 +! FUNCTION: GdiEntry5 +! FUNCTION: GdiEntry6 +! FUNCTION: GdiEntry7 +! FUNCTION: GdiEntry8 +! FUNCTION: GdiEntry9 +! FUNCTION: GdiFixUpHandle +! FUNCTION: GdiFlush +! FUNCTION: GdiFullscreenControl +! FUNCTION: GdiGetBatchLimit +! FUNCTION: GdiGetCharDimensions +! FUNCTION: GdiGetCodePage +! FUNCTION: GdiGetDC +! FUNCTION: GdiGetDevmodeForPage +! FUNCTION: GdiGetLocalBrush +! FUNCTION: GdiGetLocalDC +! FUNCTION: GdiGetLocalFont +! FUNCTION: GdiGetPageCount +! FUNCTION: GdiGetPageHandle +! FUNCTION: GdiGetSpoolFileHandle +! FUNCTION: GdiGetSpoolMessage +! FUNCTION: GdiGradientFill +! FUNCTION: GdiInitializeLanguagePack +! FUNCTION: GdiInitSpool +! FUNCTION: GdiIsMetaFileDC +! FUNCTION: GdiIsMetaPrintDC +! FUNCTION: GdiIsPlayMetafileDC +! FUNCTION: GdiPlayDCScript +! FUNCTION: GdiPlayEMF +! FUNCTION: GdiPlayJournal +! FUNCTION: GdiPlayPageEMF +! FUNCTION: GdiPlayPrivatePageEMF +! FUNCTION: GdiPlayScript +! FUNCTION: gdiPlaySpoolStream +! FUNCTION: GdiPrinterThunk +! FUNCTION: GdiProcessSetup +! FUNCTION: GdiQueryFonts +! FUNCTION: GdiQueryTable +! FUNCTION: GdiRealizationInfo +! FUNCTION: GdiReleaseDC +! FUNCTION: GdiReleaseLocalDC +! FUNCTION: GdiResetDCEMF +! FUNCTION: GdiSetAttrs +! FUNCTION: GdiSetBatchLimit +! FUNCTION: GdiSetLastError +! FUNCTION: GdiSetPixelFormat +! FUNCTION: GdiSetServerAttr +! FUNCTION: GdiStartDocEMF +! FUNCTION: GdiStartPageEMF +! FUNCTION: GdiSwapBuffers +! FUNCTION: GdiTransparentBlt +! FUNCTION: GdiValidateHandle +! FUNCTION: GetArcDirection +! FUNCTION: GetAspectRatioFilterEx +! FUNCTION: GetBitmapAttributes +! FUNCTION: GetBitmapBits +! FUNCTION: GetBitmapDimensionEx +! FUNCTION: GetBkColor +! FUNCTION: GetBkMode +! FUNCTION: GetBoundsRect +! FUNCTION: GetBrushAttributes +! FUNCTION: GetBrushOrgEx +! FUNCTION: GetCharABCWidthsA +! FUNCTION: GetCharABCWidthsFloatA +! FUNCTION: GetCharABCWidthsFloatW +! FUNCTION: GetCharABCWidthsI +! FUNCTION: GetCharABCWidthsW +! FUNCTION: GetCharacterPlacementA +! FUNCTION: GetCharacterPlacementW +! FUNCTION: GetCharWidth32A +! FUNCTION: GetCharWidth32W +! FUNCTION: GetCharWidthA +! FUNCTION: GetCharWidthFloatA +! FUNCTION: GetCharWidthFloatW +! FUNCTION: GetCharWidthI +! FUNCTION: GetCharWidthInfo +! FUNCTION: GetCharWidthW +! FUNCTION: GetClipBox +! FUNCTION: GetClipRgn +! FUNCTION: GetColorAdjustment +! FUNCTION: GetColorSpace +! FUNCTION: GetCurrentObject +! FUNCTION: GetCurrentPositionEx +! FUNCTION: GetDCBrushColor +! FUNCTION: GetDCOrgEx +! FUNCTION: GetDCPenColor +! FUNCTION: GetDeviceCaps +! FUNCTION: GetDeviceGammaRamp +! FUNCTION: GetDIBColorTable +! FUNCTION: GetDIBits +! FUNCTION: GetEnhMetaFileA +! FUNCTION: GetEnhMetaFileBits +! FUNCTION: GetEnhMetaFileDescriptionA +! FUNCTION: GetEnhMetaFileDescriptionW +! FUNCTION: GetEnhMetaFileHeader +! FUNCTION: GetEnhMetaFilePaletteEntries +! FUNCTION: GetEnhMetaFilePixelFormat +! FUNCTION: GetEnhMetaFileW +! FUNCTION: GetETM +! FUNCTION: GetEUDCTimeStamp +! FUNCTION: GetEUDCTimeStampExW +! FUNCTION: GetFontAssocStatus +! FUNCTION: GetFontData +! FUNCTION: GetFontLanguageInfo +! FUNCTION: GetFontResourceInfoW +! FUNCTION: GetFontUnicodeRanges +! FUNCTION: GetGlyphIndicesA +! FUNCTION: GetGlyphIndicesW +! FUNCTION: GetGlyphOutline +! FUNCTION: GetGlyphOutlineA +! FUNCTION: GetGlyphOutlineW +! FUNCTION: GetGlyphOutlineWow +! FUNCTION: GetGraphicsMode +! FUNCTION: GetHFONT +! FUNCTION: GetICMProfileA +! FUNCTION: GetICMProfileW +! FUNCTION: GetKerningPairs +! FUNCTION: GetKerningPairsA +! FUNCTION: GetKerningPairsW +! FUNCTION: GetLayout +! FUNCTION: GetLogColorSpaceA +! FUNCTION: GetLogColorSpaceW +! FUNCTION: GetMapMode +! FUNCTION: GetMetaFileA +! FUNCTION: GetMetaFileBitsEx +! FUNCTION: GetMetaFileW +! FUNCTION: GetMetaRgn +! FUNCTION: GetMiterLimit +! FUNCTION: GetNearestColor +! FUNCTION: GetNearestPaletteIndex +! FUNCTION: GetObjectA +! FUNCTION: GetObjectType +! FUNCTION: GetObjectW +! FUNCTION: GetOutlineTextMetricsA +! FUNCTION: GetOutlineTextMetricsW +! FUNCTION: GetPaletteEntries +! FUNCTION: GetPath +! FUNCTION: GetPixel +! FUNCTION: GetPixelFormat +! FUNCTION: GetPolyFillMode +! FUNCTION: GetRandomRgn +! FUNCTION: GetRasterizerCaps +! FUNCTION: GetRegionData +! FUNCTION: GetRelAbs +! FUNCTION: GetRgnBox +! FUNCTION: GetROP2 +FUNCTION: HGDIOBJ GetStockObject ( int fnObject ) ; +! FUNCTION: GetStretchBltMode +! FUNCTION: GetStringBitmapA +! FUNCTION: GetStringBitmapW +! FUNCTION: GetSystemPaletteEntries +! FUNCTION: GetSystemPaletteUse +! FUNCTION: GetTextAlign +! FUNCTION: GetTextCharacterExtra +! FUNCTION: GetTextCharset +! FUNCTION: GetTextCharsetInfo +! FUNCTION: GetTextColor +! FUNCTION: GetTextExtentExPointA +! FUNCTION: GetTextExtentExPointI +! FUNCTION: GetTextExtentExPointW +! FUNCTION: GetTextExtentExPointWPri +! FUNCTION: GetTextExtentPoint32A +! FUNCTION: GetTextExtentPoint32W +! FUNCTION: GetTextExtentPointA +! FUNCTION: GetTextExtentPointI +! FUNCTION: GetTextExtentPointW +! FUNCTION: GetTextFaceA +! FUNCTION: GetTextFaceAliasW +! FUNCTION: GetTextFaceW +! FUNCTION: GetTextMetricsA +! FUNCTION: GetTextMetricsW +! FUNCTION: GetTransform +! FUNCTION: GetViewportExtEx +! FUNCTION: GetViewportOrgEx +! FUNCTION: GetWindowExtEx +! FUNCTION: GetWindowOrgEx +! FUNCTION: GetWinMetaFileBits +! FUNCTION: GetWorldTransform +! FUNCTION: HT_Get8BPPFormatPalette +! FUNCTION: HT_Get8BPPMaskPalette +! FUNCTION: IntersectClipRect +! FUNCTION: InvertRgn +! FUNCTION: IsValidEnhMetaRecord +! FUNCTION: IsValidEnhMetaRecordOffExt +! FUNCTION: LineDDA +! FUNCTION: LineTo +! FUNCTION: LPtoDP +! FUNCTION: MaskBlt +! FUNCTION: MirrorRgn +! FUNCTION: ModifyWorldTransform +! FUNCTION: MoveToEx +! FUNCTION: NamedEscape +! FUNCTION: OffsetClipRgn +! FUNCTION: OffsetRgn +! FUNCTION: OffsetViewportOrgEx +! FUNCTION: OffsetWindowOrgEx +! FUNCTION: PaintRgn +! FUNCTION: PatBlt +! FUNCTION: PATHOBJ_bEnum +! FUNCTION: PATHOBJ_bEnumClipLines +! FUNCTION: PATHOBJ_vEnumStart +! FUNCTION: PATHOBJ_vEnumStartClipLines +! FUNCTION: PATHOBJ_vGetBounds +! FUNCTION: PathToRegion +! FUNCTION: Pie +! FUNCTION: PlayEnhMetaFile +! FUNCTION: PlayEnhMetaFileRecord +! FUNCTION: PlayMetaFile +! FUNCTION: PlayMetaFileRecord +! FUNCTION: PlgBlt +! FUNCTION: PolyBezier +! FUNCTION: PolyBezierTo +! FUNCTION: PolyDraw +! FUNCTION: Polygon +! FUNCTION: Polyline +! FUNCTION: PolylineTo +! FUNCTION: PolyPatBlt +! FUNCTION: PolyPolygon +! FUNCTION: PolyPolyline +! FUNCTION: PolyTextOutA +! FUNCTION: PolyTextOutW +! FUNCTION: PtInRegion +! FUNCTION: PtVisible +! FUNCTION: QueryFontAssocStatus +! FUNCTION: RealizePalette +! FUNCTION: Rectangle +! FUNCTION: RectInRegion +! FUNCTION: RectVisible +! FUNCTION: RemoveFontMemResourceEx +! FUNCTION: RemoveFontResourceA +! FUNCTION: RemoveFontResourceExA +! FUNCTION: RemoveFontResourceExW +! FUNCTION: RemoveFontResourceTracking +! FUNCTION: RemoveFontResourceW +! FUNCTION: ResetDCA +! FUNCTION: ResetDCW +! FUNCTION: ResizePalette +! FUNCTION: RestoreDC +! FUNCTION: RoundRect +! FUNCTION: SaveDC +! FUNCTION: ScaleViewportExtEx +! FUNCTION: ScaleWindowExtEx +! FUNCTION: SelectBrushLocal +! FUNCTION: SelectClipPath +! FUNCTION: SelectClipRgn +! FUNCTION: SelectFontLocal +! FUNCTION: SelectObject +! FUNCTION: SelectPalette +! FUNCTION: SetAbortProc +! FUNCTION: SetArcDirection +! FUNCTION: SetBitmapAttributes +! FUNCTION: SetBitmapBits +! FUNCTION: SetBitmapDimensionEx +! FUNCTION: SetBkColor +! FUNCTION: SetBkMode +! FUNCTION: SetBoundsRect +! FUNCTION: SetBrushAttributes +! FUNCTION: SetBrushOrgEx +! FUNCTION: SetColorAdjustment +! FUNCTION: SetColorSpace +! FUNCTION: SetDCBrushColor +! FUNCTION: SetDCPenColor +! FUNCTION: SetDeviceGammaRamp +! FUNCTION: SetDIBColorTable +! FUNCTION: SetDIBits +! FUNCTION: SetDIBitsToDevice +! FUNCTION: SetEnhMetaFileBits +! FUNCTION: SetFontEnumeration +! FUNCTION: SetGraphicsMode +! FUNCTION: SetICMMode +! FUNCTION: SetICMProfileA +! FUNCTION: SetICMProfileW +! FUNCTION: SetLayout +! FUNCTION: SetLayoutWidth +! FUNCTION: SetMagicColors +! FUNCTION: SetMapMode +! FUNCTION: SetMapperFlags +! FUNCTION: SetMetaFileBitsEx +! FUNCTION: SetMetaRgn +! FUNCTION: SetMiterLimit +! FUNCTION: SetPaletteEntries +! FUNCTION: SetPixel +FUNCTION: BOOL SetPixelFormat ( HDC hDC, int iPixelFormat, PFD* ppfd ) ; +! FUNCTION: SetPixelV +! FUNCTION: SetPolyFillMode +! FUNCTION: SetRectRgn +! FUNCTION: SetRelAbs +! FUNCTION: SetROP2 +! FUNCTION: SetStretchBltMode +! FUNCTION: SetSystemPaletteUse +! FUNCTION: SetTextAlign +! FUNCTION: SetTextCharacterExtra +! FUNCTION: SetTextColor +! FUNCTION: SetTextJustification +! FUNCTION: SetViewportExtEx +! FUNCTION: SetViewportOrgEx +! FUNCTION: SetVirtualResolution +! FUNCTION: SetWindowExtEx +! FUNCTION: SetWindowOrgEx +! FUNCTION: SetWinMetaFileBits +! FUNCTION: SetWorldTransform +! FUNCTION: StartDocA +! FUNCTION: StartDocW +! FUNCTION: StartFormPage +! FUNCTION: StartPage +! FUNCTION: StretchBlt +! FUNCTION: StretchDIBits +! FUNCTION: STROBJ_bEnum +! FUNCTION: STROBJ_bEnumPositionsOnly +! FUNCTION: STROBJ_bGetAdvanceWidths +! FUNCTION: STROBJ_dwGetCodePage +! FUNCTION: STROBJ_vEnumStart +! FUNCTION: StrokeAndFillPath +! FUNCTION: StrokePath +FUNCTION: BOOL SwapBuffers ( HDC hDC ) ; +! FUNCTION: TextOutA +! FUNCTION: TextOutW +! FUNCTION: TranslateCharsetInfo +! FUNCTION: UnloadNetworkFonts +! FUNCTION: UnrealizeObject +! FUNCTION: UpdateColors +! FUNCTION: UpdateICMRegKeyA +! FUNCTION: UpdateICMRegKeyW +! FUNCTION: WidenPath +! FUNCTION: XFORMOBJ_bApplyXform +! FUNCTION: XFORMOBJ_iGetXform +! FUNCTION: XLATEOBJ_cGetPalette +! FUNCTION: XLATEOBJ_hGetColorTransform +! FUNCTION: XLATEOBJ_iXlate +! FUNCTION: XLATEOBJ_piVector diff --git a/library/windows/kernel32.factor b/library/windows/kernel32.factor index 75c18dd8ef..84099569c1 100644 --- a/library/windows/kernel32.factor +++ b/library/windows/kernel32.factor @@ -1,961 +1,961 @@ -IN: win32-api - -LIBRARY: kernel32 -! FUNCTION: _hread -! FUNCTION: _hwrite -! FUNCTION: _lclose -! FUNCTION: _lcreat -! FUNCTION: _llseek -! FUNCTION: _lopen -! FUNCTION: _lread -! FUNCTION: _lwrite -! FUNCTION: ActivateActCtx -! FUNCTION: AddAtomA -! FUNCTION: AddAtomW -! FUNCTION: AddConsoleAliasA -! FUNCTION: AddConsoleAliasW -! FUNCTION: AddLocalAlternateComputerNameA -! FUNCTION: AddLocalAlternateComputerNameW -! FUNCTION: AddRefActCtx -! FUNCTION: AddVectoredExceptionHandler -! FUNCTION: AllocateUserPhysicalPages -! FUNCTION: AllocConsole -! FUNCTION: AreFileApisANSI -! FUNCTION: AssignProcessToJobObject -! FUNCTION: AttachConsole -! FUNCTION: BackupRead -! FUNCTION: BackupSeek -! FUNCTION: BackupWrite -! FUNCTION: BaseCheckAppcompatCache -! FUNCTION: BaseCleanupAppcompatCache -! FUNCTION: BaseCleanupAppcompatCacheSupport -! FUNCTION: BaseDumpAppcompatCache -! FUNCTION: BaseFlushAppcompatCache -! FUNCTION: BaseInitAppcompatCache -! FUNCTION: BaseInitAppcompatCacheSupport -! FUNCTION: BasepCheckWinSaferRestrictions -! FUNCTION: BaseProcessInitPostImport -! FUNCTION: BaseQueryModuleData -! FUNCTION: BaseUpdateAppcompatCache -! FUNCTION: Beep -! FUNCTION: BeginUpdateResourceA -! FUNCTION: BeginUpdateResourceW -! FUNCTION: BindIoCompletionCallback -! FUNCTION: BuildCommDCBA -! FUNCTION: BuildCommDCBAndTimeoutsA -! FUNCTION: BuildCommDCBAndTimeoutsW -! FUNCTION: BuildCommDCBW -! FUNCTION: CallNamedPipeA -! FUNCTION: CallNamedPipeW -! FUNCTION: CancelDeviceWakeupRequest -FUNCTION: BOOL CancelIo ( HANDLE h ) ; -! FUNCTION: CancelTimerQueueTimer -! FUNCTION: CancelWaitableTimer -! FUNCTION: ChangeTimerQueueTimer -! FUNCTION: CheckNameLegalDOS8Dot3A -! FUNCTION: CheckNameLegalDOS8Dot3W -! FUNCTION: CheckRemoteDebuggerPresent -! FUNCTION: ClearCommBreak -! FUNCTION: ClearCommError -! FUNCTION: CloseConsoleHandle -FUNCTION: BOOL CloseHandle ( HANDLE h ) ; -! FUNCTION: CloseProfileUserMapping -! FUNCTION: CmdBatNotification -! FUNCTION: CommConfigDialogA -! FUNCTION: CommConfigDialogW -! FUNCTION: CompareFileTime -! FUNCTION: CompareStringA -! FUNCTION: CompareStringW -! FUNCTION: ConnectNamedPipe -! FUNCTION: ConsoleMenuControl -! FUNCTION: ContinueDebugEvent -! FUNCTION: ConvertDefaultLocale -! FUNCTION: ConvertFiberToThread -! FUNCTION: ConvertThreadToFiber -! FUNCTION: CopyFileA -! FUNCTION: CopyFileExA -! FUNCTION: CopyFileExW -! FUNCTION: CopyFileW -! FUNCTION: CopyLZFile -! FUNCTION: CreateActCtxA -! FUNCTION: CreateActCtxW -! FUNCTION: CreateConsoleScreenBuffer -! FUNCTION: CreateDirectoryA -! FUNCTION: CreateDirectoryExA -! FUNCTION: CreateDirectoryExW -! FUNCTION: CreateDirectoryW -! FUNCTION: CreateEventA -! FUNCTION: CreateEventW -! FUNCTION: CreateFiber -! FUNCTION: CreateFiberEx - -FUNCTION: HANDLE CreateFileA ( char* lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttribures, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile ) ; - -FUNCTION: HANDLE CreateFileW ( char* lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttribures, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile ) ; -: CreateFile \ CreateFileW \ CreateFileA unicode-exec ; - -! FUNCTION: CreateFileMappingA -! FUNCTION: CreateFileMappingW -! FUNCTION: CreateHardLinkA -! FUNCTION: CreateHardLinkW -! FUNCTION: HANDLE CreateIoCompletionPort ( HANDLE hFileHandle, HANDLE hExistingCompletionPort, ULONG_PTR uCompletionKey, DWORD dwNumberofConcurrentThreads ) ; -FUNCTION: HANDLE CreateIoCompletionPort ( HANDLE hFileHandle, HANDLE hExistingCompletionPort, void* uCompletionKey, DWORD dwNumberofConcurrentThreads ) ; -! FUNCTION: CreateJobObjectA -! FUNCTION: CreateJobObjectW -! FUNCTION: CreateJobSet -! FUNCTION: CreateMailslotA -! FUNCTION: CreateMailslotW -! FUNCTION: CreateMemoryResourceNotification -! FUNCTION: CreateMutexA -! FUNCTION: CreateMutexW -! FUNCTION: CreateNamedPipeA -! FUNCTION: CreateNamedPipeW -! FUNCTION: CreateNlsSecurityDescriptor -! FUNCTION: CreatePipe -! FUNCTION: CreateProcessA -! FUNCTION: CreateProcessInternalA -! FUNCTION: CreateProcessInternalW -! FUNCTION: CreateProcessInternalWSecure -! FUNCTION: CreateProcessW -! FUNCTION: CreateRemoteThread -! FUNCTION: CreateSemaphoreA -! FUNCTION: CreateSemaphoreW -! FUNCTION: CreateSocketHandle -! FUNCTION: CreateTapePartition -! FUNCTION: CreateThread -! FUNCTION: CreateTimerQueue -! FUNCTION: CreateTimerQueueTimer -! FUNCTION: CreateToolhelp32Snapshot -! FUNCTION: CreateVirtualBuffer -! FUNCTION: CreateWaitableTimerA -! FUNCTION: CreateWaitableTimerW -! FUNCTION: DeactivateActCtx -! FUNCTION: DebugActiveProcess -! FUNCTION: DebugActiveProcessStop -! FUNCTION: DebugBreak -! FUNCTION: DebugBreakProcess -! FUNCTION: DebugSetProcessKillOnExit -! FUNCTION: DecodePointer -! FUNCTION: DecodeSystemPointer -! FUNCTION: DefineDosDeviceA -! FUNCTION: DefineDosDeviceW -! FUNCTION: DelayLoadFailureHook -! FUNCTION: DeleteAtom -! FUNCTION: DeleteCriticalSection -! FUNCTION: DeleteFiber -! FUNCTION: DeleteFileA -! FUNCTION: DeleteFileW -! FUNCTION: DeleteTimerQueue -! FUNCTION: DeleteTimerQueueEx -! FUNCTION: DeleteTimerQueueTimer -! FUNCTION: DeleteVolumeMountPointA -! FUNCTION: DeleteVolumeMountPointW -! FUNCTION: DeviceIoControl -! FUNCTION: DisableThreadLibraryCalls -! FUNCTION: DisconnectNamedPipe -! FUNCTION: DnsHostnameToComputerNameA -! FUNCTION: DnsHostnameToComputerNameW -! FUNCTION: DosDateTimeToFileTime -! FUNCTION: DosPathToSessionPathA -! FUNCTION: DosPathToSessionPathW -! FUNCTION: DuplicateConsoleHandle -! FUNCTION: DuplicateHandle -! FUNCTION: EncodePointer -! FUNCTION: EncodeSystemPointer -! FUNCTION: EndUpdateResourceA -! FUNCTION: EndUpdateResourceW -! FUNCTION: EnterCriticalSection -! FUNCTION: EnumCalendarInfoA -! FUNCTION: EnumCalendarInfoExA -! FUNCTION: EnumCalendarInfoExW -! FUNCTION: EnumCalendarInfoW -! FUNCTION: EnumDateFormatsA -! FUNCTION: EnumDateFormatsExA -! FUNCTION: EnumDateFormatsExW -! FUNCTION: EnumDateFormatsW -! FUNCTION: EnumerateLocalComputerNamesA -! FUNCTION: EnumerateLocalComputerNamesW -! FUNCTION: EnumLanguageGroupLocalesA -! FUNCTION: EnumLanguageGroupLocalesW -! FUNCTION: EnumResourceLanguagesA -! FUNCTION: EnumResourceLanguagesW -! FUNCTION: EnumResourceNamesA -! FUNCTION: EnumResourceNamesW -! FUNCTION: EnumResourceTypesA -! FUNCTION: EnumResourceTypesW -! FUNCTION: EnumSystemCodePagesA -! FUNCTION: EnumSystemCodePagesW -! FUNCTION: EnumSystemGeoID -! FUNCTION: EnumSystemLanguageGroupsA -! FUNCTION: EnumSystemLanguageGroupsW -! FUNCTION: EnumSystemLocalesA -! FUNCTION: EnumSystemLocalesW -! FUNCTION: EnumTimeFormatsA -! FUNCTION: EnumTimeFormatsW -! FUNCTION: EnumUILanguagesA -! FUNCTION: EnumUILanguagesW -! FUNCTION: EraseTape -! FUNCTION: EscapeCommFunction -! FUNCTION: ExitProcess -! FUNCTION: ExitThread -! FUNCTION: ExitVDM -! FUNCTION: ExpandEnvironmentStringsA -! FUNCTION: ExpandEnvironmentStringsW -! FUNCTION: ExpungeConsoleCommandHistoryA -! FUNCTION: ExpungeConsoleCommandHistoryW -! FUNCTION: ExtendVirtualBuffer -! FUNCTION: FatalAppExitA -! FUNCTION: FatalAppExitW -! FUNCTION: FatalExit -! FUNCTION: FileTimeToDosDateTime -! FUNCTION: FileTimeToLocalFileTime -! FUNCTION: FileTimeToSystemTime -! FUNCTION: FillConsoleOutputAttribute -! FUNCTION: FillConsoleOutputCharacterA -! FUNCTION: FillConsoleOutputCharacterW -! FUNCTION: FindActCtxSectionGuid -! FUNCTION: FindActCtxSectionStringA -! FUNCTION: FindActCtxSectionStringW -! FUNCTION: FindAtomA -! FUNCTION: FindAtomW -! FUNCTION: FindClose -! FUNCTION: FindCloseChangeNotification -! FUNCTION: FindFirstChangeNotificationA -! FUNCTION: FindFirstChangeNotificationW -! FUNCTION: FindFirstFileA -! FUNCTION: FindFirstFileExA -! FUNCTION: FindFirstFileExW -! FUNCTION: FindFirstFileW -! FUNCTION: FindFirstVolumeA -! FUNCTION: FindFirstVolumeMountPointA -! FUNCTION: FindFirstVolumeMountPointW -! FUNCTION: FindFirstVolumeW -! FUNCTION: FindNextChangeNotification -! FUNCTION: FindNextFileA -! FUNCTION: FindNextFileW -! FUNCTION: FindNextVolumeA -! FUNCTION: FindNextVolumeMountPointA -! FUNCTION: FindNextVolumeMountPointW -! FUNCTION: FindNextVolumeW -! FUNCTION: FindResourceA -! FUNCTION: FindResourceExA -! FUNCTION: FindResourceExW -! FUNCTION: FindResourceW -! FUNCTION: FindVolumeClose -! FUNCTION: FindVolumeMountPointClose -! FUNCTION: FlushConsoleInputBuffer -! FUNCTION: FlushFileBuffers -! FUNCTION: FlushInstructionCache -! FUNCTION: FlushViewOfFile -! FUNCTION: FoldStringA -! FUNCTION: FoldStringW -! FUNCTION: FormatMessageA -! FUNCTION: FormatMessageW -! FUNCTION: FreeConsole -! FUNCTION: FreeEnvironmentStringsA -! FUNCTION: FreeEnvironmentStringsW -! FUNCTION: FreeLibrary -! FUNCTION: FreeLibraryAndExitThread -! FUNCTION: FreeResource -! FUNCTION: FreeUserPhysicalPages -! FUNCTION: FreeVirtualBuffer -! FUNCTION: GenerateConsoleCtrlEvent -! FUNCTION: GetACP -! FUNCTION: GetAtomNameA -! FUNCTION: GetAtomNameW -! FUNCTION: GetBinaryType -! FUNCTION: GetBinaryTypeA -! FUNCTION: GetBinaryTypeW -! FUNCTION: GetCalendarInfoA -! FUNCTION: GetCalendarInfoW -! FUNCTION: GetCommandLineA -! FUNCTION: GetCommandLineW -! FUNCTION: GetCommConfig -! FUNCTION: GetCommMask -! FUNCTION: GetCommModemStatus -! FUNCTION: GetCommProperties -! FUNCTION: GetCommState -! FUNCTION: GetCommTimeouts -! FUNCTION: GetComPlusPackageInstallStatus -! FUNCTION: GetCompressedFileSizeA -! FUNCTION: GetCompressedFileSizeW -! FUNCTION: GetComputerNameA -! FUNCTION: GetComputerNameExA -! FUNCTION: GetComputerNameExW -! FUNCTION: GetComputerNameW -! FUNCTION: GetConsoleAliasA -! FUNCTION: GetConsoleAliasesA -! FUNCTION: GetConsoleAliasesLengthA -! FUNCTION: GetConsoleAliasesLengthW -! FUNCTION: GetConsoleAliasesW -! FUNCTION: GetConsoleAliasExesA -! FUNCTION: GetConsoleAliasExesLengthA -! FUNCTION: GetConsoleAliasExesLengthW -! FUNCTION: GetConsoleAliasExesW -! FUNCTION: GetConsoleAliasW -! FUNCTION: GetConsoleCharType -! FUNCTION: GetConsoleCommandHistoryA -! FUNCTION: GetConsoleCommandHistoryLengthA -! FUNCTION: GetConsoleCommandHistoryLengthW -! FUNCTION: GetConsoleCommandHistoryW -! FUNCTION: GetConsoleCP -! FUNCTION: GetConsoleCursorInfo -! FUNCTION: GetConsoleCursorMode -! FUNCTION: GetConsoleDisplayMode -! FUNCTION: GetConsoleFontInfo -! FUNCTION: GetConsoleFontSize -! FUNCTION: GetConsoleHardwareState -! FUNCTION: GetConsoleInputExeNameA -! FUNCTION: GetConsoleInputExeNameW -! FUNCTION: GetConsoleInputWaitHandle -! FUNCTION: GetConsoleKeyboardLayoutNameA -! FUNCTION: GetConsoleKeyboardLayoutNameW -! FUNCTION: GetConsoleMode -! FUNCTION: GetConsoleNlsMode -! FUNCTION: GetConsoleOutputCP -! FUNCTION: GetConsoleProcessList -! FUNCTION: GetConsoleScreenBufferInfo -! FUNCTION: GetConsoleSelectionInfo -FUNCTION: DWORD GetConsoleTitleA ( LPTSTR lpConsoleTitle, DWORD nSize ) ; -FUNCTION: DWORD GetConsoleTitleW ( LPWSTR lpConsoleTitle, DWORD nSize ) ; -: GetConsoleTitle \ GetConsoleTitleW \ GetConsoleTitleA unicode-exec ; -! FUNCTION: GetConsoleWindow -! FUNCTION: GetCPFileNameFromRegistry -! FUNCTION: GetCPInfo -! FUNCTION: GetCPInfoExA -! FUNCTION: GetCPInfoExW -! FUNCTION: GetCurrencyFormatA -! FUNCTION: GetCurrencyFormatW -! FUNCTION: GetCurrentActCtx -! FUNCTION: GetCurrentConsoleFont -! FUNCTION: GetCurrentDirectoryA -! FUNCTION: GetCurrentDirectoryW -! FUNCTION: GetCurrentProcess -! FUNCTION: GetCurrentProcessId -! FUNCTION: GetCurrentThread -! FUNCTION: GetCurrentThreadId -! FUNCTION: GetDateFormatA -! FUNCTION: GetDateFormatW -! FUNCTION: GetDefaultCommConfigA -! FUNCTION: GetDefaultCommConfigW -! FUNCTION: GetDefaultSortkeySize -! FUNCTION: GetDevicePowerState -! FUNCTION: GetDiskFreeSpaceA -! FUNCTION: GetDiskFreeSpaceExA -! FUNCTION: GetDiskFreeSpaceExW -! FUNCTION: GetDiskFreeSpaceW -! FUNCTION: GetDllDirectoryA -! FUNCTION: GetDllDirectoryW -! FUNCTION: GetDriveTypeA -! FUNCTION: GetDriveTypeW -! FUNCTION: GetEnvironmentStrings -! FUNCTION: GetEnvironmentStringsA -! FUNCTION: GetEnvironmentStringsW -! FUNCTION: GetEnvironmentVariableA -! FUNCTION: GetEnvironmentVariableW -! FUNCTION: GetExitCodeProcess -! FUNCTION: GetExitCodeThread -! FUNCTION: GetExpandedNameA -! FUNCTION: GetExpandedNameW -! FUNCTION: GetFileAttributesA -! FUNCTION: GetFileAttributesExA -! FUNCTION: GetFileAttributesExW -! FUNCTION: GetFileAttributesW -! FUNCTION: GetFileInformationByHandle -FUNCTION: DWORD GetFileSize ( HANDLE hFile, LPDWORD lpFileSizeHigh ) ; -! FUNCTION: GetFileSizeEx -! FUNCTION: GetFileTime -! FUNCTION: GetFileType -! FUNCTION: GetFirmwareEnvironmentVariableA -! FUNCTION: GetFirmwareEnvironmentVariableW -! FUNCTION: GetFullPathNameA -! FUNCTION: GetFullPathNameW -! FUNCTION: GetGeoInfoA -! FUNCTION: GetGeoInfoW -! FUNCTION: GetHandleContext -! FUNCTION: GetHandleInformation -! FUNCTION: GetLargestConsoleWindowSize -FUNCTION: DWORD GetLastError ( ) ; -! FUNCTION: GetLinguistLangSize -! FUNCTION: GetLocaleInfoA -! FUNCTION: GetLocaleInfoW -! FUNCTION: GetLocalTime -! FUNCTION: GetLogicalDrives -! FUNCTION: GetLogicalDriveStringsA -! FUNCTION: GetLogicalDriveStringsW -! FUNCTION: GetLongPathNameA -! FUNCTION: GetLongPathNameW -! FUNCTION: GetMailslotInfo -! FUNCTION: GetModuleFileNameA -! FUNCTION: GetModuleFileNameW -FUNCTION: HMODULE GetModuleHandleA ( LPCTSTR lpModuleName ) ; -FUNCTION: HMODULE GetModuleHandleW ( LPCWSTR lpModuleName ) ; -: GetModuleHandle \ GetModuleHandleW \ GetModuleHandleA unicode-exec ; -! FUNCTION: GetModuleHandleExA -! FUNCTION: GetModuleHandleExW -! FUNCTION: GetNamedPipeHandleStateA -! FUNCTION: GetNamedPipeHandleStateW -! FUNCTION: GetNamedPipeInfo -! FUNCTION: GetNativeSystemInfo -! FUNCTION: GetNextVDMCommand -! FUNCTION: GetNlsSectionName -! FUNCTION: GetNumaAvailableMemory -! FUNCTION: GetNumaAvailableMemoryNode -! FUNCTION: GetNumaHighestNodeNumber -! FUNCTION: GetNumaNodeProcessorMask -! FUNCTION: GetNumaProcessorMap -! FUNCTION: GetNumaProcessorNode -! FUNCTION: GetNumberFormatA -! FUNCTION: GetNumberFormatW -! FUNCTION: GetNumberOfConsoleFonts -! FUNCTION: GetNumberOfConsoleInputEvents -! FUNCTION: GetNumberOfConsoleMouseButtons -! FUNCTION: GetOEMCP -! FUNCTION: GetOverlappedResult -! FUNCTION: GetPriorityClass -! FUNCTION: GetPrivateProfileIntA -! FUNCTION: GetPrivateProfileIntW -! FUNCTION: GetPrivateProfileSectionA -! FUNCTION: GetPrivateProfileSectionNamesA -! FUNCTION: GetPrivateProfileSectionNamesW -! FUNCTION: GetPrivateProfileSectionW -! FUNCTION: GetPrivateProfileStringA -! FUNCTION: GetPrivateProfileStringW -! FUNCTION: GetPrivateProfileStructA -! FUNCTION: GetPrivateProfileStructW -! FUNCTION: GetProcAddress -! FUNCTION: GetProcessAffinityMask -! FUNCTION: GetProcessHandleCount -! FUNCTION: GetProcessHeap -! FUNCTION: GetProcessHeaps -! FUNCTION: GetProcessId -! FUNCTION: GetProcessIoCounters -! FUNCTION: GetProcessPriorityBoost -! FUNCTION: GetProcessShutdownParameters -! FUNCTION: GetProcessTimes -! FUNCTION: GetProcessVersion -! FUNCTION: GetProcessWorkingSetSize -! FUNCTION: GetProfileIntA -! FUNCTION: GetProfileIntW -! FUNCTION: GetProfileSectionA -! FUNCTION: GetProfileSectionW -! FUNCTION: GetProfileStringA -! FUNCTION: GetProfileStringW -FUNCTION: BOOL GetQueuedCompletionStatus ( HANDLE hCompletionPort, LPDWORD lpNumberOfBytes, void* lpCompletionKey, LPOVERLAPPED lpOverlapped, DWORD dwMilliseconds ) ; -! FUNCTION: GetShortPathNameA -! FUNCTION: GetShortPathNameW -! FUNCTION: GetStartupInfoA -! FUNCTION: GetStartupInfoW -FUNCTION: HANDLE GetStdHandle ( DWORD nStdHandle ) ; -! FUNCTION: GetStringTypeA -! FUNCTION: GetStringTypeExA -! FUNCTION: GetStringTypeExW -! FUNCTION: GetStringTypeW -! FUNCTION: GetSystemDefaultLangID -! FUNCTION: GetSystemDefaultLCID -! FUNCTION: GetSystemDefaultUILanguage -! FUNCTION: GetSystemDirectoryA -! FUNCTION: GetSystemDirectoryW -! FUNCTION: GetSystemInfo -! FUNCTION: GetSystemPowerStatus -! FUNCTION: GetSystemRegistryQuota -! FUNCTION: GetSystemTime -! FUNCTION: GetSystemTimeAdjustment -! FUNCTION: GetSystemTimeAsFileTime -! FUNCTION: GetSystemTimes -! FUNCTION: GetSystemWindowsDirectoryA -! FUNCTION: GetSystemWindowsDirectoryW -! FUNCTION: GetSystemWow64DirectoryA -! FUNCTION: GetSystemWow64DirectoryW -! FUNCTION: GetTapeParameters -! FUNCTION: GetTapePosition -! FUNCTION: GetTapeStatus -! FUNCTION: GetTempFileNameA -! FUNCTION: GetTempFileNameW -! FUNCTION: GetTempPathA -! FUNCTION: GetTempPathW -! FUNCTION: GetThreadContext -! FUNCTION: GetThreadIOPendingFlag -! FUNCTION: GetThreadLocale -! FUNCTION: GetThreadPriority -! FUNCTION: GetThreadPriorityBoost -! FUNCTION: GetThreadSelectorEntry -! FUNCTION: GetThreadTimes -! FUNCTION: GetTickCount -! FUNCTION: GetTimeFormatA -! FUNCTION: GetTimeFormatW -! FUNCTION: GetTimeZoneInformation -! FUNCTION: GetUserDefaultLangID -! FUNCTION: GetUserDefaultLCID -! FUNCTION: GetUserDefaultUILanguage -! FUNCTION: GetUserGeoID -! FUNCTION: GetVDMCurrentDirectories -! FUNCTION: GetVersion -! FUNCTION: GetVersionExA -! FUNCTION: GetVersionExW -! FUNCTION: GetVolumeInformationA -! FUNCTION: GetVolumeInformationW -! FUNCTION: GetVolumeNameForVolumeMountPointA -! FUNCTION: GetVolumeNameForVolumeMountPointW -! FUNCTION: GetVolumePathNameA -! FUNCTION: GetVolumePathNamesForVolumeNameA -! FUNCTION: GetVolumePathNamesForVolumeNameW -! FUNCTION: GetVolumePathNameW -! FUNCTION: GetWindowsDirectoryA -! FUNCTION: GetWindowsDirectoryW -! FUNCTION: GetWriteWatch -! FUNCTION: GlobalAddAtomA -! FUNCTION: GlobalAddAtomW -FUNCTION: HGLOBAL GlobalAlloc ( UINT uFlags, SIZE_T dwBytes ) ; -! FUNCTION: GlobalCompact -! FUNCTION: GlobalDeleteAtom -! FUNCTION: GlobalFindAtomA -! FUNCTION: GlobalFindAtomW -! FUNCTION: GlobalFix -! FUNCTION: GlobalFlags -! FUNCTION: GlobalFree -! FUNCTION: GlobalGetAtomNameA -! FUNCTION: GlobalGetAtomNameW -! FUNCTION: GlobalHandle -FUNCTION: LPVOID GlobalLock ( HGLOBAL hMem ) ; -! FUNCTION: GlobalMemoryStatus -! FUNCTION: GlobalMemoryStatusEx -! FUNCTION: GlobalReAlloc -! FUNCTION: GlobalSize -! FUNCTION: GlobalUnfix -FUNCTION: BOOL GlobalUnlock ( HGLOBAL hMem ) ; -! FUNCTION: GlobalUnWire -! FUNCTION: GlobalWire -! FUNCTION: Heap32First -! FUNCTION: Heap32ListFirst -! FUNCTION: Heap32ListNext -! FUNCTION: Heap32Next -! FUNCTION: HeapAlloc -! FUNCTION: HeapCompact -! FUNCTION: HeapCreate -! FUNCTION: HeapCreateTagsW -! FUNCTION: HeapDestroy -! FUNCTION: HeapExtend -! FUNCTION: HeapFree -! FUNCTION: HeapLock -! FUNCTION: HeapQueryInformation -! FUNCTION: HeapQueryTagW -! FUNCTION: HeapReAlloc -! FUNCTION: HeapSetInformation -! FUNCTION: HeapSize -! FUNCTION: HeapSummary -! FUNCTION: HeapUnlock -! FUNCTION: HeapUsage -! FUNCTION: HeapValidate -! FUNCTION: HeapWalk -! FUNCTION: InitAtomTable -! FUNCTION: InitializeCriticalSection -! FUNCTION: InitializeCriticalSectionAndSpinCount -! FUNCTION: InitializeSListHead -! FUNCTION: InterlockedCompareExchange -! FUNCTION: InterlockedDecrement -! FUNCTION: InterlockedExchange -! FUNCTION: InterlockedExchangeAdd -! FUNCTION: InterlockedFlushSList -! FUNCTION: InterlockedIncrement -! FUNCTION: InterlockedPopEntrySList -! FUNCTION: InterlockedPushEntrySList -! FUNCTION: InvalidateConsoleDIBits -! FUNCTION: IsBadCodePtr -! FUNCTION: IsBadHugeReadPtr -! FUNCTION: IsBadHugeWritePtr -! FUNCTION: IsBadReadPtr -! FUNCTION: IsBadStringPtrA -! FUNCTION: IsBadStringPtrW -! FUNCTION: IsBadWritePtr -! FUNCTION: IsDBCSLeadByte -! FUNCTION: IsDBCSLeadByteEx -! FUNCTION: IsDebuggerPresent -! FUNCTION: IsProcessInJob -! FUNCTION: IsProcessorFeaturePresent -! FUNCTION: IsSystemResumeAutomatic -! FUNCTION: IsValidCodePage -! FUNCTION: IsValidLanguageGroup -! FUNCTION: IsValidLocale -! FUNCTION: IsValidUILanguage -! FUNCTION: IsWow64Process -! FUNCTION: LCMapStringA -! FUNCTION: LCMapStringW -! FUNCTION: LeaveCriticalSection -! FUNCTION: LoadLibraryA -! FUNCTION: LoadLibraryExA -! FUNCTION: LoadLibraryExW -! FUNCTION: LoadLibraryW -! FUNCTION: LoadModule -! FUNCTION: LoadResource -! FUNCTION: LocalAlloc -! FUNCTION: LocalCompact -! FUNCTION: LocalFileTimeToFileTime -! FUNCTION: LocalFlags -! FUNCTION: LocalFree -! FUNCTION: LocalHandle -! FUNCTION: LocalLock -! FUNCTION: LocalReAlloc -! FUNCTION: LocalShrink -! FUNCTION: LocalSize -! FUNCTION: LocalUnlock -! FUNCTION: LockFile -! FUNCTION: LockFileEx -! FUNCTION: LockResource -! FUNCTION: lstrcat -! FUNCTION: lstrcatA -! FUNCTION: lstrcatW -! FUNCTION: lstrcmp -! FUNCTION: lstrcmpA -! FUNCTION: lstrcmpi -! FUNCTION: lstrcmpiA -! FUNCTION: lstrcmpiW -! FUNCTION: lstrcmpW -! FUNCTION: lstrcpy -! FUNCTION: lstrcpyA -! FUNCTION: lstrcpyn -! FUNCTION: lstrcpynA -! FUNCTION: lstrcpynW -! FUNCTION: lstrcpyW -! FUNCTION: lstrlen -! FUNCTION: lstrlenA -! FUNCTION: lstrlenW -! FUNCTION: LZClose -! FUNCTION: LZCloseFile -! FUNCTION: LZCopy -! FUNCTION: LZCreateFileW -! FUNCTION: LZDone -! FUNCTION: LZInit -! FUNCTION: LZOpenFileA -! FUNCTION: LZOpenFileW -! FUNCTION: LZRead -! FUNCTION: LZSeek -! FUNCTION: LZStart -! FUNCTION: MapUserPhysicalPages -! FUNCTION: MapUserPhysicalPagesScatter -! FUNCTION: MapViewOfFile -! FUNCTION: MapViewOfFileEx -! FUNCTION: Module32First -! FUNCTION: Module32FirstW -! FUNCTION: Module32Next -! FUNCTION: Module32NextW -! FUNCTION: MoveFileA -! FUNCTION: MoveFileExA -! FUNCTION: MoveFileExW -! FUNCTION: MoveFileW -! FUNCTION: MoveFileWithProgressA -! FUNCTION: MoveFileWithProgressW -! FUNCTION: MulDiv -! FUNCTION: MultiByteToWideChar -! FUNCTION: NlsConvertIntegerToString -! FUNCTION: NlsGetCacheUpdateCount -! FUNCTION: NlsResetProcessLocale -! FUNCTION: NumaVirtualQueryNode -! FUNCTION: OpenConsoleW -! FUNCTION: OpenDataFile -! FUNCTION: OpenEventA -! FUNCTION: OpenEventW -! FUNCTION: OpenFile -! FUNCTION: OpenFileMappingA -! FUNCTION: OpenFileMappingW -! FUNCTION: OpenJobObjectA -! FUNCTION: OpenJobObjectW -! FUNCTION: OpenMutexA -! FUNCTION: OpenMutexW -! FUNCTION: OpenProcess -! FUNCTION: OpenProfileUserMapping -! FUNCTION: OpenSemaphoreA -! FUNCTION: OpenSemaphoreW -! FUNCTION: OpenThread -! FUNCTION: OpenWaitableTimerA -! FUNCTION: OpenWaitableTimerW -! FUNCTION: OutputDebugStringA -! FUNCTION: OutputDebugStringW -! FUNCTION: PeekConsoleInputA -! FUNCTION: PeekConsoleInputW -! FUNCTION: PeekNamedPipe -! FUNCTION: PostQueuedCompletionStatus -! FUNCTION: PrepareTape -! FUNCTION: PrivCopyFileExW -! FUNCTION: PrivMoveFileIdentityW -! FUNCTION: Process32First -! FUNCTION: Process32FirstW -! FUNCTION: Process32Next -! FUNCTION: Process32NextW -! FUNCTION: ProcessIdToSessionId -! FUNCTION: PulseEvent -! FUNCTION: PurgeComm -! FUNCTION: QueryActCtxW -! FUNCTION: QueryDepthSList -! FUNCTION: QueryDosDeviceA -! FUNCTION: QueryDosDeviceW -! FUNCTION: QueryInformationJobObject -! FUNCTION: QueryMemoryResourceNotification -! FUNCTION: QueryPerformanceCounter -! FUNCTION: QueryPerformanceFrequency -! FUNCTION: QueryWin31IniFilesMappedToRegistry -! FUNCTION: QueueUserAPC -! FUNCTION: QueueUserWorkItem -! FUNCTION: RaiseException -! FUNCTION: ReadConsoleA -! FUNCTION: ReadConsoleInputA -! FUNCTION: ReadConsoleInputExA -! FUNCTION: ReadConsoleInputExW -! FUNCTION: ReadConsoleInputW -! FUNCTION: ReadConsoleOutputA -! FUNCTION: ReadConsoleOutputAttribute -! FUNCTION: ReadConsoleOutputCharacterA -! FUNCTION: ReadConsoleOutputCharacterW -! FUNCTION: ReadConsoleOutputW -! FUNCTION: ReadConsoleW -! FUNCTION: ReadDirectoryChangesW -FUNCTION: BOOL ReadFile ( HANDLE hFile, int lpBuffer, DWORD nNumberOfBytesToRead, void* lpNumberOfBytesRead, LPOVERLAPPED lpOverlapped ) ; -! FUNCTION: BOOL ReadFile ( HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToRead, LPDWORD lpNumberOfBytesRead, LPOVERLAPPED lpOverlapped ) ; -! FUNCTION: ReadFileEx -! FUNCTION: ReadFileScatter -! FUNCTION: ReadProcessMemory -! FUNCTION: RegisterConsoleIME -! FUNCTION: RegisterConsoleOS2 -! FUNCTION: RegisterConsoleVDM -! FUNCTION: RegisterWaitForInputIdle -! FUNCTION: RegisterWaitForSingleObject -! FUNCTION: RegisterWaitForSingleObjectEx -! FUNCTION: RegisterWowBaseHandlers -! FUNCTION: RegisterWowExec -! FUNCTION: ReleaseActCtx -! FUNCTION: ReleaseMutex -! FUNCTION: ReleaseSemaphore -! FUNCTION: RemoveDirectoryA -! FUNCTION: RemoveDirectoryW -! FUNCTION: RemoveLocalAlternateComputerNameA -! FUNCTION: RemoveLocalAlternateComputerNameW -! FUNCTION: RemoveVectoredExceptionHandler -! FUNCTION: ReplaceFile -! FUNCTION: ReplaceFileA -! FUNCTION: ReplaceFileW -! FUNCTION: RequestDeviceWakeup -! FUNCTION: RequestWakeupLatency -! FUNCTION: ResetEvent -! FUNCTION: ResetWriteWatch -! FUNCTION: RestoreLastError -! FUNCTION: ResumeThread -! FUNCTION: RtlCaptureContext -! FUNCTION: RtlCaptureStackBackTrace -! FUNCTION: RtlFillMemory -! FUNCTION: RtlMoveMemory -! FUNCTION: RtlUnwind -! FUNCTION: RtlZeroMemory -! FUNCTION: ScrollConsoleScreenBufferA -! FUNCTION: ScrollConsoleScreenBufferW -! FUNCTION: SearchPathA -! FUNCTION: SearchPathW -! FUNCTION: SetCalendarInfoA -! FUNCTION: SetCalendarInfoW -! FUNCTION: SetClientTimeZoneInformation -! FUNCTION: SetCommBreak -! FUNCTION: SetCommConfig -! FUNCTION: SetCommMask -! FUNCTION: SetCommState -! FUNCTION: SetCommTimeouts -! FUNCTION: SetComPlusPackageInstallStatus -! FUNCTION: SetComputerNameA -! FUNCTION: SetComputerNameExA -! FUNCTION: SetComputerNameExW -! FUNCTION: SetComputerNameW -! FUNCTION: SetConsoleActiveScreenBuffer -! FUNCTION: SetConsoleCommandHistoryMode -! FUNCTION: SetConsoleCP -! FUNCTION: SetConsoleCtrlHandler -! FUNCTION: SetConsoleCursor -! FUNCTION: SetConsoleCursorInfo -! FUNCTION: SetConsoleCursorMode -! FUNCTION: SetConsoleCursorPosition -! FUNCTION: SetConsoleDisplayMode -! FUNCTION: SetConsoleFont -! FUNCTION: SetConsoleHardwareState -! FUNCTION: SetConsoleIcon -! FUNCTION: SetConsoleInputExeNameA -! FUNCTION: SetConsoleInputExeNameW -! FUNCTION: SetConsoleKeyShortcuts -! FUNCTION: SetConsoleLocalEUDC -! FUNCTION: SetConsoleMaximumWindowSize -! FUNCTION: SetConsoleMenuClose -! FUNCTION: SetConsoleMode -! FUNCTION: SetConsoleNlsMode -! FUNCTION: SetConsoleNumberOfCommandsA -! FUNCTION: SetConsoleNumberOfCommandsW -! FUNCTION: SetConsoleOS2OemFormat -! FUNCTION: SetConsoleOutputCP -! FUNCTION: SetConsolePalette -! FUNCTION: SetConsoleScreenBufferSize -FUNCTION: BOOL SetConsoleTextAttribute ( HANDLE hConsoleOutput, WORD wAttributes ) ; -FUNCTION: BOOL SetConsoleTitleA ( LPCTSTR lpConsoleTitle ) ; -FUNCTION: BOOL SetConsoleTitleW ( LPCWSTR lpConsoleTitle ) ; -: SetConsoleTitle \ SetConsoleTitleW \ SetConsoleTitleA unicode-exec ; -! FUNCTION: SetConsoleWindowInfo -! FUNCTION: SetCPGlobal -! FUNCTION: SetCriticalSectionSpinCount -! FUNCTION: SetCurrentDirectoryA -! FUNCTION: SetCurrentDirectoryW -! FUNCTION: SetDefaultCommConfigA -! FUNCTION: SetDefaultCommConfigW -! FUNCTION: SetDllDirectoryA -! FUNCTION: SetDllDirectoryW -! FUNCTION: SetEndOfFile -! FUNCTION: SetEnvironmentVariableA -! FUNCTION: SetEnvironmentVariableW -! FUNCTION: SetErrorMode -! FUNCTION: SetEvent -! FUNCTION: SetFileApisToANSI -! FUNCTION: SetFileApisToOEM -! FUNCTION: SetFileAttributesA -! FUNCTION: SetFileAttributesW -! FUNCTION: SetFilePointer -! FUNCTION: SetFilePointerEx -! FUNCTION: SetFileShortNameA -! FUNCTION: SetFileShortNameW -! FUNCTION: SetFileTime -! FUNCTION: SetFileValidData -! FUNCTION: SetFirmwareEnvironmentVariableA -! FUNCTION: SetFirmwareEnvironmentVariableW -! FUNCTION: SetHandleContext -! FUNCTION: SetHandleCount -! FUNCTION: SetHandleInformation -! FUNCTION: SetInformationJobObject -! FUNCTION: SetLastConsoleEventActive -! FUNCTION: SetLastError -! FUNCTION: SetLocaleInfoA -! FUNCTION: SetLocaleInfoW -! FUNCTION: SetLocalPrimaryComputerNameA -! FUNCTION: SetLocalPrimaryComputerNameW -! FUNCTION: SetLocalTime -! FUNCTION: SetMailslotInfo -! FUNCTION: SetMessageWaitingIndicator -! FUNCTION: SetNamedPipeHandleState -! FUNCTION: SetPriorityClass -! FUNCTION: SetProcessAffinityMask -! FUNCTION: SetProcessPriorityBoost -! FUNCTION: SetProcessShutdownParameters -! FUNCTION: SetProcessWorkingSetSize -! FUNCTION: SetStdHandle -! FUNCTION: SetSystemPowerState -! FUNCTION: SetSystemTime -! FUNCTION: SetSystemTimeAdjustment -! FUNCTION: SetTapeParameters -! FUNCTION: SetTapePosition -! FUNCTION: SetTermsrvAppInstallMode -! FUNCTION: SetThreadAffinityMask -! FUNCTION: SetThreadContext -! FUNCTION: SetThreadExecutionState -! FUNCTION: SetThreadIdealProcessor -! FUNCTION: SetThreadLocale -! FUNCTION: SetThreadPriority -! FUNCTION: SetThreadPriorityBoost -! FUNCTION: SetThreadUILanguage -! FUNCTION: SetTimerQueueTimer -! FUNCTION: SetTimeZoneInformation -! FUNCTION: SetUnhandledExceptionFilter -! FUNCTION: SetupComm -! FUNCTION: SetUserGeoID -! FUNCTION: SetVDMCurrentDirectories -! FUNCTION: SetVolumeLabelA -! FUNCTION: SetVolumeLabelW -! FUNCTION: SetVolumeMountPointA -! FUNCTION: SetVolumeMountPointW -! FUNCTION: SetWaitableTimer -! FUNCTION: ShowConsoleCursor -! FUNCTION: SignalObjectAndWait -! FUNCTION: SizeofResource -! FUNCTION: Sleep -FUNCTION: DWORD SleepEx ( DWORD dwMilliSeconds, BOOL bAlertable ) ; -! FUNCTION: SuspendThread -! FUNCTION: SwitchToFiber -! FUNCTION: SwitchToThread -! FUNCTION: SystemTimeToFileTime -! FUNCTION: SystemTimeToTzSpecificLocalTime -! FUNCTION: TerminateJobObject -! FUNCTION: TerminateProcess -! FUNCTION: TerminateThread -! FUNCTION: TermsrvAppInstallMode -! FUNCTION: Thread32First -! FUNCTION: Thread32Next -! FUNCTION: TlsAlloc -! FUNCTION: TlsFree -! FUNCTION: TlsGetValue -! FUNCTION: TlsSetValue -! FUNCTION: Toolhelp32ReadProcessMemory -! FUNCTION: TransactNamedPipe -! FUNCTION: TransmitCommChar -! FUNCTION: TrimVirtualBuffer -! FUNCTION: TryEnterCriticalSection -! FUNCTION: TzSpecificLocalTimeToSystemTime -! FUNCTION: UnhandledExceptionFilter -! FUNCTION: UnlockFile -! FUNCTION: UnlockFileEx -! FUNCTION: UnmapViewOfFile -! FUNCTION: UnregisterConsoleIME -! FUNCTION: UnregisterWait -! FUNCTION: UnregisterWaitEx -! FUNCTION: UpdateResourceA -! FUNCTION: UpdateResourceW -! FUNCTION: UTRegister -! FUNCTION: UTUnRegister -! FUNCTION: ValidateLCType -! FUNCTION: ValidateLocale -! FUNCTION: VDMConsoleOperation -! FUNCTION: VDMOperationStarted -! FUNCTION: VerifyConsoleIoHandle -! FUNCTION: VerifyVersionInfoA -! FUNCTION: VerifyVersionInfoW -! FUNCTION: VerLanguageNameA -! FUNCTION: VerLanguageNameW -! FUNCTION: VerSetConditionMask -! FUNCTION: VirtualAlloc -! FUNCTION: VirtualAllocEx -! FUNCTION: VirtualBufferExceptionHandler -! FUNCTION: VirtualFree -! FUNCTION: VirtualFreeEx -! FUNCTION: VirtualLock -! FUNCTION: VirtualProtect -! FUNCTION: VirtualProtectEx -! FUNCTION: VirtualQuery -! FUNCTION: VirtualQueryEx -! FUNCTION: VirtualUnlock -! FUNCTION: WaitCommEvent -! FUNCTION: WaitForDebugEvent -! FUNCTION: WaitForMultipleObjects -! FUNCTION: WaitForMultipleObjectsEx -! FUNCTION: WaitForSingleObject -! FUNCTION: WaitForSingleObjectEx -! FUNCTION: WaitNamedPipeA -! FUNCTION: WaitNamedPipeW -! FUNCTION: WideCharToMultiByte -! FUNCTION: WinExec -! FUNCTION: WriteConsoleA -! FUNCTION: WriteConsoleInputA -! FUNCTION: WriteConsoleInputVDMA -! FUNCTION: WriteConsoleInputVDMW -! FUNCTION: WriteConsoleInputW -! FUNCTION: WriteConsoleOutputA -! FUNCTION: WriteConsoleOutputAttribute -! FUNCTION: WriteConsoleOutputCharacterA -! FUNCTION: WriteConsoleOutputCharacterW -! FUNCTION: WriteConsoleOutputW -! FUNCTION: WriteConsoleW -FUNCTION: BOOL WriteFile ( HANDLE hFile, int lpBuffer, DWORD nNumberOfBytesToWrite, void* lpNumberOfBytesWritten, LPOVERLAPPED lpOverlapped ) ; -! FUNCTION: WriteFileEx -! FUNCTION: WriteFileGather -! FUNCTION: WritePrivateProfileSectionA -! FUNCTION: WritePrivateProfileSectionW -! FUNCTION: WritePrivateProfileStringA -! FUNCTION: WritePrivateProfileStringW -! FUNCTION: WritePrivateProfileStructA -! FUNCTION: WritePrivateProfileStructW -! FUNCTION: WriteProcessMemory -! FUNCTION: WriteProfileSectionA -! FUNCTION: WriteProfileSectionW -! FUNCTION: WriteProfileStringA -! FUNCTION: WriteProfileStringW -! FUNCTION: WriteTapemark -! FUNCTION: WTSGetActiveConsoleSessionId -! FUNCTION: ZombifyActCtx +IN: win32-api + +LIBRARY: kernel32 +! FUNCTION: _hread +! FUNCTION: _hwrite +! FUNCTION: _lclose +! FUNCTION: _lcreat +! FUNCTION: _llseek +! FUNCTION: _lopen +! FUNCTION: _lread +! FUNCTION: _lwrite +! FUNCTION: ActivateActCtx +! FUNCTION: AddAtomA +! FUNCTION: AddAtomW +! FUNCTION: AddConsoleAliasA +! FUNCTION: AddConsoleAliasW +! FUNCTION: AddLocalAlternateComputerNameA +! FUNCTION: AddLocalAlternateComputerNameW +! FUNCTION: AddRefActCtx +! FUNCTION: AddVectoredExceptionHandler +! FUNCTION: AllocateUserPhysicalPages +! FUNCTION: AllocConsole +! FUNCTION: AreFileApisANSI +! FUNCTION: AssignProcessToJobObject +! FUNCTION: AttachConsole +! FUNCTION: BackupRead +! FUNCTION: BackupSeek +! FUNCTION: BackupWrite +! FUNCTION: BaseCheckAppcompatCache +! FUNCTION: BaseCleanupAppcompatCache +! FUNCTION: BaseCleanupAppcompatCacheSupport +! FUNCTION: BaseDumpAppcompatCache +! FUNCTION: BaseFlushAppcompatCache +! FUNCTION: BaseInitAppcompatCache +! FUNCTION: BaseInitAppcompatCacheSupport +! FUNCTION: BasepCheckWinSaferRestrictions +! FUNCTION: BaseProcessInitPostImport +! FUNCTION: BaseQueryModuleData +! FUNCTION: BaseUpdateAppcompatCache +! FUNCTION: Beep +! FUNCTION: BeginUpdateResourceA +! FUNCTION: BeginUpdateResourceW +! FUNCTION: BindIoCompletionCallback +! FUNCTION: BuildCommDCBA +! FUNCTION: BuildCommDCBAndTimeoutsA +! FUNCTION: BuildCommDCBAndTimeoutsW +! FUNCTION: BuildCommDCBW +! FUNCTION: CallNamedPipeA +! FUNCTION: CallNamedPipeW +! FUNCTION: CancelDeviceWakeupRequest +FUNCTION: BOOL CancelIo ( HANDLE h ) ; +! FUNCTION: CancelTimerQueueTimer +! FUNCTION: CancelWaitableTimer +! FUNCTION: ChangeTimerQueueTimer +! FUNCTION: CheckNameLegalDOS8Dot3A +! FUNCTION: CheckNameLegalDOS8Dot3W +! FUNCTION: CheckRemoteDebuggerPresent +! FUNCTION: ClearCommBreak +! FUNCTION: ClearCommError +! FUNCTION: CloseConsoleHandle +FUNCTION: BOOL CloseHandle ( HANDLE h ) ; +! FUNCTION: CloseProfileUserMapping +! FUNCTION: CmdBatNotification +! FUNCTION: CommConfigDialogA +! FUNCTION: CommConfigDialogW +! FUNCTION: CompareFileTime +! FUNCTION: CompareStringA +! FUNCTION: CompareStringW +! FUNCTION: ConnectNamedPipe +! FUNCTION: ConsoleMenuControl +! FUNCTION: ContinueDebugEvent +! FUNCTION: ConvertDefaultLocale +! FUNCTION: ConvertFiberToThread +! FUNCTION: ConvertThreadToFiber +! FUNCTION: CopyFileA +! FUNCTION: CopyFileExA +! FUNCTION: CopyFileExW +! FUNCTION: CopyFileW +! FUNCTION: CopyLZFile +! FUNCTION: CreateActCtxA +! FUNCTION: CreateActCtxW +! FUNCTION: CreateConsoleScreenBuffer +! FUNCTION: CreateDirectoryA +! FUNCTION: CreateDirectoryExA +! FUNCTION: CreateDirectoryExW +! FUNCTION: CreateDirectoryW +! FUNCTION: CreateEventA +! FUNCTION: CreateEventW +! FUNCTION: CreateFiber +! FUNCTION: CreateFiberEx + +FUNCTION: HANDLE CreateFileA ( char* lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttribures, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile ) ; + +FUNCTION: HANDLE CreateFileW ( char* lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttribures, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile ) ; +: CreateFile \ CreateFileW \ CreateFileA unicode-exec ; + +! FUNCTION: CreateFileMappingA +! FUNCTION: CreateFileMappingW +! FUNCTION: CreateHardLinkA +! FUNCTION: CreateHardLinkW +! FUNCTION: HANDLE CreateIoCompletionPort ( HANDLE hFileHandle, HANDLE hExistingCompletionPort, ULONG_PTR uCompletionKey, DWORD dwNumberofConcurrentThreads ) ; +FUNCTION: HANDLE CreateIoCompletionPort ( HANDLE hFileHandle, HANDLE hExistingCompletionPort, void* uCompletionKey, DWORD dwNumberofConcurrentThreads ) ; +! FUNCTION: CreateJobObjectA +! FUNCTION: CreateJobObjectW +! FUNCTION: CreateJobSet +! FUNCTION: CreateMailslotA +! FUNCTION: CreateMailslotW +! FUNCTION: CreateMemoryResourceNotification +! FUNCTION: CreateMutexA +! FUNCTION: CreateMutexW +! FUNCTION: CreateNamedPipeA +! FUNCTION: CreateNamedPipeW +! FUNCTION: CreateNlsSecurityDescriptor +! FUNCTION: CreatePipe +! FUNCTION: CreateProcessA +! FUNCTION: CreateProcessInternalA +! FUNCTION: CreateProcessInternalW +! FUNCTION: CreateProcessInternalWSecure +! FUNCTION: CreateProcessW +! FUNCTION: CreateRemoteThread +! FUNCTION: CreateSemaphoreA +! FUNCTION: CreateSemaphoreW +! FUNCTION: CreateSocketHandle +! FUNCTION: CreateTapePartition +! FUNCTION: CreateThread +! FUNCTION: CreateTimerQueue +! FUNCTION: CreateTimerQueueTimer +! FUNCTION: CreateToolhelp32Snapshot +! FUNCTION: CreateVirtualBuffer +! FUNCTION: CreateWaitableTimerA +! FUNCTION: CreateWaitableTimerW +! FUNCTION: DeactivateActCtx +! FUNCTION: DebugActiveProcess +! FUNCTION: DebugActiveProcessStop +! FUNCTION: DebugBreak +! FUNCTION: DebugBreakProcess +! FUNCTION: DebugSetProcessKillOnExit +! FUNCTION: DecodePointer +! FUNCTION: DecodeSystemPointer +! FUNCTION: DefineDosDeviceA +! FUNCTION: DefineDosDeviceW +! FUNCTION: DelayLoadFailureHook +! FUNCTION: DeleteAtom +! FUNCTION: DeleteCriticalSection +! FUNCTION: DeleteFiber +! FUNCTION: DeleteFileA +! FUNCTION: DeleteFileW +! FUNCTION: DeleteTimerQueue +! FUNCTION: DeleteTimerQueueEx +! FUNCTION: DeleteTimerQueueTimer +! FUNCTION: DeleteVolumeMountPointA +! FUNCTION: DeleteVolumeMountPointW +! FUNCTION: DeviceIoControl +! FUNCTION: DisableThreadLibraryCalls +! FUNCTION: DisconnectNamedPipe +! FUNCTION: DnsHostnameToComputerNameA +! FUNCTION: DnsHostnameToComputerNameW +! FUNCTION: DosDateTimeToFileTime +! FUNCTION: DosPathToSessionPathA +! FUNCTION: DosPathToSessionPathW +! FUNCTION: DuplicateConsoleHandle +! FUNCTION: DuplicateHandle +! FUNCTION: EncodePointer +! FUNCTION: EncodeSystemPointer +! FUNCTION: EndUpdateResourceA +! FUNCTION: EndUpdateResourceW +! FUNCTION: EnterCriticalSection +! FUNCTION: EnumCalendarInfoA +! FUNCTION: EnumCalendarInfoExA +! FUNCTION: EnumCalendarInfoExW +! FUNCTION: EnumCalendarInfoW +! FUNCTION: EnumDateFormatsA +! FUNCTION: EnumDateFormatsExA +! FUNCTION: EnumDateFormatsExW +! FUNCTION: EnumDateFormatsW +! FUNCTION: EnumerateLocalComputerNamesA +! FUNCTION: EnumerateLocalComputerNamesW +! FUNCTION: EnumLanguageGroupLocalesA +! FUNCTION: EnumLanguageGroupLocalesW +! FUNCTION: EnumResourceLanguagesA +! FUNCTION: EnumResourceLanguagesW +! FUNCTION: EnumResourceNamesA +! FUNCTION: EnumResourceNamesW +! FUNCTION: EnumResourceTypesA +! FUNCTION: EnumResourceTypesW +! FUNCTION: EnumSystemCodePagesA +! FUNCTION: EnumSystemCodePagesW +! FUNCTION: EnumSystemGeoID +! FUNCTION: EnumSystemLanguageGroupsA +! FUNCTION: EnumSystemLanguageGroupsW +! FUNCTION: EnumSystemLocalesA +! FUNCTION: EnumSystemLocalesW +! FUNCTION: EnumTimeFormatsA +! FUNCTION: EnumTimeFormatsW +! FUNCTION: EnumUILanguagesA +! FUNCTION: EnumUILanguagesW +! FUNCTION: EraseTape +! FUNCTION: EscapeCommFunction +! FUNCTION: ExitProcess +! FUNCTION: ExitThread +! FUNCTION: ExitVDM +! FUNCTION: ExpandEnvironmentStringsA +! FUNCTION: ExpandEnvironmentStringsW +! FUNCTION: ExpungeConsoleCommandHistoryA +! FUNCTION: ExpungeConsoleCommandHistoryW +! FUNCTION: ExtendVirtualBuffer +! FUNCTION: FatalAppExitA +! FUNCTION: FatalAppExitW +! FUNCTION: FatalExit +! FUNCTION: FileTimeToDosDateTime +! FUNCTION: FileTimeToLocalFileTime +! FUNCTION: FileTimeToSystemTime +! FUNCTION: FillConsoleOutputAttribute +! FUNCTION: FillConsoleOutputCharacterA +! FUNCTION: FillConsoleOutputCharacterW +! FUNCTION: FindActCtxSectionGuid +! FUNCTION: FindActCtxSectionStringA +! FUNCTION: FindActCtxSectionStringW +! FUNCTION: FindAtomA +! FUNCTION: FindAtomW +! FUNCTION: FindClose +! FUNCTION: FindCloseChangeNotification +! FUNCTION: FindFirstChangeNotificationA +! FUNCTION: FindFirstChangeNotificationW +! FUNCTION: FindFirstFileA +! FUNCTION: FindFirstFileExA +! FUNCTION: FindFirstFileExW +! FUNCTION: FindFirstFileW +! FUNCTION: FindFirstVolumeA +! FUNCTION: FindFirstVolumeMountPointA +! FUNCTION: FindFirstVolumeMountPointW +! FUNCTION: FindFirstVolumeW +! FUNCTION: FindNextChangeNotification +! FUNCTION: FindNextFileA +! FUNCTION: FindNextFileW +! FUNCTION: FindNextVolumeA +! FUNCTION: FindNextVolumeMountPointA +! FUNCTION: FindNextVolumeMountPointW +! FUNCTION: FindNextVolumeW +! FUNCTION: FindResourceA +! FUNCTION: FindResourceExA +! FUNCTION: FindResourceExW +! FUNCTION: FindResourceW +! FUNCTION: FindVolumeClose +! FUNCTION: FindVolumeMountPointClose +! FUNCTION: FlushConsoleInputBuffer +! FUNCTION: FlushFileBuffers +! FUNCTION: FlushInstructionCache +! FUNCTION: FlushViewOfFile +! FUNCTION: FoldStringA +! FUNCTION: FoldStringW +! FUNCTION: FormatMessageA +! FUNCTION: FormatMessageW +! FUNCTION: FreeConsole +! FUNCTION: FreeEnvironmentStringsA +! FUNCTION: FreeEnvironmentStringsW +! FUNCTION: FreeLibrary +! FUNCTION: FreeLibraryAndExitThread +! FUNCTION: FreeResource +! FUNCTION: FreeUserPhysicalPages +! FUNCTION: FreeVirtualBuffer +! FUNCTION: GenerateConsoleCtrlEvent +! FUNCTION: GetACP +! FUNCTION: GetAtomNameA +! FUNCTION: GetAtomNameW +! FUNCTION: GetBinaryType +! FUNCTION: GetBinaryTypeA +! FUNCTION: GetBinaryTypeW +! FUNCTION: GetCalendarInfoA +! FUNCTION: GetCalendarInfoW +! FUNCTION: GetCommandLineA +! FUNCTION: GetCommandLineW +! FUNCTION: GetCommConfig +! FUNCTION: GetCommMask +! FUNCTION: GetCommModemStatus +! FUNCTION: GetCommProperties +! FUNCTION: GetCommState +! FUNCTION: GetCommTimeouts +! FUNCTION: GetComPlusPackageInstallStatus +! FUNCTION: GetCompressedFileSizeA +! FUNCTION: GetCompressedFileSizeW +! FUNCTION: GetComputerNameA +! FUNCTION: GetComputerNameExA +! FUNCTION: GetComputerNameExW +! FUNCTION: GetComputerNameW +! FUNCTION: GetConsoleAliasA +! FUNCTION: GetConsoleAliasesA +! FUNCTION: GetConsoleAliasesLengthA +! FUNCTION: GetConsoleAliasesLengthW +! FUNCTION: GetConsoleAliasesW +! FUNCTION: GetConsoleAliasExesA +! FUNCTION: GetConsoleAliasExesLengthA +! FUNCTION: GetConsoleAliasExesLengthW +! FUNCTION: GetConsoleAliasExesW +! FUNCTION: GetConsoleAliasW +! FUNCTION: GetConsoleCharType +! FUNCTION: GetConsoleCommandHistoryA +! FUNCTION: GetConsoleCommandHistoryLengthA +! FUNCTION: GetConsoleCommandHistoryLengthW +! FUNCTION: GetConsoleCommandHistoryW +! FUNCTION: GetConsoleCP +! FUNCTION: GetConsoleCursorInfo +! FUNCTION: GetConsoleCursorMode +! FUNCTION: GetConsoleDisplayMode +! FUNCTION: GetConsoleFontInfo +! FUNCTION: GetConsoleFontSize +! FUNCTION: GetConsoleHardwareState +! FUNCTION: GetConsoleInputExeNameA +! FUNCTION: GetConsoleInputExeNameW +! FUNCTION: GetConsoleInputWaitHandle +! FUNCTION: GetConsoleKeyboardLayoutNameA +! FUNCTION: GetConsoleKeyboardLayoutNameW +! FUNCTION: GetConsoleMode +! FUNCTION: GetConsoleNlsMode +! FUNCTION: GetConsoleOutputCP +! FUNCTION: GetConsoleProcessList +! FUNCTION: GetConsoleScreenBufferInfo +! FUNCTION: GetConsoleSelectionInfo +FUNCTION: DWORD GetConsoleTitleA ( LPTSTR lpConsoleTitle, DWORD nSize ) ; +FUNCTION: DWORD GetConsoleTitleW ( LPWSTR lpConsoleTitle, DWORD nSize ) ; +: GetConsoleTitle \ GetConsoleTitleW \ GetConsoleTitleA unicode-exec ; +! FUNCTION: GetConsoleWindow +! FUNCTION: GetCPFileNameFromRegistry +! FUNCTION: GetCPInfo +! FUNCTION: GetCPInfoExA +! FUNCTION: GetCPInfoExW +! FUNCTION: GetCurrencyFormatA +! FUNCTION: GetCurrencyFormatW +! FUNCTION: GetCurrentActCtx +! FUNCTION: GetCurrentConsoleFont +! FUNCTION: GetCurrentDirectoryA +! FUNCTION: GetCurrentDirectoryW +! FUNCTION: GetCurrentProcess +! FUNCTION: GetCurrentProcessId +! FUNCTION: GetCurrentThread +! FUNCTION: GetCurrentThreadId +! FUNCTION: GetDateFormatA +! FUNCTION: GetDateFormatW +! FUNCTION: GetDefaultCommConfigA +! FUNCTION: GetDefaultCommConfigW +! FUNCTION: GetDefaultSortkeySize +! FUNCTION: GetDevicePowerState +! FUNCTION: GetDiskFreeSpaceA +! FUNCTION: GetDiskFreeSpaceExA +! FUNCTION: GetDiskFreeSpaceExW +! FUNCTION: GetDiskFreeSpaceW +! FUNCTION: GetDllDirectoryA +! FUNCTION: GetDllDirectoryW +! FUNCTION: GetDriveTypeA +! FUNCTION: GetDriveTypeW +! FUNCTION: GetEnvironmentStrings +! FUNCTION: GetEnvironmentStringsA +! FUNCTION: GetEnvironmentStringsW +! FUNCTION: GetEnvironmentVariableA +! FUNCTION: GetEnvironmentVariableW +! FUNCTION: GetExitCodeProcess +! FUNCTION: GetExitCodeThread +! FUNCTION: GetExpandedNameA +! FUNCTION: GetExpandedNameW +! FUNCTION: GetFileAttributesA +! FUNCTION: GetFileAttributesExA +! FUNCTION: GetFileAttributesExW +! FUNCTION: GetFileAttributesW +! FUNCTION: GetFileInformationByHandle +FUNCTION: DWORD GetFileSize ( HANDLE hFile, LPDWORD lpFileSizeHigh ) ; +! FUNCTION: GetFileSizeEx +! FUNCTION: GetFileTime +! FUNCTION: GetFileType +! FUNCTION: GetFirmwareEnvironmentVariableA +! FUNCTION: GetFirmwareEnvironmentVariableW +! FUNCTION: GetFullPathNameA +! FUNCTION: GetFullPathNameW +! FUNCTION: GetGeoInfoA +! FUNCTION: GetGeoInfoW +! FUNCTION: GetHandleContext +! FUNCTION: GetHandleInformation +! FUNCTION: GetLargestConsoleWindowSize +FUNCTION: DWORD GetLastError ( ) ; +! FUNCTION: GetLinguistLangSize +! FUNCTION: GetLocaleInfoA +! FUNCTION: GetLocaleInfoW +! FUNCTION: GetLocalTime +! FUNCTION: GetLogicalDrives +! FUNCTION: GetLogicalDriveStringsA +! FUNCTION: GetLogicalDriveStringsW +! FUNCTION: GetLongPathNameA +! FUNCTION: GetLongPathNameW +! FUNCTION: GetMailslotInfo +! FUNCTION: GetModuleFileNameA +! FUNCTION: GetModuleFileNameW +FUNCTION: HMODULE GetModuleHandleA ( LPCTSTR lpModuleName ) ; +FUNCTION: HMODULE GetModuleHandleW ( LPCWSTR lpModuleName ) ; +: GetModuleHandle \ GetModuleHandleW \ GetModuleHandleA unicode-exec ; +! FUNCTION: GetModuleHandleExA +! FUNCTION: GetModuleHandleExW +! FUNCTION: GetNamedPipeHandleStateA +! FUNCTION: GetNamedPipeHandleStateW +! FUNCTION: GetNamedPipeInfo +! FUNCTION: GetNativeSystemInfo +! FUNCTION: GetNextVDMCommand +! FUNCTION: GetNlsSectionName +! FUNCTION: GetNumaAvailableMemory +! FUNCTION: GetNumaAvailableMemoryNode +! FUNCTION: GetNumaHighestNodeNumber +! FUNCTION: GetNumaNodeProcessorMask +! FUNCTION: GetNumaProcessorMap +! FUNCTION: GetNumaProcessorNode +! FUNCTION: GetNumberFormatA +! FUNCTION: GetNumberFormatW +! FUNCTION: GetNumberOfConsoleFonts +! FUNCTION: GetNumberOfConsoleInputEvents +! FUNCTION: GetNumberOfConsoleMouseButtons +! FUNCTION: GetOEMCP +! FUNCTION: GetOverlappedResult +! FUNCTION: GetPriorityClass +! FUNCTION: GetPrivateProfileIntA +! FUNCTION: GetPrivateProfileIntW +! FUNCTION: GetPrivateProfileSectionA +! FUNCTION: GetPrivateProfileSectionNamesA +! FUNCTION: GetPrivateProfileSectionNamesW +! FUNCTION: GetPrivateProfileSectionW +! FUNCTION: GetPrivateProfileStringA +! FUNCTION: GetPrivateProfileStringW +! FUNCTION: GetPrivateProfileStructA +! FUNCTION: GetPrivateProfileStructW +! FUNCTION: GetProcAddress +! FUNCTION: GetProcessAffinityMask +! FUNCTION: GetProcessHandleCount +! FUNCTION: GetProcessHeap +! FUNCTION: GetProcessHeaps +! FUNCTION: GetProcessId +! FUNCTION: GetProcessIoCounters +! FUNCTION: GetProcessPriorityBoost +! FUNCTION: GetProcessShutdownParameters +! FUNCTION: GetProcessTimes +! FUNCTION: GetProcessVersion +! FUNCTION: GetProcessWorkingSetSize +! FUNCTION: GetProfileIntA +! FUNCTION: GetProfileIntW +! FUNCTION: GetProfileSectionA +! FUNCTION: GetProfileSectionW +! FUNCTION: GetProfileStringA +! FUNCTION: GetProfileStringW +FUNCTION: BOOL GetQueuedCompletionStatus ( HANDLE hCompletionPort, LPDWORD lpNumberOfBytes, void* lpCompletionKey, LPOVERLAPPED lpOverlapped, DWORD dwMilliseconds ) ; +! FUNCTION: GetShortPathNameA +! FUNCTION: GetShortPathNameW +! FUNCTION: GetStartupInfoA +! FUNCTION: GetStartupInfoW +FUNCTION: HANDLE GetStdHandle ( DWORD nStdHandle ) ; +! FUNCTION: GetStringTypeA +! FUNCTION: GetStringTypeExA +! FUNCTION: GetStringTypeExW +! FUNCTION: GetStringTypeW +! FUNCTION: GetSystemDefaultLangID +! FUNCTION: GetSystemDefaultLCID +! FUNCTION: GetSystemDefaultUILanguage +! FUNCTION: GetSystemDirectoryA +! FUNCTION: GetSystemDirectoryW +! FUNCTION: GetSystemInfo +! FUNCTION: GetSystemPowerStatus +! FUNCTION: GetSystemRegistryQuota +! FUNCTION: GetSystemTime +! FUNCTION: GetSystemTimeAdjustment +! FUNCTION: GetSystemTimeAsFileTime +! FUNCTION: GetSystemTimes +! FUNCTION: GetSystemWindowsDirectoryA +! FUNCTION: GetSystemWindowsDirectoryW +! FUNCTION: GetSystemWow64DirectoryA +! FUNCTION: GetSystemWow64DirectoryW +! FUNCTION: GetTapeParameters +! FUNCTION: GetTapePosition +! FUNCTION: GetTapeStatus +! FUNCTION: GetTempFileNameA +! FUNCTION: GetTempFileNameW +! FUNCTION: GetTempPathA +! FUNCTION: GetTempPathW +! FUNCTION: GetThreadContext +! FUNCTION: GetThreadIOPendingFlag +! FUNCTION: GetThreadLocale +! FUNCTION: GetThreadPriority +! FUNCTION: GetThreadPriorityBoost +! FUNCTION: GetThreadSelectorEntry +! FUNCTION: GetThreadTimes +! FUNCTION: GetTickCount +! FUNCTION: GetTimeFormatA +! FUNCTION: GetTimeFormatW +! FUNCTION: GetTimeZoneInformation +! FUNCTION: GetUserDefaultLangID +! FUNCTION: GetUserDefaultLCID +! FUNCTION: GetUserDefaultUILanguage +! FUNCTION: GetUserGeoID +! FUNCTION: GetVDMCurrentDirectories +! FUNCTION: GetVersion +! FUNCTION: GetVersionExA +! FUNCTION: GetVersionExW +! FUNCTION: GetVolumeInformationA +! FUNCTION: GetVolumeInformationW +! FUNCTION: GetVolumeNameForVolumeMountPointA +! FUNCTION: GetVolumeNameForVolumeMountPointW +! FUNCTION: GetVolumePathNameA +! FUNCTION: GetVolumePathNamesForVolumeNameA +! FUNCTION: GetVolumePathNamesForVolumeNameW +! FUNCTION: GetVolumePathNameW +! FUNCTION: GetWindowsDirectoryA +! FUNCTION: GetWindowsDirectoryW +! FUNCTION: GetWriteWatch +! FUNCTION: GlobalAddAtomA +! FUNCTION: GlobalAddAtomW +FUNCTION: HGLOBAL GlobalAlloc ( UINT uFlags, SIZE_T dwBytes ) ; +! FUNCTION: GlobalCompact +! FUNCTION: GlobalDeleteAtom +! FUNCTION: GlobalFindAtomA +! FUNCTION: GlobalFindAtomW +! FUNCTION: GlobalFix +! FUNCTION: GlobalFlags +! FUNCTION: GlobalFree +! FUNCTION: GlobalGetAtomNameA +! FUNCTION: GlobalGetAtomNameW +! FUNCTION: GlobalHandle +FUNCTION: LPVOID GlobalLock ( HGLOBAL hMem ) ; +! FUNCTION: GlobalMemoryStatus +! FUNCTION: GlobalMemoryStatusEx +! FUNCTION: GlobalReAlloc +! FUNCTION: GlobalSize +! FUNCTION: GlobalUnfix +FUNCTION: BOOL GlobalUnlock ( HGLOBAL hMem ) ; +! FUNCTION: GlobalUnWire +! FUNCTION: GlobalWire +! FUNCTION: Heap32First +! FUNCTION: Heap32ListFirst +! FUNCTION: Heap32ListNext +! FUNCTION: Heap32Next +! FUNCTION: HeapAlloc +! FUNCTION: HeapCompact +! FUNCTION: HeapCreate +! FUNCTION: HeapCreateTagsW +! FUNCTION: HeapDestroy +! FUNCTION: HeapExtend +! FUNCTION: HeapFree +! FUNCTION: HeapLock +! FUNCTION: HeapQueryInformation +! FUNCTION: HeapQueryTagW +! FUNCTION: HeapReAlloc +! FUNCTION: HeapSetInformation +! FUNCTION: HeapSize +! FUNCTION: HeapSummary +! FUNCTION: HeapUnlock +! FUNCTION: HeapUsage +! FUNCTION: HeapValidate +! FUNCTION: HeapWalk +! FUNCTION: InitAtomTable +! FUNCTION: InitializeCriticalSection +! FUNCTION: InitializeCriticalSectionAndSpinCount +! FUNCTION: InitializeSListHead +! FUNCTION: InterlockedCompareExchange +! FUNCTION: InterlockedDecrement +! FUNCTION: InterlockedExchange +! FUNCTION: InterlockedExchangeAdd +! FUNCTION: InterlockedFlushSList +! FUNCTION: InterlockedIncrement +! FUNCTION: InterlockedPopEntrySList +! FUNCTION: InterlockedPushEntrySList +! FUNCTION: InvalidateConsoleDIBits +! FUNCTION: IsBadCodePtr +! FUNCTION: IsBadHugeReadPtr +! FUNCTION: IsBadHugeWritePtr +! FUNCTION: IsBadReadPtr +! FUNCTION: IsBadStringPtrA +! FUNCTION: IsBadStringPtrW +! FUNCTION: IsBadWritePtr +! FUNCTION: IsDBCSLeadByte +! FUNCTION: IsDBCSLeadByteEx +! FUNCTION: IsDebuggerPresent +! FUNCTION: IsProcessInJob +! FUNCTION: IsProcessorFeaturePresent +! FUNCTION: IsSystemResumeAutomatic +! FUNCTION: IsValidCodePage +! FUNCTION: IsValidLanguageGroup +! FUNCTION: IsValidLocale +! FUNCTION: IsValidUILanguage +! FUNCTION: IsWow64Process +! FUNCTION: LCMapStringA +! FUNCTION: LCMapStringW +! FUNCTION: LeaveCriticalSection +! FUNCTION: LoadLibraryA +! FUNCTION: LoadLibraryExA +! FUNCTION: LoadLibraryExW +! FUNCTION: LoadLibraryW +! FUNCTION: LoadModule +! FUNCTION: LoadResource +! FUNCTION: LocalAlloc +! FUNCTION: LocalCompact +! FUNCTION: LocalFileTimeToFileTime +! FUNCTION: LocalFlags +! FUNCTION: LocalFree +! FUNCTION: LocalHandle +! FUNCTION: LocalLock +! FUNCTION: LocalReAlloc +! FUNCTION: LocalShrink +! FUNCTION: LocalSize +! FUNCTION: LocalUnlock +! FUNCTION: LockFile +! FUNCTION: LockFileEx +! FUNCTION: LockResource +! FUNCTION: lstrcat +! FUNCTION: lstrcatA +! FUNCTION: lstrcatW +! FUNCTION: lstrcmp +! FUNCTION: lstrcmpA +! FUNCTION: lstrcmpi +! FUNCTION: lstrcmpiA +! FUNCTION: lstrcmpiW +! FUNCTION: lstrcmpW +! FUNCTION: lstrcpy +! FUNCTION: lstrcpyA +! FUNCTION: lstrcpyn +! FUNCTION: lstrcpynA +! FUNCTION: lstrcpynW +! FUNCTION: lstrcpyW +! FUNCTION: lstrlen +! FUNCTION: lstrlenA +! FUNCTION: lstrlenW +! FUNCTION: LZClose +! FUNCTION: LZCloseFile +! FUNCTION: LZCopy +! FUNCTION: LZCreateFileW +! FUNCTION: LZDone +! FUNCTION: LZInit +! FUNCTION: LZOpenFileA +! FUNCTION: LZOpenFileW +! FUNCTION: LZRead +! FUNCTION: LZSeek +! FUNCTION: LZStart +! FUNCTION: MapUserPhysicalPages +! FUNCTION: MapUserPhysicalPagesScatter +! FUNCTION: MapViewOfFile +! FUNCTION: MapViewOfFileEx +! FUNCTION: Module32First +! FUNCTION: Module32FirstW +! FUNCTION: Module32Next +! FUNCTION: Module32NextW +! FUNCTION: MoveFileA +! FUNCTION: MoveFileExA +! FUNCTION: MoveFileExW +! FUNCTION: MoveFileW +! FUNCTION: MoveFileWithProgressA +! FUNCTION: MoveFileWithProgressW +! FUNCTION: MulDiv +! FUNCTION: MultiByteToWideChar +! FUNCTION: NlsConvertIntegerToString +! FUNCTION: NlsGetCacheUpdateCount +! FUNCTION: NlsResetProcessLocale +! FUNCTION: NumaVirtualQueryNode +! FUNCTION: OpenConsoleW +! FUNCTION: OpenDataFile +! FUNCTION: OpenEventA +! FUNCTION: OpenEventW +! FUNCTION: OpenFile +! FUNCTION: OpenFileMappingA +! FUNCTION: OpenFileMappingW +! FUNCTION: OpenJobObjectA +! FUNCTION: OpenJobObjectW +! FUNCTION: OpenMutexA +! FUNCTION: OpenMutexW +! FUNCTION: OpenProcess +! FUNCTION: OpenProfileUserMapping +! FUNCTION: OpenSemaphoreA +! FUNCTION: OpenSemaphoreW +! FUNCTION: OpenThread +! FUNCTION: OpenWaitableTimerA +! FUNCTION: OpenWaitableTimerW +! FUNCTION: OutputDebugStringA +! FUNCTION: OutputDebugStringW +! FUNCTION: PeekConsoleInputA +! FUNCTION: PeekConsoleInputW +! FUNCTION: PeekNamedPipe +! FUNCTION: PostQueuedCompletionStatus +! FUNCTION: PrepareTape +! FUNCTION: PrivCopyFileExW +! FUNCTION: PrivMoveFileIdentityW +! FUNCTION: Process32First +! FUNCTION: Process32FirstW +! FUNCTION: Process32Next +! FUNCTION: Process32NextW +! FUNCTION: ProcessIdToSessionId +! FUNCTION: PulseEvent +! FUNCTION: PurgeComm +! FUNCTION: QueryActCtxW +! FUNCTION: QueryDepthSList +! FUNCTION: QueryDosDeviceA +! FUNCTION: QueryDosDeviceW +! FUNCTION: QueryInformationJobObject +! FUNCTION: QueryMemoryResourceNotification +! FUNCTION: QueryPerformanceCounter +! FUNCTION: QueryPerformanceFrequency +! FUNCTION: QueryWin31IniFilesMappedToRegistry +! FUNCTION: QueueUserAPC +! FUNCTION: QueueUserWorkItem +! FUNCTION: RaiseException +! FUNCTION: ReadConsoleA +! FUNCTION: ReadConsoleInputA +! FUNCTION: ReadConsoleInputExA +! FUNCTION: ReadConsoleInputExW +! FUNCTION: ReadConsoleInputW +! FUNCTION: ReadConsoleOutputA +! FUNCTION: ReadConsoleOutputAttribute +! FUNCTION: ReadConsoleOutputCharacterA +! FUNCTION: ReadConsoleOutputCharacterW +! FUNCTION: ReadConsoleOutputW +! FUNCTION: ReadConsoleW +! FUNCTION: ReadDirectoryChangesW +FUNCTION: BOOL ReadFile ( HANDLE hFile, int lpBuffer, DWORD nNumberOfBytesToRead, void* lpNumberOfBytesRead, LPOVERLAPPED lpOverlapped ) ; +! FUNCTION: BOOL ReadFile ( HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToRead, LPDWORD lpNumberOfBytesRead, LPOVERLAPPED lpOverlapped ) ; +! FUNCTION: ReadFileEx +! FUNCTION: ReadFileScatter +! FUNCTION: ReadProcessMemory +! FUNCTION: RegisterConsoleIME +! FUNCTION: RegisterConsoleOS2 +! FUNCTION: RegisterConsoleVDM +! FUNCTION: RegisterWaitForInputIdle +! FUNCTION: RegisterWaitForSingleObject +! FUNCTION: RegisterWaitForSingleObjectEx +! FUNCTION: RegisterWowBaseHandlers +! FUNCTION: RegisterWowExec +! FUNCTION: ReleaseActCtx +! FUNCTION: ReleaseMutex +! FUNCTION: ReleaseSemaphore +! FUNCTION: RemoveDirectoryA +! FUNCTION: RemoveDirectoryW +! FUNCTION: RemoveLocalAlternateComputerNameA +! FUNCTION: RemoveLocalAlternateComputerNameW +! FUNCTION: RemoveVectoredExceptionHandler +! FUNCTION: ReplaceFile +! FUNCTION: ReplaceFileA +! FUNCTION: ReplaceFileW +! FUNCTION: RequestDeviceWakeup +! FUNCTION: RequestWakeupLatency +! FUNCTION: ResetEvent +! FUNCTION: ResetWriteWatch +! FUNCTION: RestoreLastError +! FUNCTION: ResumeThread +! FUNCTION: RtlCaptureContext +! FUNCTION: RtlCaptureStackBackTrace +! FUNCTION: RtlFillMemory +! FUNCTION: RtlMoveMemory +! FUNCTION: RtlUnwind +! FUNCTION: RtlZeroMemory +! FUNCTION: ScrollConsoleScreenBufferA +! FUNCTION: ScrollConsoleScreenBufferW +! FUNCTION: SearchPathA +! FUNCTION: SearchPathW +! FUNCTION: SetCalendarInfoA +! FUNCTION: SetCalendarInfoW +! FUNCTION: SetClientTimeZoneInformation +! FUNCTION: SetCommBreak +! FUNCTION: SetCommConfig +! FUNCTION: SetCommMask +! FUNCTION: SetCommState +! FUNCTION: SetCommTimeouts +! FUNCTION: SetComPlusPackageInstallStatus +! FUNCTION: SetComputerNameA +! FUNCTION: SetComputerNameExA +! FUNCTION: SetComputerNameExW +! FUNCTION: SetComputerNameW +! FUNCTION: SetConsoleActiveScreenBuffer +! FUNCTION: SetConsoleCommandHistoryMode +! FUNCTION: SetConsoleCP +! FUNCTION: SetConsoleCtrlHandler +! FUNCTION: SetConsoleCursor +! FUNCTION: SetConsoleCursorInfo +! FUNCTION: SetConsoleCursorMode +! FUNCTION: SetConsoleCursorPosition +! FUNCTION: SetConsoleDisplayMode +! FUNCTION: SetConsoleFont +! FUNCTION: SetConsoleHardwareState +! FUNCTION: SetConsoleIcon +! FUNCTION: SetConsoleInputExeNameA +! FUNCTION: SetConsoleInputExeNameW +! FUNCTION: SetConsoleKeyShortcuts +! FUNCTION: SetConsoleLocalEUDC +! FUNCTION: SetConsoleMaximumWindowSize +! FUNCTION: SetConsoleMenuClose +! FUNCTION: SetConsoleMode +! FUNCTION: SetConsoleNlsMode +! FUNCTION: SetConsoleNumberOfCommandsA +! FUNCTION: SetConsoleNumberOfCommandsW +! FUNCTION: SetConsoleOS2OemFormat +! FUNCTION: SetConsoleOutputCP +! FUNCTION: SetConsolePalette +! FUNCTION: SetConsoleScreenBufferSize +FUNCTION: BOOL SetConsoleTextAttribute ( HANDLE hConsoleOutput, WORD wAttributes ) ; +FUNCTION: BOOL SetConsoleTitleA ( LPCTSTR lpConsoleTitle ) ; +FUNCTION: BOOL SetConsoleTitleW ( LPCWSTR lpConsoleTitle ) ; +: SetConsoleTitle \ SetConsoleTitleW \ SetConsoleTitleA unicode-exec ; +! FUNCTION: SetConsoleWindowInfo +! FUNCTION: SetCPGlobal +! FUNCTION: SetCriticalSectionSpinCount +! FUNCTION: SetCurrentDirectoryA +! FUNCTION: SetCurrentDirectoryW +! FUNCTION: SetDefaultCommConfigA +! FUNCTION: SetDefaultCommConfigW +! FUNCTION: SetDllDirectoryA +! FUNCTION: SetDllDirectoryW +! FUNCTION: SetEndOfFile +! FUNCTION: SetEnvironmentVariableA +! FUNCTION: SetEnvironmentVariableW +! FUNCTION: SetErrorMode +! FUNCTION: SetEvent +! FUNCTION: SetFileApisToANSI +! FUNCTION: SetFileApisToOEM +! FUNCTION: SetFileAttributesA +! FUNCTION: SetFileAttributesW +! FUNCTION: SetFilePointer +! FUNCTION: SetFilePointerEx +! FUNCTION: SetFileShortNameA +! FUNCTION: SetFileShortNameW +! FUNCTION: SetFileTime +! FUNCTION: SetFileValidData +! FUNCTION: SetFirmwareEnvironmentVariableA +! FUNCTION: SetFirmwareEnvironmentVariableW +! FUNCTION: SetHandleContext +! FUNCTION: SetHandleCount +! FUNCTION: SetHandleInformation +! FUNCTION: SetInformationJobObject +! FUNCTION: SetLastConsoleEventActive +! FUNCTION: SetLastError +! FUNCTION: SetLocaleInfoA +! FUNCTION: SetLocaleInfoW +! FUNCTION: SetLocalPrimaryComputerNameA +! FUNCTION: SetLocalPrimaryComputerNameW +! FUNCTION: SetLocalTime +! FUNCTION: SetMailslotInfo +! FUNCTION: SetMessageWaitingIndicator +! FUNCTION: SetNamedPipeHandleState +! FUNCTION: SetPriorityClass +! FUNCTION: SetProcessAffinityMask +! FUNCTION: SetProcessPriorityBoost +! FUNCTION: SetProcessShutdownParameters +! FUNCTION: SetProcessWorkingSetSize +! FUNCTION: SetStdHandle +! FUNCTION: SetSystemPowerState +! FUNCTION: SetSystemTime +! FUNCTION: SetSystemTimeAdjustment +! FUNCTION: SetTapeParameters +! FUNCTION: SetTapePosition +! FUNCTION: SetTermsrvAppInstallMode +! FUNCTION: SetThreadAffinityMask +! FUNCTION: SetThreadContext +! FUNCTION: SetThreadExecutionState +! FUNCTION: SetThreadIdealProcessor +! FUNCTION: SetThreadLocale +! FUNCTION: SetThreadPriority +! FUNCTION: SetThreadPriorityBoost +! FUNCTION: SetThreadUILanguage +! FUNCTION: SetTimerQueueTimer +! FUNCTION: SetTimeZoneInformation +! FUNCTION: SetUnhandledExceptionFilter +! FUNCTION: SetupComm +! FUNCTION: SetUserGeoID +! FUNCTION: SetVDMCurrentDirectories +! FUNCTION: SetVolumeLabelA +! FUNCTION: SetVolumeLabelW +! FUNCTION: SetVolumeMountPointA +! FUNCTION: SetVolumeMountPointW +! FUNCTION: SetWaitableTimer +! FUNCTION: ShowConsoleCursor +! FUNCTION: SignalObjectAndWait +! FUNCTION: SizeofResource +! FUNCTION: Sleep +FUNCTION: DWORD SleepEx ( DWORD dwMilliSeconds, BOOL bAlertable ) ; +! FUNCTION: SuspendThread +! FUNCTION: SwitchToFiber +! FUNCTION: SwitchToThread +! FUNCTION: SystemTimeToFileTime +! FUNCTION: SystemTimeToTzSpecificLocalTime +! FUNCTION: TerminateJobObject +! FUNCTION: TerminateProcess +! FUNCTION: TerminateThread +! FUNCTION: TermsrvAppInstallMode +! FUNCTION: Thread32First +! FUNCTION: Thread32Next +! FUNCTION: TlsAlloc +! FUNCTION: TlsFree +! FUNCTION: TlsGetValue +! FUNCTION: TlsSetValue +! FUNCTION: Toolhelp32ReadProcessMemory +! FUNCTION: TransactNamedPipe +! FUNCTION: TransmitCommChar +! FUNCTION: TrimVirtualBuffer +! FUNCTION: TryEnterCriticalSection +! FUNCTION: TzSpecificLocalTimeToSystemTime +! FUNCTION: UnhandledExceptionFilter +! FUNCTION: UnlockFile +! FUNCTION: UnlockFileEx +! FUNCTION: UnmapViewOfFile +! FUNCTION: UnregisterConsoleIME +! FUNCTION: UnregisterWait +! FUNCTION: UnregisterWaitEx +! FUNCTION: UpdateResourceA +! FUNCTION: UpdateResourceW +! FUNCTION: UTRegister +! FUNCTION: UTUnRegister +! FUNCTION: ValidateLCType +! FUNCTION: ValidateLocale +! FUNCTION: VDMConsoleOperation +! FUNCTION: VDMOperationStarted +! FUNCTION: VerifyConsoleIoHandle +! FUNCTION: VerifyVersionInfoA +! FUNCTION: VerifyVersionInfoW +! FUNCTION: VerLanguageNameA +! FUNCTION: VerLanguageNameW +! FUNCTION: VerSetConditionMask +! FUNCTION: VirtualAlloc +! FUNCTION: VirtualAllocEx +! FUNCTION: VirtualBufferExceptionHandler +! FUNCTION: VirtualFree +! FUNCTION: VirtualFreeEx +! FUNCTION: VirtualLock +! FUNCTION: VirtualProtect +! FUNCTION: VirtualProtectEx +! FUNCTION: VirtualQuery +! FUNCTION: VirtualQueryEx +! FUNCTION: VirtualUnlock +! FUNCTION: WaitCommEvent +! FUNCTION: WaitForDebugEvent +! FUNCTION: WaitForMultipleObjects +! FUNCTION: WaitForMultipleObjectsEx +! FUNCTION: WaitForSingleObject +! FUNCTION: WaitForSingleObjectEx +! FUNCTION: WaitNamedPipeA +! FUNCTION: WaitNamedPipeW +! FUNCTION: WideCharToMultiByte +! FUNCTION: WinExec +! FUNCTION: WriteConsoleA +! FUNCTION: WriteConsoleInputA +! FUNCTION: WriteConsoleInputVDMA +! FUNCTION: WriteConsoleInputVDMW +! FUNCTION: WriteConsoleInputW +! FUNCTION: WriteConsoleOutputA +! FUNCTION: WriteConsoleOutputAttribute +! FUNCTION: WriteConsoleOutputCharacterA +! FUNCTION: WriteConsoleOutputCharacterW +! FUNCTION: WriteConsoleOutputW +! FUNCTION: WriteConsoleW +FUNCTION: BOOL WriteFile ( HANDLE hFile, int lpBuffer, DWORD nNumberOfBytesToWrite, void* lpNumberOfBytesWritten, LPOVERLAPPED lpOverlapped ) ; +! FUNCTION: WriteFileEx +! FUNCTION: WriteFileGather +! FUNCTION: WritePrivateProfileSectionA +! FUNCTION: WritePrivateProfileSectionW +! FUNCTION: WritePrivateProfileStringA +! FUNCTION: WritePrivateProfileStringW +! FUNCTION: WritePrivateProfileStructA +! FUNCTION: WritePrivateProfileStructW +! FUNCTION: WriteProcessMemory +! FUNCTION: WriteProfileSectionA +! FUNCTION: WriteProfileSectionW +! FUNCTION: WriteProfileStringA +! FUNCTION: WriteProfileStringW +! FUNCTION: WriteTapemark +! FUNCTION: WTSGetActiveConsoleSessionId +! FUNCTION: ZombifyActCtx diff --git a/library/windows/load.factor b/library/windows/load.factor index 931f7afd14..a6c9ec1c8a 100644 --- a/library/windows/load.factor +++ b/library/windows/load.factor @@ -1,31 +1,31 @@ -IN: scratchpad -USING: alien compiler kernel namespaces parser sequences words ; - -{ - { "gdi32" "gdi32.dll" "stdcall" } - { "user32" "user32.dll" "stdcall" } - { "kernel32" "kernel32.dll" "stdcall" } - { "winsock" "ws2_32.dll" "stdcall" } - { "mswsock" "mswsock.dll" "stdcall" } - { "libc" "msvcrt.dll" "cdecl" } -} [ first3 add-library ] each - -{ - "windows-messages" - "types" - "gdi32-constants" - "gdi32" - "kernel32-constants" - "kernel32-structs" - "kernel32-types" - "kernel32" - "user32-constants" - "user32-structs" - "user32-types" - "user32" - "opengl32" - "utils" -} [ "/library/windows/" swap ".factor" append3 run-resource ] each - -IN: kernel -: default-shell "tty" ; +IN: scratchpad +USING: alien compiler kernel namespaces parser sequences words ; + +{ + { "gdi32" "gdi32.dll" "stdcall" } + { "user32" "user32.dll" "stdcall" } + { "kernel32" "kernel32.dll" "stdcall" } + { "winsock" "ws2_32.dll" "stdcall" } + { "mswsock" "mswsock.dll" "stdcall" } + { "libc" "msvcrt.dll" "cdecl" } +} [ first3 add-library ] each + +{ + "windows-messages" + "types" + "gdi32-constants" + "gdi32" + "kernel32-constants" + "kernel32-structs" + "kernel32-types" + "kernel32" + "user32-constants" + "user32-structs" + "user32-types" + "user32" + "opengl32" + "utils" +} [ "/library/windows/" swap ".factor" append3 run-resource ] each + +IN: kernel +: default-shell "tty" ;