ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

vgamp.h
Go to the documentation of this file.
00001 /*
00002  * ReactOS VGA miniport video driver
00003  *
00004  * Copyright (C) 2004 Filip Navara, Herve Poussineau
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License along
00017  * with this program; if not, write to the Free Software Foundation, Inc.,
00018  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00019  */
00020 
00021 #ifndef VGAMP_H
00022 #define VGAMP_H
00023 
00024 /* INCLUDES *******************************************************************/
00025 
00026 #include "ntdef.h"
00027 #include "dderror.h"
00028 #include "devioctl.h"
00029 #include "miniport.h"
00030 #include "ntddvdeo.h"
00031 #include "video.h"
00032 #include "vgavideo.h"
00033 
00034 #define UNIMPLEMENTED \
00035    VideoPortDebugPrint(Error, "WARNING:  %s at %s:%d is UNIMPLEMENTED!\n",__FUNCTION__,__FILE__,__LINE__);
00036 
00037 VOID
00038 InitVGAMode(VOID);
00039 
00040 VP_STATUS NTAPI
00041 VGAFindAdapter(
00042    PVOID DeviceExtension,
00043    PVOID Context,
00044    PWSTR ArgumentString,
00045    PVIDEO_PORT_CONFIG_INFO ConfigInfo,
00046    PUCHAR Again);
00047 
00048 BOOLEAN NTAPI
00049 VGAInitialize(
00050    PVOID DeviceExtension);
00051 
00052 BOOLEAN NTAPI
00053 VGAStartIO(
00054    PVOID DeviceExtension,
00055    PVIDEO_REQUEST_PACKET RequestPacket);
00056 
00057 /*static BOOLEAN NTAPI
00058 VGAInterrupt(PVOID DeviceExtension);*/
00059 
00060 BOOLEAN NTAPI
00061 VGAResetHw(
00062    PVOID DeviceExtension,
00063    ULONG Columns,
00064    ULONG Rows);
00065 
00066 /*static VOID NTAPI
00067 VGATimer(PVOID DeviceExtension);*/
00068 
00069 /* Mandatory IoControl routines */
00070 BOOLEAN
00071 VGAMapVideoMemory(
00072    IN PVOID DeviceExtension,
00073    IN PVIDEO_MEMORY RequestedAddress,
00074    OUT PVIDEO_MEMORY_INFORMATION MapInformation,
00075    OUT PSTATUS_BLOCK StatusBlock);
00076 
00077 BOOLEAN
00078 VGAQueryAvailModes(
00079    OUT PVIDEO_MODE_INFORMATION ReturnedModes,
00080    OUT PSTATUS_BLOCK StatusBlock);
00081 
00082 BOOLEAN
00083 VGAQueryCurrentMode(
00084    OUT PVIDEO_MODE_INFORMATION CurrentMode,
00085    OUT PSTATUS_BLOCK StatusBlock);
00086 
00087 BOOLEAN
00088 VGAQueryNumAvailModes(
00089    OUT PVIDEO_NUM_MODES NumberOfModes,
00090    OUT PSTATUS_BLOCK StatusBlock);
00091 
00092 VOID
00093 VGAResetDevice(OUT PSTATUS_BLOCK StatusBlock);
00094 
00095 BOOLEAN
00096 VGASetColorRegisters(
00097    IN PVIDEO_CLUT ColorLookUpTable,
00098    OUT PSTATUS_BLOCK StatusBlock);
00099 
00100 BOOLEAN
00101 VGASetPaletteRegisters(
00102    IN PUSHORT PaletteRegisters,
00103    OUT PSTATUS_BLOCK StatusBlock);
00104 
00105 BOOLEAN
00106 VGASetCurrentMode(
00107    IN PVIDEO_MODE RequestedMode,
00108    OUT PSTATUS_BLOCK StatusBlock);
00109 
00110 BOOLEAN
00111 VGAShareVideoMemory(
00112    IN PVIDEO_SHARE_MEMORY RequestedMemory,
00113    OUT PVIDEO_MEMORY_INFORMATION ReturnedMemory,
00114    OUT PSTATUS_BLOCK StatusBlock);
00115 
00116 BOOLEAN
00117 VGAUnmapVideoMemory(
00118    IN PVOID DeviceExtension,
00119    IN PVIDEO_MEMORY MemoryToUnmap,
00120    OUT PSTATUS_BLOCK StatusBlock);
00121 
00122 BOOLEAN
00123 VGAUnshareVideoMemory(
00124    IN PVIDEO_MEMORY MemoryToUnshare,
00125    OUT PSTATUS_BLOCK StatusBlock);
00126 
00127 /* Optional IoControl routines */
00128 /* None actually */
00129 
00130 #endif /* VGAMP_H */

Generated on Mon May 28 2012 04:38:00 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.