source: trunk/include/custombuild.h@ 7251

Last change on this file since 7251 was 7251, checked in by sandervl, 24 years ago

customization updates

File size: 1.3 KB
Line 
1#ifndef __CUSTOMBUILD_H__
2#define __CUSTOMBUILD_H__
3
4//HKEY_LOCAL_MACHINE
5#define CUSTOM_BUILD_OPTIONS_KEY "System\\CustomBuild"
6#define DISABLE_AUDIO_KEY "DisableAudio"
7
8extern BOOL fCustomBuild;
9
10void InitDirectoriesCustom(char *szSystemDir, char *szWindowsDir);
11
12void DisableOdinIni();
13void DisableOdinSysMenuItems();
14
15
16typedef HANDLE (* WIN32API PFNDRVOPEN)(DWORD dwAccess, DWORD dwShare);
17typedef void (* WIN32API PFNDRVCLOSE)(HANDLE hDevice);
18typedef BOOL (* WIN32API PFNDRVIOCTL)(HANDLE hDevice, DWORD dwIoControlCode,
19 LPVOID lpInBuffer, DWORD nInBufferSize,
20 LPVOID lpOutBuffer, DWORD nOutBufferSize,
21 LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped);
22
23BOOL WIN32API RegisterCustomDriver(PFNDRVOPEN pfnDriverOpen, PFNDRVCLOSE pfnDriverClose,
24 PFNDRVIOCTL pfnDriverIOCtl, LPCSTR lpDeviceName);
25
26
27//SetDialogHook can be used by a custom Odin build to register a hook procedure
28//that gets called before or after dialog creation
29
30#define HCUSTOM_PREDIALOGCREATION 0
31#define HCUSTOM_POSTDIALOGCREATION 1
32
33BOOL WIN32API SetDialogHook(HOOKPROC pfnDialogProc);
34BOOL WIN32API ClearDialogHook();
35
36
37//Set the default language in kernel32
38void WIN32API SetDefaultLanguage(DWORD deflang);
39
40
41#endif /*__CUSTOMBUILD_H__*/
42
Note: See TracBrowser for help on using the repository browser.