mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 04:11:30 +00:00
60 lines
963 B
C
60 lines
963 B
C
|
|
extern IMAGE_DOS_HEADER __ImageBase;
|
|
|
|
static const unsigned GDI_ENGINE_VERSION = DDI_DRIVER_VERSION_NT5_01;
|
|
|
|
typedef enum
|
|
{
|
|
LDEV_DEVICE_DISPLAY = 1,
|
|
LDEV_DEVICE_PRINTER = 2,
|
|
LDEV_DEVICE_META = 3,
|
|
LDEV_DEVICE_MIRROR = 4,
|
|
LDEV_IMAGE = 5,
|
|
LDEV_FONT = 6,
|
|
} LDEVTYPE;
|
|
|
|
typedef struct _LDEVOBJ
|
|
{
|
|
LIST_ENTRY leLink;
|
|
SYSTEM_GDI_DRIVER_INFORMATION *pGdiDriverInfo;
|
|
LDEVTYPE ldevtype;
|
|
ULONG cRefs;
|
|
ULONG ulDriverVersion;
|
|
|
|
union
|
|
{
|
|
PVOID apfn[INDEX_LAST];
|
|
DRIVER_FUNCTIONS pfn;
|
|
};
|
|
|
|
} LDEVOBJ, *PLDEVOBJ;
|
|
|
|
INIT_FUNCTION
|
|
NTSTATUS
|
|
NTAPI
|
|
InitLDEVImpl(VOID);
|
|
|
|
PDEVMODEINFO
|
|
NTAPI
|
|
LDEVOBJ_pdmiGetModes(
|
|
_In_ PLDEVOBJ pldev,
|
|
_In_ HANDLE hDriver);
|
|
|
|
PLDEVOBJ
|
|
APIENTRY
|
|
EngLoadImageEx(
|
|
_In_z_ LPWSTR pwszDriverName,
|
|
_In_ ULONG ldevtype);
|
|
|
|
PLDEVOBJ
|
|
NTAPI
|
|
EngGetLDEV(
|
|
PDEVMODEW pdm);
|
|
|
|
NTSTATUS
|
|
APIENTRY
|
|
DriverEntry (
|
|
_In_ PDRIVER_OBJECT DriverObject,
|
|
_In_ PUNICODE_STRING RegistryPath);
|
|
|