Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenvideo.h
Go to the documentation of this file.
00001 /* 00002 * FreeLoader 00003 * Copyright (C) 1998-2003 Brian Palmer <brianp@sginet.com> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License along 00016 * with this program; if not, write to the Free Software Foundation, Inc., 00017 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00018 */ 00019 00020 #pragma once 00021 00022 #include <pshpack1.h> 00023 typedef struct 00024 { 00025 UCHAR Red; 00026 UCHAR Green; 00027 UCHAR Blue; 00028 } PALETTE_ENTRY, *PPALETTE_ENTRY; 00029 #include <poppack.h> 00030 00031 extern PVOID VideoOffScreenBuffer; 00032 00033 USHORT BiosIsVesaSupported(VOID); // Implemented in i386vid.c, returns the VESA version 00034 00035 PVOID VideoAllocateOffScreenBuffer(VOID); // Returns a pointer to an off-screen buffer sufficient for the current video mode 00036 00037 VOID VideoCopyOffScreenBufferToVRAM(VOID); 00038 00039 VOID VideoSavePaletteState(PPALETTE_ENTRY Palette, ULONG ColorCount); 00040 VOID VideoRestorePaletteState(PPALETTE_ENTRY Palette, ULONG ColorCount); 00041 00042 VOID VideoSetAllColorsToBlack(ULONG ColorCount); 00043 VOID VideoFadeIn(PPALETTE_ENTRY Palette, ULONG ColorCount); 00044 VOID VideoFadeOut(ULONG ColorCount); Generated on Fri May 25 2012 04:17:06 for ReactOS by
1.7.6.1
|