mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 04:53:00 +00:00
- Fix the build (patch by Thomas Weidenmueller)
svn path=/trunk/; revision=19738
This commit is contained in:
parent
da63a147f4
commit
2a59159ff1
4 changed files with 72 additions and 9 deletions
|
@ -1,11 +1,11 @@
|
|||
#include <ntddk.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
#include "../vgaddi.h"
|
||||
#include "../vgavideo/vgavideo.h"
|
||||
#include "brush.h"
|
||||
#include "bitblt.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
typedef BOOL (*PFN_VGABlt)(SURFOBJ*, SURFOBJ*, XLATEOBJ*, RECTL*, POINTL*);
|
||||
typedef BOOL STDCALL (*PBLTRECTFUNC)(SURFOBJ* OutputObj,
|
||||
SURFOBJ* InputObj,
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#include <ntddk.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
#include "../vgaddi.h"
|
||||
#include "../vgavideo/vgavideo.h"
|
||||
#include "brush.h"
|
||||
#include "bitblt.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
BOOL STDCALL
|
||||
DrvTransparentBlt(SURFOBJ* Dest,
|
||||
SURFOBJ* Source,
|
||||
|
|
|
@ -1,11 +1,62 @@
|
|||
#define _WINBASE_
|
||||
#define _WINDOWS_H
|
||||
#include <stdarg.h>
|
||||
#include <windef.h>
|
||||
#include <guiddef.h>
|
||||
#include <wingdi.h>
|
||||
#include <ddk/ntddk.h>
|
||||
#include <ddk/winddi.h>
|
||||
#include <winioctl.h>
|
||||
#include <ddk/ntddvdeo.h>
|
||||
|
||||
/* FIXME - what a headers mess.... */
|
||||
|
||||
#define DDKAPI __stdcall
|
||||
#define DDKFASTAPI __fastcall
|
||||
#define FASTCALL __fastcall
|
||||
#define DDKCDECLAPI __cdecl
|
||||
|
||||
ULONG DbgPrint(PCH Format,...);
|
||||
VOID DDKAPI DbgBreakPoint(VOID);
|
||||
VOID DDKAPI WRITE_PORT_UCHAR(IN PUCHAR Port, IN UCHAR Value);
|
||||
VOID DDKAPI WRITE_REGISTER_UCHAR(IN PUCHAR Register, IN UCHAR Value);
|
||||
UCHAR DDKAPI READ_REGISTER_UCHAR(IN PUCHAR Register);
|
||||
|
||||
static __inline BOOLEAN
|
||||
RemoveEntryList(
|
||||
IN PLIST_ENTRY Entry)
|
||||
{
|
||||
PLIST_ENTRY OldFlink;
|
||||
PLIST_ENTRY OldBlink;
|
||||
|
||||
OldFlink = Entry->Flink;
|
||||
OldBlink = Entry->Blink;
|
||||
OldFlink->Blink = OldBlink;
|
||||
OldBlink->Flink = OldFlink;
|
||||
return (OldFlink == OldBlink);
|
||||
}
|
||||
|
||||
static __inline VOID
|
||||
InsertHeadList(
|
||||
IN PLIST_ENTRY ListHead,
|
||||
IN PLIST_ENTRY Entry)
|
||||
{
|
||||
PLIST_ENTRY OldFlink;
|
||||
OldFlink = ListHead->Flink;
|
||||
Entry->Flink = OldFlink;
|
||||
Entry->Blink = ListHead;
|
||||
OldFlink->Blink = Entry;
|
||||
ListHead->Flink = Entry;
|
||||
}
|
||||
|
||||
static __inline VOID
|
||||
InitializeListHead(
|
||||
IN PLIST_ENTRY ListHead)
|
||||
{
|
||||
ListHead->Flink = ListHead->Blink = ListHead;
|
||||
}
|
||||
|
||||
/***********************************************************/
|
||||
|
||||
#define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24))
|
||||
|
||||
#define DS_SOLIDBRUSH 0x00000001
|
||||
|
|
|
@ -1,11 +1,23 @@
|
|||
#define _WINBASE_
|
||||
#define _WINDOWS_H
|
||||
#include <stdarg.h>
|
||||
#include <windef.h>
|
||||
#include <guiddef.h>
|
||||
#include <wingdi.h>
|
||||
#include <ddk/ntddk.h>
|
||||
#include <ddk/ntddvdeo.h>
|
||||
#include <ddk/winddi.h>
|
||||
#include <winioctl.h>
|
||||
#include <ddk/ntddvdeo.h>
|
||||
#include <stdlib.h>
|
||||
#include "vgavideo.h"
|
||||
|
||||
#define DDKAPI __stdcall
|
||||
#define DDKFASTAPI __fastcall
|
||||
#define FASTCALL __fastcall
|
||||
#define DDKCDECLAPI __cdecl
|
||||
|
||||
VOID DDKAPI WRITE_PORT_UCHAR(IN PUCHAR Port, IN UCHAR Value);
|
||||
VOID DDKAPI WRITE_PORT_USHORT(IN PUSHORT Port, IN USHORT Value);
|
||||
|
||||
UCHAR PreCalcReverseByte[256];
|
||||
int maskbit[640];
|
||||
int y80[480];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue