2010-01-30 21:12:42 +00:00
|
|
|
|
2015-03-10 00:13:04 +00:00
|
|
|
#pragma once
|
|
|
|
|
2010-01-30 21:12:42 +00:00
|
|
|
#define TAG_GDEV 'gdev'
|
|
|
|
|
2015-03-10 00:13:04 +00:00
|
|
|
extern PGRAPHICS_DEVICE gpPrimaryGraphicsDevice;
|
|
|
|
extern PGRAPHICS_DEVICE gpVgaGraphicsDevice;
|
|
|
|
|
2010-01-30 21:12:42 +00:00
|
|
|
VOID
|
|
|
|
APIENTRY
|
|
|
|
EngFileWrite(
|
2015-03-10 00:13:04 +00:00
|
|
|
_In_ PFILE_OBJECT pFileObject,
|
|
|
|
_In_reads_(nLength) PVOID lpBuffer,
|
|
|
|
_In_ SIZE_T nLength,
|
|
|
|
_Out_ PSIZE_T lpBytesWritten);
|
2010-01-30 21:12:42 +00:00
|
|
|
|
|
|
|
PGRAPHICS_DEVICE
|
|
|
|
NTAPI
|
|
|
|
EngpFindGraphicsDevice(
|
2015-03-10 00:13:04 +00:00
|
|
|
_In_opt_ PUNICODE_STRING pustrDevice,
|
|
|
|
_In_ ULONG iDevNum,
|
|
|
|
_In_ DWORD dwFlags);
|
2010-01-30 21:12:42 +00:00
|
|
|
|
|
|
|
PGRAPHICS_DEVICE
|
|
|
|
NTAPI
|
|
|
|
EngpRegisterGraphicsDevice(
|
2015-03-10 00:13:04 +00:00
|
|
|
_In_ PUNICODE_STRING pustrDeviceName,
|
|
|
|
_In_ PUNICODE_STRING pustrDiplayDrivers,
|
|
|
|
_In_ PUNICODE_STRING pustrDescription,
|
|
|
|
_In_ PDEVMODEW pdmDefault);
|
2010-01-30 21:12:42 +00:00
|
|
|
|
2010-11-03 00:51:19 +00:00
|
|
|
INIT_FUNCTION
|
|
|
|
NTSTATUS
|
2010-01-30 21:12:42 +00:00
|
|
|
NTAPI
|
2011-03-16 21:07:25 +00:00
|
|
|
InitDeviceImpl(VOID);
|
2010-01-30 21:12:42 +00:00
|
|
|
|