1 /* $Id: dllmain.c,v 1.11 2000/02/20 22:52:50 ea Exp $
3 * Entry Point for win32k.sys
6 #undef WIN32_LEAN_AND_MEAN
7 #define WIN32_NO_STATUS
10 #include <ddk/winddi.h>
11 #include <internal/service.h>
12 #include <internal/hal.h>
14 #include <win32k/win32k.h>
17 * NOTE: the table is actually in the file ./svctab.c,
18 * generated by iface/addsys/mktab.c + w32ksvc.db
23 * This definition doesn't work
25 // WINBOOL STDCALL DllMain(VOID)
29 IN PDRIVER_OBJECT DriverObject
,
30 IN PUNICODE_STRING RegistryPath
36 * Register user mode call interface
37 * (svc mask is 0x10000000)
39 Status
= HalRegisterServiceTable (
43 sizeof (W32kServiceTable
)
44 / sizeof(W32kServiceTable
[0])
46 if (!NT_SUCCESS(Status
))