Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

108 lines
2.7 KiB

/*++
Copyright (c) 1991 - 2001 Microsoft Corporation
Module Name:
##### #### ### ##### ## ### ## ## ## ##
## ## ## ## # ## ## ## ### ## ## ## ##
## ## ## ### ## ## ## ## ## #### ## ##
## ## ## ### ## ## ## ## ## #### #######
## ## ## ### ##### ## ####### ## ## ##
## ## ## # ## ## ## ## ## ## ## ## ##
##### #### ### ## ##### ## ## ## ## ## ##
Abstract:
This header file contains all the global
definitions for the display device.
Author:
Wesley Witt (wesw) 1-Oct-2001
Environment:
Kernel mode only.
Notes:
--*/
//
// Global defines
//
#define DEFAULT_DISPLAY_WIDTH (128)
#define DEFAULT_DISPLAY_HEIGHT (64)
#define DISPLAY_STARTING_PARAM L"Startup BitMap"
#define DISPLAY_CHECKDISK_PARAM L"CheckDisk BitMap"
#define DISPLAY_READY_PARAM L"Ready BitMap"
#define DISPLAY_SHUTDOWN_PARAM L"Shutdown BitMap"
#define DISPLAY_UPDATE_PARAM L"Update BitMap"
//
// Device extension
//
typedef struct _DISPLAY_DEVICE_EXTENSION : _DEVICE_EXTENSION {
FAST_MUTEX DisplayMutex;
BOOLEAN AllowWrites;
PVOID StartingBitmap;
PVOID CheckDiskBitmap;
PVOID ReadyBitmap;
PVOID ShutdownBitmap;
PVOID UpdateBitmap;
USHORT DisplayType;
USHORT DisplayHeight;
USHORT DisplayWidth;
} DISPLAY_DEVICE_EXTENSION, *PDISPLAY_DEVICE_EXTENSION;
//
// Display specific functions
//
NTSTATUS
SaDisplayLoadAllBitmaps(
IN PDISPLAY_DEVICE_EXTENSION DeviceExtension,
IN PUNICODE_STRING RegistryPath
);
NTSTATUS
SaDisplayClearDisplay(
IN PDISPLAY_DEVICE_EXTENSION DisplayDeviceExtension
);
NTSTATUS
SaDisplayDisplayBitmap(
IN PDISPLAY_DEVICE_EXTENSION DisplayDeviceExtension,
IN PSA_DISPLAY_SHOW_MESSAGE Bitmap
);
NTSTATUS
SaDisplayStartDevice(
IN PDISPLAY_DEVICE_EXTENSION DeviceExtension
);
NTSTATUS
SaDisplayIoValidation(
IN PDISPLAY_DEVICE_EXTENSION DeviceExtension,
IN PIRP Irp,
PIO_STACK_LOCATION IrpSp
);
NTSTATUS
SaDisplayDeviceInitialization(
IN PSAPORT_DRIVER_EXTENSION DriverExtension
);
NTSTATUS
SaDisplayShutdownNotification(
IN PDISPLAY_DEVICE_EXTENSION DeviceExtension,
IN PIRP Irp,
PIO_STACK_LOCATION IrpSp
);