1 | /*␊ |
2 | * __libeg_init.c␊ |
3 | * Chameleon␊ |
4 | *␊ |
5 | * Created by cparm on 22/01/13.␊ |
6 | * Copyright 2013 __MyCompanyName__. All rights reserved.␊ |
7 | *␊ |
8 | */␊ |
9 | ␊ |
10 | #include "stdio.h"␊ |
11 | #include "libegint.h"␊ |
12 | #include <pexpert/i386/modules.h>␊ |
13 | ␊ |
14 | void GUI_diplay_hook(void* arg1, void* arg2, void* arg3, void* arg4, void* arg5, void* arg6);␊ |
15 | void GUI_diplay_hook(void* arg1, void* arg2, void* arg3, void* arg4, void* arg5, void* arg6)␊ |
16 | {␊ |
17 | ␉extern BOOLEAN LoadGui(VOID);␊ |
18 | ␉LoadGui();␊ |
19 | }␊ |
20 | ␊ |
21 | ␊ |
22 | void Libeg_start(void);␊ |
23 | void Libeg_start(void)␊ |
24 | {␉␊ |
25 | ␉␊ |
26 | ␉register_hook_callback("GUI_Display", &GUI_diplay_hook);␉␊ |
27 | } |