mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
I commited more files than I wanted by mistake. :( This patch reverses most of the changes and addes commit message for the others.
reactos/config - Reversed reactos/lib/gdi32/objects/bitblt.c - Reversed reactos/lib/kernel32/process/create.c - Added output of user mode exception address. reactos/lib/user32/controls/button.c - Fixed debug print reactos/lib/user32/windows/bitmap.c - Reversed reactos/ntoskrnl/cm/rtlfunc.c - Reversed reactos/ntoskrnl/io/driver.c - Reversed reactos/subsys/system/explorer/buildno.h - Updated reactos/subsys/system/explorer/explorer_intres.rc - Changed VK_S and VK_X to numeric values, because MinGW doesn't have these constants. reactos/subsys/system/explorer/makefile - Reversed reactos/subsys/win32k/ntuser/windc.c - Reversed svn path=/trunk/; revision=6255
This commit is contained in:
parent
3e4cc29925
commit
91aeffd931
7 changed files with 3143 additions and 3271 deletions
|
@ -1,38 +1,38 @@
|
||||||
#
|
#
|
||||||
# Architecture to build for
|
# Architecture to build for
|
||||||
#
|
#
|
||||||
# Specify one of: i386
|
# Specify one of: i386
|
||||||
# Possible values in the future: alpha,i386,m68k,mips,powerpc
|
# Possible values in the future: alpha,i386,m68k,mips,powerpc
|
||||||
ARCH := i386
|
ARCH := i386
|
||||||
|
|
||||||
#
|
#
|
||||||
# Whether to compile in the kernel debugger
|
# Whether to compile in the kernel debugger
|
||||||
#
|
#
|
||||||
KDBG := 0
|
KDBG := 0
|
||||||
|
|
||||||
#
|
#
|
||||||
# Whether to compile for debugging
|
# Whether to compile for debugging
|
||||||
#
|
#
|
||||||
DBG := 0
|
DBG := 0
|
||||||
|
|
||||||
#
|
#
|
||||||
# Whether to compile a multiprocessor or single processor version
|
# Whether to compile a multiprocessor or single processor version
|
||||||
#
|
#
|
||||||
MP := 0
|
MP := 0
|
||||||
|
|
||||||
#
|
#
|
||||||
# Whether to compile for ACPI compliant systems
|
# Whether to compile for ACPI compliant systems
|
||||||
#
|
#
|
||||||
ACPI := 1
|
ACPI := 0
|
||||||
|
|
||||||
#
|
#
|
||||||
# Whether to use Structured Exception Handling
|
# Whether to use Structured Exception Handling
|
||||||
#
|
#
|
||||||
SEH := 0
|
SEH := 0
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Which version of NDIS do we support up to?
|
# Which version of NDIS do we support up to?
|
||||||
#
|
#
|
||||||
#NDISVERSION=NDIS50
|
#NDISVERSION=NDIS50
|
||||||
|
|
||||||
|
|
|
@ -1,386 +1,386 @@
|
||||||
#ifdef UNICODE
|
#ifdef UNICODE
|
||||||
#undef UNICODE
|
#undef UNICODE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef WIN32_LEAN_AND_MEAN
|
#undef WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <ddk/ntddk.h>
|
#include <ddk/ntddk.h>
|
||||||
#include <win32k/kapi.h>
|
#include <win32k/kapi.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOL
|
BOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
BitBlt(HDC hDCDest,
|
BitBlt(HDC hDCDest,
|
||||||
INT XDest,
|
INT XDest,
|
||||||
INT YDest,
|
INT YDest,
|
||||||
INT Width,
|
INT Width,
|
||||||
INT Height,
|
INT Height,
|
||||||
HDC hDCSrc,
|
HDC hDCSrc,
|
||||||
INT XSrc,
|
INT XSrc,
|
||||||
INT YSrc,
|
INT YSrc,
|
||||||
DWORD ROP)
|
DWORD ROP)
|
||||||
{
|
{
|
||||||
return NtGdiBitBlt(hDCDest, XDest, YDest, Width, Height, hDCSrc, XSrc, YSrc, ROP);
|
return NtGdiBitBlt(hDCDest, XDest, YDest, Width, Height, hDCSrc, XSrc, YSrc, ROP);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
HBITMAP
|
HBITMAP
|
||||||
STDCALL
|
STDCALL
|
||||||
CreateBitmap(INT Width,
|
CreateBitmap(INT Width,
|
||||||
INT Height,
|
INT Height,
|
||||||
UINT Planes,
|
UINT Planes,
|
||||||
UINT BitsPerPel,
|
UINT BitsPerPel,
|
||||||
CONST VOID *Bits)
|
CONST VOID *Bits)
|
||||||
{
|
{
|
||||||
return NtGdiCreateBitmap(Width, Height, Planes, BitsPerPel, Bits);
|
return NtGdiCreateBitmap(Width, Height, Planes, BitsPerPel, Bits);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
HBITMAP
|
HBITMAP
|
||||||
STDCALL
|
STDCALL
|
||||||
CreateBitmapIndirect(CONST BITMAP *BM)
|
CreateBitmapIndirect(CONST BITMAP *BM)
|
||||||
{
|
{
|
||||||
return NtGdiCreateBitmapIndirect(BM);
|
return NtGdiCreateBitmapIndirect(BM);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
HBITMAP
|
HBITMAP
|
||||||
STDCALL
|
STDCALL
|
||||||
CreateCompatibleBitmap(HDC hDC,
|
CreateCompatibleBitmap(HDC hDC,
|
||||||
INT Width,
|
INT Width,
|
||||||
INT Height)
|
INT Height)
|
||||||
{
|
{
|
||||||
return NtGdiCreateCompatibleBitmap(hDC, Width, Height);
|
return NtGdiCreateCompatibleBitmap(hDC, Width, Height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
HBITMAP
|
HBITMAP
|
||||||
STDCALL
|
STDCALL
|
||||||
CreateDiscardableBitmap(HDC hDC,
|
CreateDiscardableBitmap(HDC hDC,
|
||||||
INT Width,
|
INT Width,
|
||||||
INT Height)
|
INT Height)
|
||||||
{
|
{
|
||||||
return NtGdiCreateDiscardableBitmap(hDC, Width, Height);
|
return NtGdiCreateDiscardableBitmap(hDC, Width, Height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
HBITMAP
|
HBITMAP
|
||||||
STDCALL
|
STDCALL
|
||||||
CreateDIBitmap(HDC hDC,
|
CreateDIBitmap(HDC hDC,
|
||||||
CONST BITMAPINFOHEADER *bmih,
|
CONST BITMAPINFOHEADER *bmih,
|
||||||
DWORD Init,
|
DWORD Init,
|
||||||
CONST VOID *bInit,
|
CONST VOID *bInit,
|
||||||
CONST BITMAPINFO *bmi,
|
CONST BITMAPINFO *bmi,
|
||||||
UINT Usage)
|
UINT Usage)
|
||||||
{
|
{
|
||||||
return NtGdiCreateDIBitmap(hDC, bmih, Init, bInit, bmi, Usage);
|
return NtGdiCreateDIBitmap(hDC, bmih, Init, bInit, bmi, Usage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LONG
|
LONG
|
||||||
STDCALL
|
STDCALL
|
||||||
GetBitmapBits(HBITMAP hBitmap,
|
GetBitmapBits(HBITMAP hBitmap,
|
||||||
LONG Count,
|
LONG Count,
|
||||||
LPVOID Bits)
|
LPVOID Bits)
|
||||||
{
|
{
|
||||||
return NtGdiGetBitmapBits(hBitmap, Count, Bits);
|
return NtGdiGetBitmapBits(hBitmap, Count, Bits);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOL
|
BOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
GetBitmapDimensionEx(HBITMAP hBitmap,
|
GetBitmapDimensionEx(HBITMAP hBitmap,
|
||||||
LPSIZE Dimension)
|
LPSIZE Dimension)
|
||||||
{
|
{
|
||||||
return NtGdiGetBitmapDimensionEx(hBitmap, Dimension);
|
return NtGdiGetBitmapDimensionEx(hBitmap, Dimension);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
STDCALL
|
STDCALL
|
||||||
GetDIBits(HDC hDC,
|
GetDIBits(HDC hDC,
|
||||||
HBITMAP hBitmap,
|
HBITMAP hBitmap,
|
||||||
UINT StartScan,
|
UINT StartScan,
|
||||||
UINT ScanLines,
|
UINT ScanLines,
|
||||||
LPVOID Bits,
|
LPVOID Bits,
|
||||||
LPBITMAPINFO bi,
|
LPBITMAPINFO bi,
|
||||||
UINT Usage)
|
UINT Usage)
|
||||||
{
|
{
|
||||||
return NtGdiGetDIBits(hDC, hBitmap, StartScan, ScanLines, Bits, bi, Usage);
|
return NtGdiGetDIBits(hDC, hBitmap, StartScan, ScanLines, Bits, bi, Usage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOL
|
BOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
MaskBlt(HDC hDCDest,
|
MaskBlt(HDC hDCDest,
|
||||||
INT XDest,
|
INT XDest,
|
||||||
INT YDest,
|
INT YDest,
|
||||||
INT Width,
|
INT Width,
|
||||||
INT Height,
|
INT Height,
|
||||||
HDC hDCSrc,
|
HDC hDCSrc,
|
||||||
INT XSrc,
|
INT XSrc,
|
||||||
INT YSrc,
|
INT YSrc,
|
||||||
HBITMAP hMaskBitmap,
|
HBITMAP hMaskBitmap,
|
||||||
INT xMask,
|
INT xMask,
|
||||||
INT yMask,
|
INT yMask,
|
||||||
DWORD ROP)
|
DWORD ROP)
|
||||||
{
|
{
|
||||||
return NtGdiMaskBlt(hDCDest, XDest, YDest, Width, Height, hDCSrc, XSrc, YSrc, hMaskBitmap, xMask, yMask, ROP);
|
return NtGdiMaskBlt(hDCDest, XDest, YDest, Width, Height, hDCSrc, XSrc, YSrc, hMaskBitmap, xMask, yMask, ROP);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOL
|
BOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
PlgBlt(HDC hDCDest,
|
PlgBlt(HDC hDCDest,
|
||||||
CONST POINT *Point,
|
CONST POINT *Point,
|
||||||
HDC hDCSrc,
|
HDC hDCSrc,
|
||||||
INT XSrc,
|
INT XSrc,
|
||||||
INT YSrc,
|
INT YSrc,
|
||||||
INT Width,
|
INT Width,
|
||||||
INT Height,
|
INT Height,
|
||||||
HBITMAP hMaskBitmap,
|
HBITMAP hMaskBitmap,
|
||||||
INT xMask,
|
INT xMask,
|
||||||
INT yMask)
|
INT yMask)
|
||||||
{
|
{
|
||||||
return NtGdiPlgBlt(hDCDest, Point, hDCSrc, XSrc, YSrc, Width, Height, hMaskBitmap, xMask, yMask);
|
return NtGdiPlgBlt(hDCDest, Point, hDCSrc, XSrc, YSrc, Width, Height, hMaskBitmap, xMask, yMask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LONG
|
LONG
|
||||||
STDCALL
|
STDCALL
|
||||||
SetBitmapBits(HBITMAP hBitmap,
|
SetBitmapBits(HBITMAP hBitmap,
|
||||||
DWORD Bytes,
|
DWORD Bytes,
|
||||||
CONST VOID *Bits)
|
CONST VOID *Bits)
|
||||||
{
|
{
|
||||||
return NtGdiSetBitmapBits(hBitmap, Bytes, Bits);
|
return NtGdiSetBitmapBits(hBitmap, Bytes, Bits);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
STDCALL
|
STDCALL
|
||||||
SetDIBits(HDC hDC,
|
SetDIBits(HDC hDC,
|
||||||
HBITMAP hBitmap,
|
HBITMAP hBitmap,
|
||||||
UINT StartScan,
|
UINT StartScan,
|
||||||
UINT ScanLines,
|
UINT ScanLines,
|
||||||
CONST VOID *Bits,
|
CONST VOID *Bits,
|
||||||
CONST BITMAPINFO *bmi,
|
CONST BITMAPINFO *bmi,
|
||||||
UINT ColorUse)
|
UINT ColorUse)
|
||||||
{
|
{
|
||||||
return NtGdiSetDIBits(hDC, hBitmap, StartScan, ScanLines, Bits, bmi, ColorUse);
|
return NtGdiSetDIBits(hDC, hBitmap, StartScan, ScanLines, Bits, bmi, ColorUse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
STDCALL
|
STDCALL
|
||||||
SetDIBitsToDevice(HDC hDC,
|
SetDIBitsToDevice(HDC hDC,
|
||||||
INT XDest,
|
INT XDest,
|
||||||
INT YDest,
|
INT YDest,
|
||||||
DWORD Width,
|
DWORD Width,
|
||||||
DWORD Height,
|
DWORD Height,
|
||||||
INT XSrc,
|
INT XSrc,
|
||||||
INT YSrc,
|
INT YSrc,
|
||||||
UINT StartScan,
|
UINT StartScan,
|
||||||
UINT ScanLines,
|
UINT ScanLines,
|
||||||
CONST VOID *Bits,
|
CONST VOID *Bits,
|
||||||
CONST BITMAPINFO *bmi,
|
CONST BITMAPINFO *bmi,
|
||||||
UINT ColorUse)
|
UINT ColorUse)
|
||||||
{
|
{
|
||||||
return NtGdiSetDIBitsToDevice(hDC, XDest, YDest, Width, Height, XSrc, YSrc, StartScan, ScanLines,
|
return NtGdiSetDIBitsToDevice(hDC, XDest, YDest, Width, Height, XSrc, YSrc, StartScan, ScanLines,
|
||||||
Bits, bmi, ColorUse);
|
Bits, bmi, ColorUse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOL
|
BOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
StretchBlt(
|
StretchBlt(
|
||||||
HDC hdcDest, // handle to destination DC
|
HDC hdcDest, // handle to destination DC
|
||||||
int nXOriginDest, // x-coord of destination upper-left corner
|
int nXOriginDest, // x-coord of destination upper-left corner
|
||||||
int nYOriginDest, // y-coord of destination upper-left corner
|
int nYOriginDest, // y-coord of destination upper-left corner
|
||||||
int nWidthDest, // width of destination rectangle
|
int nWidthDest, // width of destination rectangle
|
||||||
int nHeightDest, // height of destination rectangle
|
int nHeightDest, // height of destination rectangle
|
||||||
HDC hdcSrc, // handle to source DC
|
HDC hdcSrc, // handle to source DC
|
||||||
int nXOriginSrc, // x-coord of source upper-left corner
|
int nXOriginSrc, // x-coord of source upper-left corner
|
||||||
int nYOriginSrc, // y-coord of source upper-left corner
|
int nYOriginSrc, // y-coord of source upper-left corner
|
||||||
int nWidthSrc, // width of source rectangle
|
int nWidthSrc, // width of source rectangle
|
||||||
int nHeightSrc, // height of source rectangle
|
int nHeightSrc, // height of source rectangle
|
||||||
DWORD dwRop // raster operation code
|
DWORD dwRop // raster operation code
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
//SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
//SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
if ( (nWidthDest==nWidthSrc) && (nHeightDest==nHeightSrc) )
|
if ( (nWidthDest==nWidthSrc) && (nHeightDest==nHeightSrc) )
|
||||||
{
|
{
|
||||||
return BitBlt(hdcDest,
|
return BitBlt(hdcDest,
|
||||||
nXOriginDest, // x-coord of destination upper-left corner
|
nXOriginDest, // x-coord of destination upper-left corner
|
||||||
nYOriginDest, // y-coord of destination upper-left corner
|
nYOriginDest, // y-coord of destination upper-left corner
|
||||||
nWidthDest, // width of destination rectangle
|
nWidthDest, // width of destination rectangle
|
||||||
nHeightDest, // height of destination rectangle
|
nHeightDest, // height of destination rectangle
|
||||||
hdcSrc, // handle to source DC
|
hdcSrc, // handle to source DC
|
||||||
nXOriginSrc, // x-coordinate of source upper-left corner
|
nXOriginSrc, // x-coordinate of source upper-left corner
|
||||||
nYOriginSrc, // y-coordinate of source upper-left corner
|
nYOriginSrc, // y-coordinate of source upper-left corner
|
||||||
dwRop // raster operation code
|
dwRop // raster operation code
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
DPRINT1("FIXME: StretchBlt can only Blt, not Stretch!\n");
|
DPRINT1("FIXME: StretchBlt can only Blt, not Stretch!\n");
|
||||||
return TRUE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
STDCALL
|
STDCALL
|
||||||
StretchDIBits(HDC hDC,
|
StretchDIBits(HDC hDC,
|
||||||
INT XDest,
|
INT XDest,
|
||||||
INT YDest,
|
INT YDest,
|
||||||
INT DestWidth,
|
INT DestWidth,
|
||||||
INT DestHeight,
|
INT DestHeight,
|
||||||
INT XSrc,
|
INT XSrc,
|
||||||
INT YSrc,
|
INT YSrc,
|
||||||
INT SrcWidth,
|
INT SrcWidth,
|
||||||
INT SrcHeight,
|
INT SrcHeight,
|
||||||
CONST VOID *Bits,
|
CONST VOID *Bits,
|
||||||
CONST BITMAPINFO *BitsInfo,
|
CONST BITMAPINFO *BitsInfo,
|
||||||
UINT Usage,
|
UINT Usage,
|
||||||
DWORD ROP)
|
DWORD ROP)
|
||||||
{
|
{
|
||||||
return NtGdiStretchDIBits(hDC, XDest, YDest, DestWidth, DestHeight, XSrc, YSrc,
|
return NtGdiStretchDIBits(hDC, XDest, YDest, DestWidth, DestHeight, XSrc, YSrc,
|
||||||
SrcWidth, SrcHeight, Bits, BitsInfo, Usage, ROP);
|
SrcWidth, SrcHeight, Bits, BitsInfo, Usage, ROP);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
HBITMAP
|
HBITMAP
|
||||||
STDCALL
|
STDCALL
|
||||||
CreateDIBSection(HDC hDC,
|
CreateDIBSection(HDC hDC,
|
||||||
CONST BITMAPINFO *bmi,
|
CONST BITMAPINFO *bmi,
|
||||||
UINT Usage,
|
UINT Usage,
|
||||||
VOID *Bits,
|
VOID *Bits,
|
||||||
HANDLE hSection,
|
HANDLE hSection,
|
||||||
DWORD dwOffset)
|
DWORD dwOffset)
|
||||||
{
|
{
|
||||||
return NtGdiCreateDIBSection(hDC, bmi, Usage, Bits, hSection, dwOffset);
|
return NtGdiCreateDIBSection(hDC, bmi, Usage, Bits, hSection, dwOffset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
COLORREF
|
COLORREF
|
||||||
STDCALL
|
STDCALL
|
||||||
SetPixel(HDC hDC,
|
SetPixel(HDC hDC,
|
||||||
INT X,
|
INT X,
|
||||||
INT Y,
|
INT Y,
|
||||||
COLORREF Color)
|
COLORREF Color)
|
||||||
{
|
{
|
||||||
return NtGdiSetPixel(hDC, X, Y, Color);
|
return NtGdiSetPixel(hDC, X, Y, Color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOL STDCALL
|
BOOL STDCALL
|
||||||
PatBlt(HDC hDC, INT Top, INT Left, INT Width, INT Height, ULONG Rop)
|
PatBlt(HDC hDC, INT Top, INT Left, INT Width, INT Height, ULONG Rop)
|
||||||
{
|
{
|
||||||
return(NtGdiPatBlt(hDC, Top, Left, Width, Height, Rop));
|
return(NtGdiPatBlt(hDC, Top, Left, Width, Height, Rop));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
WINBOOL
|
WINBOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
PolyPatBlt(HDC hDC,DWORD dwRop,PPATRECT pRects,int cRects,ULONG Reserved)
|
PolyPatBlt(HDC hDC,DWORD dwRop,PPATRECT pRects,int cRects,ULONG Reserved)
|
||||||
{
|
{
|
||||||
return NtGdiPolyPatBlt(hDC,dwRop,pRects,cRects,Reserved);
|
return NtGdiPolyPatBlt(hDC,dwRop,pRects,cRects,Reserved);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
BOOL STDCALL NtGdiExtFloodFill(HDC hDC, INT XStart, INT YStart, COLORREF Color, UINT FillType)
|
BOOL STDCALL NtGdiExtFloodFill(HDC hDC, INT XStart, INT YStart, COLORREF Color, UINT FillType)
|
||||||
BOOL STDCALL NtGdiFloodFill(HDC hDC, INT XStart, INT YStart, COLORREF Fill)
|
BOOL STDCALL NtGdiFloodFill(HDC hDC, INT XStart, INT YStart, COLORREF Fill)
|
||||||
UINT STDCALL NtGdiGetDIBColorTable(HDC hDC, UINT StartIndex, UINT Entries, RGBQUAD *Colors)
|
UINT STDCALL NtGdiGetDIBColorTable(HDC hDC, UINT StartIndex, UINT Entries, RGBQUAD *Colors)
|
||||||
COLORREF STDCALL NtGdiGetPixel(HDC hDC,
|
COLORREF STDCALL NtGdiGetPixel(HDC hDC,
|
||||||
INT XPos,
|
INT XPos,
|
||||||
INT YPos)
|
INT YPos)
|
||||||
BOOL STDCALL NtGdiSetBitmapDimensionEx(HBITMAP hBitmap,
|
BOOL STDCALL NtGdiSetBitmapDimensionEx(HBITMAP hBitmap,
|
||||||
INT Width,
|
INT Width,
|
||||||
INT Height,
|
INT Height,
|
||||||
LPSIZE Size)
|
LPSIZE Size)
|
||||||
UINT STDCALL NtGdiSetDIBColorTable(HDC hDC,
|
UINT STDCALL NtGdiSetDIBColorTable(HDC hDC,
|
||||||
UINT StartIndex,
|
UINT StartIndex,
|
||||||
UINT Entries,
|
UINT Entries,
|
||||||
CONST RGBQUAD *Colors)
|
CONST RGBQUAD *Colors)
|
||||||
BOOL STDCALL NtGdiSetPixelV(HDC hDC,
|
BOOL STDCALL NtGdiSetPixelV(HDC hDC,
|
||||||
INT X,
|
INT X,
|
||||||
INT Y,
|
INT Y,
|
||||||
COLORREF Color)
|
COLORREF Color)
|
||||||
BOOL STDCALL NtGdiStretchBlt(HDC hDCDest,
|
BOOL STDCALL NtGdiStretchBlt(HDC hDCDest,
|
||||||
INT XOriginDest,
|
INT XOriginDest,
|
||||||
INT YOriginDest,
|
INT YOriginDest,
|
||||||
INT WidthDest,
|
INT WidthDest,
|
||||||
INT HeightDest,
|
INT HeightDest,
|
||||||
HDC hDCSrc,
|
HDC hDCSrc,
|
||||||
INT XOriginSrc,
|
INT XOriginSrc,
|
||||||
INT YOriginSrc,
|
INT YOriginSrc,
|
||||||
INT WidthSrc,
|
INT WidthSrc,
|
||||||
INT HeightSrc,
|
INT HeightSrc,
|
||||||
DWORD ROP)
|
DWORD ROP)
|
||||||
|
|
||||||
INT BITMAPOBJ_GetWidthBytes (INT bmWidth, INT bpp)
|
INT BITMAPOBJ_GetWidthBytes (INT bmWidth, INT bpp)
|
||||||
HBITMAP BITMAPOBJ_CopyBitmap(HBITMAP hBitmap)
|
HBITMAP BITMAPOBJ_CopyBitmap(HBITMAP hBitmap)
|
||||||
int DIB_GetDIBWidthBytes(int width, int depth)
|
int DIB_GetDIBWidthBytes(int width, int depth)
|
||||||
int DIB_GetDIBImageBytes (int width, int height, int depth)
|
int DIB_GetDIBImageBytes (int width, int height, int depth)
|
||||||
int DIB_BitmapInfoSize (const BITMAPINFO * info, WORD coloruse)
|
int DIB_BitmapInfoSize (const BITMAPINFO * info, WORD coloruse)
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,85 +1,85 @@
|
||||||
#
|
#
|
||||||
# ReactOS explorer
|
# ReactOS explorer
|
||||||
#
|
#
|
||||||
# Makefile
|
# Makefile
|
||||||
#
|
#
|
||||||
|
|
||||||
PATH_TO_TOP = ../../..
|
PATH_TO_TOP = ../../..
|
||||||
|
|
||||||
TARGET_TYPE = program
|
TARGET_TYPE = program
|
||||||
|
|
||||||
TARGET_APPTYPE = windows
|
TARGET_APPTYPE = windows
|
||||||
|
|
||||||
TARGET_NAME = explorer
|
TARGET_NAME = explorer
|
||||||
|
|
||||||
TARGET_CFLAGS = -g3 -fexceptions -Os -DNDEBUG -DWIN32 -D_ROS_ -Wall -D_WIN32_IE=0x0501 -D_WIN32_WINNT=0x0501
|
TARGET_CFLAGS = -fexceptions -Os -DNDEBUG -DWIN32 -D_ROS_ -Wall -D_WIN32_IE=0x0501 -D_WIN32_WINNT=0x0501
|
||||||
|
|
||||||
TARGET_CPPFLAGS = -g3 -fexceptions -Os -DNDEBUG -DWIN32 -D_ROS_ -Wall -D_WIN32_IE=0x0501 -D_WIN32_WINNT=0x0501
|
TARGET_CPPFLAGS = -fexceptions -Os -DNDEBUG -DWIN32 -D_ROS_ -Wall -D_WIN32_IE=0x0501 -D_WIN32_WINNT=0x0501
|
||||||
|
|
||||||
TARGET_RCFLAGS = -DNDEBUG -DWIN32 -D_ROS_
|
TARGET_RCFLAGS = -DNDEBUG -DWIN32 -D_ROS_
|
||||||
|
|
||||||
ifdef UNICODE
|
ifdef UNICODE
|
||||||
TARGET_CFLAGS += -DUNICODE
|
TARGET_CFLAGS += -DUNICODE
|
||||||
TARGET_CPPFLAGS += -DUNICODE
|
TARGET_CPPFLAGS += -DUNICODE
|
||||||
# MK_DEFENTRY = _wWinMain@16
|
# MK_DEFENTRY = _wWinMain@16
|
||||||
endif
|
endif
|
||||||
|
|
||||||
VPATH += shell
|
VPATH += shell
|
||||||
VPATH += utility
|
VPATH += utility
|
||||||
VPATH += taskbar
|
VPATH += taskbar
|
||||||
VPATH += desktop
|
VPATH += desktop
|
||||||
VPATH += dialogs
|
VPATH += dialogs
|
||||||
|
|
||||||
WINE_MODE = yes
|
WINE_MODE = yes
|
||||||
|
|
||||||
WINE_RC = $(TARGET_NAME)
|
WINE_RC = $(TARGET_NAME)
|
||||||
|
|
||||||
WINE_INCLUDE = ./
|
WINE_INCLUDE = ./
|
||||||
|
|
||||||
TARGET_GCCLIBS = comctl32 ole32 uuid stdc++
|
TARGET_GCCLIBS = comctl32 ole32 uuid stdc++
|
||||||
|
|
||||||
all: buildno.h explorer.exe
|
all: buildno.h explorer.exe
|
||||||
@strip explorer.exe
|
@strip explorer.exe
|
||||||
|
|
||||||
buildno.h: ../../../include/reactos/buildno.h
|
buildno.h: ../../../include/reactos/buildno.h
|
||||||
updatebuildno
|
updatebuildno
|
||||||
|
|
||||||
TARGET_SDKLIBS = \
|
TARGET_SDKLIBS = \
|
||||||
kernel32.a \
|
kernel32.a \
|
||||||
user32.a \
|
user32.a \
|
||||||
gdi32.a \
|
gdi32.a \
|
||||||
advapi32.a \
|
advapi32.a \
|
||||||
version.a
|
version.a
|
||||||
|
|
||||||
TARGET_OBJECTS = \
|
TARGET_OBJECTS = \
|
||||||
startup.o \
|
startup.o \
|
||||||
shellclasses.o \
|
shellclasses.o \
|
||||||
utility.o \
|
utility.o \
|
||||||
window.o \
|
window.o \
|
||||||
dragdropimpl.o \
|
dragdropimpl.o \
|
||||||
shellbrowserimpl.o \
|
shellbrowserimpl.o \
|
||||||
explorer.o \
|
explorer.o \
|
||||||
entries.o \
|
entries.o \
|
||||||
winfs.o \
|
winfs.o \
|
||||||
unixfs.o \
|
unixfs.o \
|
||||||
shellfs.o \
|
shellfs.o \
|
||||||
mainframe.o \
|
mainframe.o \
|
||||||
filechild.o \
|
filechild.o \
|
||||||
pane.o \
|
pane.o \
|
||||||
shellbrowser.o \
|
shellbrowser.o \
|
||||||
desktop.o \
|
desktop.o \
|
||||||
desktopbar.o \
|
desktopbar.o \
|
||||||
taskbar.o \
|
taskbar.o \
|
||||||
startmenu.o \
|
startmenu.o \
|
||||||
traynotify.o \
|
traynotify.o \
|
||||||
quicklaunch.o \
|
quicklaunch.o \
|
||||||
searchprogram.o
|
searchprogram.o
|
||||||
|
|
||||||
include $(PATH_TO_TOP)/rules.mak
|
include $(PATH_TO_TOP)/rules.mak
|
||||||
|
|
||||||
include $(TOOLS_PATH)/helper.mk
|
include $(TOOLS_PATH)/helper.mk
|
||||||
|
|
||||||
# overide LD_CC to use g++ for linking of the executable
|
# overide LD_CC to use g++ for linking of the executable
|
||||||
LD_CC = $(CXX)
|
LD_CC = $(CXX)
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue